模型資訊
上下文和輸出長度為模型規格;實際請求限制、可用性與計費取決於 MixRoute 路由。
能力與使用
- 使用 command-a-03-2025,與 Command A+ 是不同模型。
- 本接入使用文本 messages;僅切換 Chat Completions 的 model 不會自動啟用 Cohere 原生 documents/citations 功能。
請求示例
呼叫前設定MIXROUTE_API_KEY。
請求欄位
完整請求格式見介面說明。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cohere 多語言模型,適合企業對話、檢索增強生成和工具工作流。
| 欄位 | 說明 |
|---|---|
model | command-a-03-2025 |
context | 256K tokens |
max output | 8K tokens |
endpoint | POST /v1/chat/completions |
MIXROUTE_API_KEY。
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 預算。 |