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