cohere/command-r-08-2024
128,000 context · $0.15/M input tokens · $0.60/M output tokens
command-r-08-2024 is an update of the 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...
Pago por uso
Sin costos iniciales, paga solo por lo que uses
Usa los siguientes ejemplos de código para integrar con nuestra API:
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="cohere/command-r-08-2024",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cohere command-r-08-2024
| Specification | Value |
|---|---|
| Provider | Cohere |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 128000 tokens |
| Max Output | 4000 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $0.2 |
| Output | $0.7 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: cohere/command-r-08-2024
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="cohere/command-r-08-2024",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "cohere/command-r-08-2024",
"messages": [{"role": "user", "content": "Hello!"}]
}'
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. More broadly, it is better at math, code and reasoning and...
Entrada
$0.15 /M
Salida
$0.6 /M
Contexto
128K
Salida máx.
4K
Uso de herramientas
Compatible
Accede a Command R 08 2024 mediante nuestra API unificada — compatible con OpenAI, sin arranques en frío, precios transparentes.
Precios en WaveSpeedAI: $0.15 por millón de tokens de entrada y $0.60 por millón de tokens de salida. El prompt caching y el procesamiento por lotes se facturan por separado y reducen el coste efectivo en cargas largas y repetitivas.
Command R 08 2024 admite hasta 128K tokens de contexto y hasta 4K tokens de salida por solicitud.
Sí. WaveSpeedAI expone Command R 08 2024 a través de un endpoint compatible con OpenAI en https://llm.wavespeed.ai/v1. Apunta el SDK oficial de OpenAI a esta base URL con tu clave API de WaveSpeedAI — sin más cambios de código.
Inicia sesión en WaveSpeedAI, crea una clave API en Access Keys y envía una solicitud a https://llm.wavespeed.ai/v1/chat/completions con el id de modelo mostrado arriba. Las cuentas nuevas reciben créditos gratuitos para evaluar Command R 08 2024 antes de pagar por token.