Claude Opus 4.5

Chat Completions API
claude-opus-4.5-20251101
отAnthropicСоздана 24 нояб. 2025 г.200K контекст
Chat Completions API

Claude Opus 4.5 is Anthropic’s latest reasoning model, developed for advanced software engineering, complex agent workflows, and extended computer tasks. It features strong multimodal capabilities and performs competitively on real-world coding and reasoning benchmarks, with enhanced resilience against prompt injection. Optimized for efficiency at varying effort levels, it allows developers to balance speed, depth, and token usage according to their specific needs, thanks to a new parameter for controlling token efficiency. Opus 4.5 excels in advanced tool integration, contextual management, and multi-agent coordination, making it ideal for autonomous research, debugging, complex planning, and spreadsheet or browser manipulation. Compared to previous Opus generations, it delivers significant improvements in structured reasoning, long-duration task performance, execution reliability, and alignment, all while reducing token overhead.

API-методы и структура запроса

Здесь собран публичный контракт интеграции модели: поддерживаемые API-методы, параметры запросов и примеры вызовов.

Chat Completions APIPOST/v1/chat/completions

Пример кода

Пример использования модели через API на Python или cURL. Замените значения-заполнители своим API-ключом и ID модели.

Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
curl https://api.makura.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "model": "claude-opus-4.5-20251101",
  "messages": [
    {
      "role": "user",
      "content": "Сколько будет 2 + 2?"
    }
  ]
}'

Параметры

Параметры, доступные в API-запросах
Frequency PenaltyLogit BiasMax Completion TokensPresence PenaltyReasoning EffortResponse FormatStopTemperatureTool ChoiceToolsTop P