cohere logo
cohere

Cohere: Command R (08-2024)

command-r-08-2024 is an update of the [Command R](/models/cohere/command-r) with improved performance for multilingual retrieval-augmented generation (RAG) and tool use. $0.15 per million input tokens, $0.60 per million output tokens. 128,000 token context window, maximum output of 4,000 tokens.

Overview

Model specifications

Context
128,000 tokens
Maximum output
4,000 tokens
Architecture
text->text
Tokenizer
Cohere
Knowledge cutoff
2024-03-31
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.15
/M tokens
Output
$0.6
/M tokens
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"cohere/command-r-08-2024","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
text
Output
text
API

Supported API parameters

frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Cohere

unknown
Context
128K
Maximum output
4K
Input
$0.150
Output
$0.600
Cache read
Not provided
Cache write
Not provided
cohere

models

All models