cohere/command-a
256,000 context · $2.50/M input tokens · $10.00/M output tokens
Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary...
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-a",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cohere command-a
| Specification | Value |
|---|---|
| Provider | Cohere |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 256000 tokens |
| Max Output | 8192 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $2.7 |
| Output | $11.0 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: cohere/command-a
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-a",
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-a",
"messages": [{"role": "user", "content": "Hello!"}]
}'
cohere/command-a
Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary...
Entrada
$2.5 /M
Salida
$10 /M
Contexto
256K
Salida máx.
8K
Accede a Command A mediante nuestra API unificada — compatible con OpenAI, sin arranques en frío, precios transparentes.
Precios en WaveSpeedAI: $2.50 por millón de tokens de entrada y $10.00 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 A admite hasta 256K tokens de contexto y hasta 8K tokens de salida por solicitud.
Sí. WaveSpeedAI expone Command A 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 A antes de pagar por token.