DeepSeek v4 Pro 0423

Chat Completions API
deepseek-v4-pro
отDeepseekСоздана 24 апр. 2026 г.1M контекст
Chat Completions API

DeepSeek v4 Pro is a large-scale Mixture-of-Experts model from DeepSeek with 1.6T total parameters and 49B active parameters, supporting a 1M-token context window. It is designed for advanced reasoning, coding, and long-horizon agent workflows, delivering strong results across knowledge, mathematics, and software engineering benchmarks. Built on the same architecture as DeepSeek v4 Flash, it adds a hybrid attention system for efficient long-context processing and supports multiple reasoning modes to balance speed and depth based on the task. It is well suited for demanding workloads such as full-codebase analysis, multi-step automation, and large-scale information synthesis, where both performance and efficiency are essential.

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": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Сколько будет 2 + 2?"
    }
  ]
}'

Параметры

Параметры, доступные в API-запросах
Max Completion TokensPresence PenaltyResponse FormatTemperatureTool ChoiceToolsTop PFrequency PenaltyParallel Tool CallsStopLogit BiasReasoning EffortLogprobsPrediction