Cohere: Command R (08-2024)

cohere/command-r-08-2024

Created Aug 30, 2024128,000 context
$0.15/M input tokens$0.60/M output tokens

command-r-08-2024 is an update of the Command R with improved performance for multilingual retrieval-augmented generation (RAG) and tool use. More broadly, it is better at math, code and reasoning and is competitive with the previous version of the larger Command R+ model.

Read the launch post here.

Use of this model is subject to Cohere's Usage Policy and SaaS Agreement.

Providers for Command R (08-2024)

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Context
128K
Max Output
4K
Input
$0.15
Output
$0.60

Throughput

Latency

Apps using Command R (08-2024)

Top public apps this week using this model

1.
Secret Desires AI
new
41.4Mtokens
2.
Miniapps.ai
Create and use mini AI-powered apps
27.8Mtokens
3.
Secret Desires AI
Build your perfect partner
25.2Mtokens
4.
SAID Cultural Dataset Localization
new
15Mtokens
5.
TenderManager
new
5.88Mtokens
6.
SillyTavern
LLM frontend for power users
5.09Mtokens
7.
Lucidpic
new
4.55Mtokens
8.
Mantella
Skyrim & Fallout 4 mod, naturally speak to NPCs
3.71Mtokens
9.
Immersive erotic roleplay augmented with e-stim
new
2.81Mtokens
10.
Chub AI
GenAI for everyone
2.45Mtokens
11.
AI Writing Companion
new
1.81Mtokens
12.
novelcrafter
Your personal novel writing toolbox. Plan, write and tinker with your story.
1.37Mtokens
13.
Future Fiction Academy (Raptor Write)
new
788Ktokens
14.
OpenRouter: Chatroom
Chat with multiple LLMs at once
694Ktokens
15.
Roo Code
A whole dev team of AI agents in your editor
580Ktokens
16.
liteLLM
Open-source library to simplify LLM calls
550Ktokens
17.
Dwemer Dynamics
new
488Ktokens
18.
Cherry Studio
new
464Ktokens
19.
avante.nvim
new
179Ktokens
20.
RisuAI
Browse characters, choose models, and chat
152Ktokens

Recent activity on Command R (08-2024)

Tokens processed per day

Jan 30Feb 5Feb 11Feb 17Feb 23Mar 1Mar 7Mar 13Mar 19Mar 25Mar 31Apr 6Apr 12Apr 18Apr 24Apr 300250M500M750M1B

Uptime stats for Command R (08-2024)

Uptime stats for Command R (08-2024) on the only provider

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it.

Learn more about our load balancing and customization options.

Sample code and API for Command R (08-2024)

OpenRouter normalizes requests and responses across providers for you.

OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

from openai import OpenAI

client = OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="<OPENROUTER_API_KEY>",
)

completion = client.chat.completions.create(
  extra_headers={
    "HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
    "X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
  },
  extra_body={},
  model="cohere/command-r-08-2024",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.

More models from Cohere

    Cohere: Command R (08-2024) – Overview | OpenRouter