Command A
Chat Completions API
command-a-03-2025
Chat Completions API
Command A is an open-weights 111B parameter model from Cohere, featuring a 256k context window and optimized for agentic, multilingual, and coding use cases. It delivers high performance with minimal hardware costs, excelling in business-critical workflows that require advanced reasoning, tool use, and language understanding across multiple languages.
Пример кода
Пример использования модели через API на Python или cURL. Замените значения-заполнители своим API-ключом и ID модели.
Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
curl https://api.makura.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{
"model": "command-a-03-2025",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'