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. More broadly, it is better at math, code and reasoning and...
Context
128k tokens
Input / 1M tokens
$0.15
Output / 1M tokens
$0.60
Benchmark
—
Pricing
Input tokens$0.15 per 1M tokens
Output tokens$0.60 per 1M tokens
Technical details
Model IDcohere/command-r-08-2024
Context window128k tokens
Input modalitiestext
Output modalitiestext
TokenizerCohere
Max output tokens4,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'cohere/command-r-08-2024',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Cohere: Command R (08-2024)?
Get an API key and start making requests in minutes.
Get an API key