Skip to content

Cohere: Command R (08-2024)

CohereModerated
cohere/command-r-08-2024

About this model

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...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "cohere/command-r-08-2024",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

0.498 TND

per 1M tokens

Output tokens

1.994 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 1.495 TND.

Specifications

Provider
Cohere
Context window
128,000 tokens
Input modality
Text
Added
Aug 30, 2024
Supported parameters
frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperature