Cohere
Command A
Tuned for document-based answers and tool use.
cohere/command-a- Input → Output
- Text/Text → Text/Text
- Maximum input
- 128K tokens
- Provider
- 1
- Tool invocation
- Yes
Price per million tokens
- Input
- 4,050 credits
- Output
- 16,200 credits
Provider
Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.
| Provider | Input / 1M | Output / 1M | Cache read | First token | Throughput | Uptime |
|---|---|---|---|---|---|---|
| Microsoft Foundry | 4,050 credits | 16,200 credits | - | - | - | - |
Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.
Use the API
from openai import OpenAI
client = OpenAI(
base_url="https://alprouter.com/api/v1",
api_key="alp-your-key",
)
answer = client.chat.completions.create(
model="cohere/command-a",
messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)Details
- Maximum input
- 128K tokens
- Scheduled retirement
- 2027.02.16 (date set by the provider)
- Maximum output
- 8K tokens
- Tool invocation
- Supported
- Supported input
- Text/Text
- Output
- Text/Text
- Provider
- Microsoft Foundry
- Supported parameters
- max_completion_tokens, max_tokens, parallel_tool_calls, response_format, seed, stop, stream, temperature, tool_choice, tools, top_p
Frequently asked questions
What kind of model is Command A?
A model from Cohere. Tuned for document-based answers and tool use. Model ID on AlpRouter: cohere/command-a
How much does Command A cost?
Per million tokens: 4,050 credits input, 16,200 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.
How much input does Command A accept?
Each request accepts up to 128K tokens. The maximum output is 8K tokens.
What input and output does Command A support?
Send Text/Text to receive Text/Text.
Does Command A support tool calling and structured JSON?
Tool calling: Supported. Structured output (response_format): Supports the json_object, json_schema format..
Which providers handle Command A requests?
Microsoft Foundry handles these requests.
How do I call Command A from code?
Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (cohere/command-a). There’s an example of how to do this in the “Using the API” section above.