Cohere: Command R (08-2024)
command-r-08-2024 is an update of the Command R with improved performance for multilingual retrieval-augmented generation (RAG) and tool use.
- Input
- 54,656 Toman/M tokens
- Output
- 218,624 Toman/M tokens
- Context
- 128K
- Max output
- 4K
- Published
- Aug 30, 2024
- Maker
- Cohere
Free plan prices, in Toman at today's rate. Plans and prices
Price by plan
Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.
| Plan | Input | Output |
|---|---|---|
| Free | 54,656 | 218,624 |
| Pro | 52,416 | 209,664 |
| Max | 50,176 | 200,704 |
Capabilities
- Text
- Tools
- JSON
What it takes and gives
Accepts
- Text
Creates
- Text
Call it
Pass cohere/command-r-08-2024 as the model name, or let router/auto choose for you.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.fluxcdn.cloud/api/v1",
api_key=os.environ["FLUXCDN_API_KEY"],
)
resp = client.chat.completions.create(
model="router/auto",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
