Haimaker.ai Logo
Cohere logo

Command A

cohere/command-a
Chat

Command A (cohere/command-a) is an AI model from Cohere with a 256,000-token context window and 8,192 max output tokens, priced at $2.50/1M input and $10.00/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Context Window
256K
tokens
Max Output
8K
tokens
Input Price
$2.50
/1M tokens
Output Price
$10.00
/1M tokens

Overview

Command A is a chat model by Cohere. It supports a 256K token context window.

Features & Capabilities

Modechat
Context Window256,000 tokens
Max Output8,192 tokens
Function Calling-
Vision-
Reasoning-
Web Search-
Url Context-

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="cohere/command-a",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Frequently Asked Questions

What is the context window of Command A?

Command A (cohere/command-a) has a 256,000-token context window and supports up to 8,192 output tokens per request.

How much does Command A cost?

Command A is priced at $2.50 per 1M input tokens and $10.00 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

How do I use Command A via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "cohere/command-a" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Use Command A with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Cohere