> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Command A

> Cohere 多語言模型，適合企業對話、檢索增強生成和工具工作流。

Cohere 多語言模型，適合企業對話、檢索增強生成和工具工作流。

## 模型資訊

| 欄位           | 說明                        |
| ------------ | ------------------------- |
| `model`      | command-a-03-2025         |
| `context`    | 256K tokens               |
| `max output` | 8K tokens                 |
| `endpoint`   | POST /v1/chat/completions |

上下文和輸出長度為模型規格；實際請求限制、可用性與計費取決於 MixRoute 路由。

## 能力與使用

* 使用 command-a-03-2025，與 Command A+ 是不同模型。
* 本接入使用文本 messages；僅切換 Chat Completions 的 model 不會自動啟用 Cohere 原生 documents/citations 功能。

## 請求示例

呼叫前設定 `MIXROUTE_API_KEY`。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/chat/completions" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "command-a-03-2025",
  "messages": [
    {
      "role": "user",
      "content": "Explain the tradeoffs of database indexes."
    }
  ],
  "max_tokens": 1024
}'
```

## 請求欄位

| 欄位           | 說明                        |
| ------------ | ------------------------- |
| `model`      | 必填，使用上方完整模型 ID。           |
| `messages`   | 必填，會話訊息包含 role 和 content。 |
| `max_tokens` | 可選，輸出 token 預算。           |

完整請求格式見[介面說明](/zh-hant/api-reference/endpoint/chat-openai)。
