co
Cohere: Command R (08-2024)
cohere/command-r-08-2024
AvailableCoheretext intext out
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. More broadly, it is better at math, code and reasoning and...
Context
128K
tokens in
Max output
4.0K
tokens out
Price
$0.150 / $0.600
per 1M in / out
Quick start
curl https://api.token265.com/v1/chat/completions \
-H "Authorization: Bearer ${OPENROUTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "cohere/command-r-08-2024",
"messages": [{"role": "user", "content": "hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
model="cohere/command-r-08-2024",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p