We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Cohere: Command A
cohere/command-aTry Cohere: Command A now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Cohere: Command A at a glance
- Input price is 456% higher than the median of 434 Text models.
- Context window of 256,000 tokens, enough for long documents and multi-turn conversations.
- Supports structured JSON output with a schema.
- A typical request (1,000 input / 500 output tokens) costs about $0.03.
About Cohere: Command A
Command A is a text generation model from Cohere, released by the provider on 13 March 2025. It is an open-weights model with 111 billion parameters, positioned by Cohere for agentic, multilingual and coding work. On api14 it appears under the model id cohere/command-a and sits in the text category, so it is intended for language tasks rather than image, audio or video handling.
The model accepts text as input and returns text as output. Its context window is 256,000 tokens, which allows very long prompts, large documents or extended conversation histories to be sent in a single request. The maximum output length is 8,192 tokens, so responses are capped well below the input capacity. Its knowledge cutoff is 31 August 2024, meaning events and information after that date are not part of what the model learned during training.
Those characteristics point to a few practical uses. The large context window suits tasks that involve reading and reasoning over long inputs, such as summarising lengthy reports, answering questions against a large body of text, or working through multi step agentic workflows where the model must track state across many turns. The multilingual focus makes it a reasonable choice for applications serving users in more than one language, including translation style tasks and cross lingual question answering. The coding emphasis means it can be used for code generation, explanation and review within a text based pipeline. Because only text is supported, it fits chat assistants, document processing and developer tooling rather than anything requiring vision or audio.
You call the model through api14's OpenAI-compatible API using the model id cohere/command-a. The supported request parameters are frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, top_k and top_p. That set covers the usual sampling controls (temperature, top_p, top_k), repetition controls (frequency and presence penalties), output length via max_tokens, stopping conditions via stop, deterministic sampling via seed, and output shaping through response_format and structured_outputs. If you already use an OpenAI style client, you can point it at api14 and change the model id.
Two limits are worth keeping in mind when choosing. The model is text only, so if your task depends on images or audio, a different model is needed. The 8,192 token output cap also means very long generations must be split across multiple requests or handled with a model that allows longer responses. Finally, the knowledge cutoff of 31 August 2024 means questions about more recent events should be answered with retrieved context rather than relying on the model's internal knowledge.
How to call the Cohere: Command A API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "cohere/command-a".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "cohere/command-a",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_pSpecifications
- Context length
- 256,000
- Max output
- 8,192
- Input
- text
- Output
- text
- Knowledge cutoff
- 2024-08-31
Requests on api14 · last 7 days
Cohere: Command A: frequently asked questions
- How much does the Cohere: Command A API cost?
- Cohere: Command A costs Input $8.75 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Cohere: Command A?
- Cohere: Command A reads up to 256,000 tokens per request: prompt, history and documents together. It writes up to 8,192 output tokens per response.
- What can Cohere: Command A do?
- Cohere: Command A accepts text and returns text. It supports structured JSON output.
- How do I call Cohere: Command A from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "cohere/command-a". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Cohere: Command A?
- Comparable Text models at a similar price: OpenAI: GPT-4o (2024-11-20), Cohere: Command R+ (08-2024), OpenAI: GPT-4o (2024-08-06). Each runs through the same API key, so switching is one string.
Cohere: Command A community
New topicThis community has no topics yet. Open the first one about Cohere: Command A.