模型信息
上下文和输出长度为模型规格;实际请求限制、可用性与计费取决于 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 预算。 |