---
title: Cohere: Command A API | Text Generation | ModelsLab
description: Build with Cohere: Command A API by Cohere. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/cohere/cohere-command-a/api.md
canonical: https://modelslab.com/models/cohere/cohere-command-a/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:01:02.518331Z
---

Cohere: Command A
---

 [LLMs.txt](https://modelslab.com/models/open_router/cohere-command-a/llms.txt) [.md](https://modelslab.com/models/cohere/cohere-command-a.md)

cohere-command-a cohere Closed Source Model $6.250000 / call

Cohere: Command A
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Cohere: Command A

cohere cohere-command-a

Copy model ID

PricingInput $2.50 / 1M tokens

Output $10.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[Q2](https://modelslab.com/models/together_ai/Qwen-Qwen3-235B-A22B-fp8)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 235B A22B FP8

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-235B-A22B-fp8)

[ML](https://modelslab.com/models/meta/meta-llama-Llama-3.3-70B-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.3 70B Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Llama-3.3-70B-Instruct-Turbo)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-vl-32b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 VL 32B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-vl-32b-instruct)

[DR](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1)[Together AI](https://modelslab.com/models/together_ai)

 [DeepSeek R1-0528

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1)

[![GPT-5-mini](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0bda788d-705d-4cbd-9c9d-dcdaa12b9493.webp)](https://modelslab.com/models/openai/gpt-5-mini)[Open Ai](https://modelslab.com/models/openai)

 [GPT-5-mini

Closed Source Model](https://modelslab.com/models/openai/gpt-5-mini)

[OG](https://modelslab.com/models/open_router/openai-gpt-oss-120b)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: gpt-oss-120b

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-oss-120b)

[MM](https://modelslab.com/models/open_router/mistralai-ministral-3b-2512)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Ministral 3 3B 2512

Closed Source Model](https://modelslab.com/models/open_router/mistralai-ministral-3b-2512)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-3.2-3b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3.2 3B Instruct

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-3.2-3b-instruct)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2.5)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2.5

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2.5)

[G3](https://modelslab.com/models/together_ai/google-gemma-3-27b-pt)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 3 27B Pt

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-3-27b-pt)

[QC](https://modelslab.com/models/open_router/qwen-qwen-2.5-coder-32b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen2.5 Coder 32B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen-2.5-coder-32b-instruct)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder 480B A35B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder)

[GG](https://modelslab.com/models/open_router/google-gemini-2.5-pro-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 2.5 Pro Preview 06-05

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-2.5-pro-preview)

[![Arcee AI: Virtuoso Large](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/9a2e71d3-3c00-4738-a62c-be4c7eb02beb.png)](https://modelslab.com/models/open_router/arcee-ai-virtuoso-large)[Open Router](https://modelslab.com/models/open_router)

 [Arcee AI: Virtuoso Large

Closed Source Model](https://modelslab.com/models/open_router/arcee-ai-virtuoso-large)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4.1-fast)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4.1 Fast

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4.1-fast)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4-fast)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4 Fast

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4-fast)

[XG](https://modelslab.com/models/open_router/x-ai-grok-3-mini-beta)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3 Mini Beta

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-3-mini-beta)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-vl-8b-thinking)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 VL 8B Thinking

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-vl-8b-thinking)

About 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...

### Technical Specifications

Model IDcohere-command-aCategoryLLM ModelsTaskText GenerationPrice$6.250000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Cohere: Command A into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "cohere-command-a",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/cohere/cohere-command-a/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Cohere: Command A API costs $6.250000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Cohere](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Cohere: Command A FAQ
---

### What is 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...

### How do I use the Cohere: Command A API?

You can integrate Cohere: Command A into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "cohere-command-a" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Cohere: Command A cost?

Cohere: Command A costs $6.250000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Cohere: Command A model ID?

The model ID for Cohere: Command A is "cohere-command-a". Use this ID in your API requests to specify this model.

### Does Cohere: Command A have a free tier?

Yes, ModelsLab offers a free tier that lets you try Cohere: Command A and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*