Cohere: Command R (08-2024)
cohere/command-r-08-2024
Access Command R (08-2024) from Cohere using Puter.js AI API.
Get Started// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms", {
model: "cohere/command-r-08-2024"
}).then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "cohere/command-r-08-2024"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.puter.com/puterai/openai/v1/",
api_key="YOUR_PUTER_AUTH_TOKEN",
)
response = client.chat.completions.create(
model="cohere/command-r-08-2024",
messages=[
{"role": "user", "content": "Explain quantum computing in simple terms"}
],
)
print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
-d '{
"model": "cohere/command-r-08-2024",
"messages": [
{"role": "user", "content": "Explain quantum computing in simple terms"}
]
}'
Model Card
Command R 08-2024 is a 32-billion-parameter generative language model from Cohere, optimized for complex reasoning, retrieval-augmented generation, multilingual tasks, and tool use across a 128K token context window.
Compared to its predecessor, this version delivers approximately 50% higher throughput and 20% lower latency while showing competitive performance on math, code, and reasoning tasks. It supports 23 languages.
For API developers, it is a practical mid-tier option that balances capability and cost — well-suited for question answering, summarization, and RAG-based applications.
Context Window 128K
tokens
Max Output 4K
tokens
Input Cost $0.15
per million tokens
Output Cost $0.6
per million tokens
Release Date Aug 15, 2024
Model Playground
Try Command R (08-2024) instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.
More AI Models From Cohere
Command A
Command A is Cohere's flagship enterprise language model with 111 billion parameters and a 256K token context window, released in March 2025. Built for complex agentic workflows, it leads on tool-use benchmarks including BFCL-v3 and Tau-bench, and performs on par with GPT-4o on MMLU and SQL tasks. It is particularly strong at multi-step tool calling — including knowing when not to invoke a tool, a critical quality for production agents. Supporting 23 languages with 150% higher throughput than Command R+, it's a strong choice for developers building RAG pipelines, autonomous agents, or multilingual enterprise applications.
ChatCommand R7B (12-2024)
Command R7B is Cohere's smallest and fastest model in the R series, with 7 billion parameters and a 128K token context window. Despite its compact size, it ranked first among similarly-sized open-weights models on the HuggingFace Open LLM Leaderboard, leading across IFEval, BBH, GPQA, MuSR, and MMLU. It supports native tool use, multi-step agentic workflows, and RAG across 23 languages, with particular strength in code tasks including SQL and code translation. For API developers, it's the best option when latency and cost are priorities and a full-scale model isn't required.
ChatCommand R+ (08-2024)
Command R+ 08-2024 is Cohere's 104-billion-parameter enterprise-grade language model, updated in August 2024 with enhanced multi-step tool use, improved instruction following, and stronger structured data analysis. Benchmark scores include 80 on MMLU, 50 on HumanEval, and 88 on GSM8K. On public tool-use benchmarks, the Command R+ line has outperformed GPT-4-Turbo. It supports a 128K context window and 23 languages. Developers building complex pipelines that require reliable tool orchestration and citation-quality RAG will find it a strong fit for demanding agentic and enterprise use cases.
Frequently Asked Questions
You can access Command R (08-2024) by Cohere through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.
Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Command R (08-2024) to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.
| Price per 1M tokens | |
|---|---|
| Input | $0.15 |
| Output | $0.6 |
Command R (08-2024) was created by Cohere and released on Aug 15, 2024.
Command R (08-2024) supports a context window of 128K tokens. For reference, that is roughly equivalent to 256 pages of text.
Command R (08-2024) can generate up to 4K tokens in a single response.
Yes — the Command R (08-2024) API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add Command R (08-2024) to your app without worrying about API keys or setup.
Read the Docs View Tutorials