Command R
Cohere's mid-tier RAG-optimized model, affordable and reliable on retrieval workloads.
Updated
Quick facts
- Released
- Mar 2024
- Context
- 128K tokens
- Output / 1M
- $1.50 / 1M tokens
- License
- CC-BY-NC 4.0
About Command R
Command R is Cohere's mid-tier RAG model and the practical option when Command R+ is overkill. Same RAG and tool-use ergonomics, lower cost, smaller context window.
For enterprise customers already on Cohere infrastructure, Command R is the first tier most workloads start at. Most graduate to Command R+ only when retrieval quality plateaus.
Benchmarks
Published scores from Cohere's model card or independent leaderboards. We do not publish numbers we cannot source, see methodology.
Capabilities
Strengths
- Cheap RAG
- Reliable tool-use
Tracked weaknesses
- Quality below frontier
Pricing
Per-million-token rates as published by Cohere.
| Tier | Price | Notes |
|---|---|---|
| Input | $0.50 / 1M tokens | Tokens you send to the model |
| Output | $1.50 / 1M tokens | Tokens the model generates |
| Context | 128K tokens | Max combined input + output |
Call Command R from your code
Drop-in snippet for the Cohere SDK. Set your API key in the environment and run.
import OpenAI from "openai";
const client = new OpenAI({
// Use OPENAI_API_KEY for OpenAI, or your provider's key + baseURL.
apiKey: process.env.OPENAI_API_KEY,
});
const completion = await client.chat.completions.create({
model: "command-r",
messages: [
{ role: "user", content: "What's the time complexity of quicksort?" },
],
});
console.log(completion.choices[0].message.content);Compare Command R with…
Frequently asked
How much does Command R cost per million tokens?
Command R is priced at $0.50 / 1M tokens for input tokens and $1.50 / 1M tokens for output tokens via the official Cohere API at the time of writing.What is Command R's context window?
Command R supports a context window of 128K tokens.Is Command R open source?
Command R ships with open weights under the CC-BY-NC 4.0 license. You can self-host it, fine-tune it, and (subject to the license terms) deploy it commercially.When was Command R released?
Command R was released on Mar 11, 2024 by Cohere.
Intelligence, distilled weekly.
One short email every Friday, new model launches, leaderboard moves, and pricing drops. Curated by hand. Free, no spam.