模型資訊
上下文和輸出長度為模型規格;實際請求限制、可用性與計費取決於 MixRoute 路由。
能力與使用
- 支援文本和影像理解、工具呼叫和結構化輸出。
- 使用完整版本 ID command-a-plus-05-2026;不要將 Cohere 原生 v2 請求結構直接套用到 OpenAI 相容的 messages 格式。
請求示例
呼叫前設定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-plus-05-2026 |
context | 128K tokens |
max output | 64K 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-plus-05-2026",
"messages": [
{
"role": "user",
"content": "Explain the tradeoffs of database indexes."
}
],
"max_tokens": 1024
}'
| 欄位 | 說明 |
|---|---|
model | 必填,使用上方完整模型 ID。 |
messages | 必填,會話訊息包含 role 和 content。 |
max_tokens | 可選,輸出 token 預算。 |