DeepSeek v4 Flash 0731
Chat Completions API
deepseek-v4-flash-0731
Chat Completions API
DeepSeek v4 Flash 0731 is the official release of DeepSeek v4 Flash, superseding the preview version, with substantially enhanced agentic capabilities. It is a sparse mixture-of-experts model with 13B active parameters out of 284B total, and this re-post-trained revision is suited for coding, reasoning, and agent workflows. The model natively supports a 1M-token context window and flexible reasoning effort: low for simple tasks, high for daily agent workflows, and max for complex ones.
Пример кода
Пример использования модели через 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": "deepseek-v4-flash-0731",
"messages": [
{
"role": "user",
"content": "Сколько будет 2 + 2?"
}
]
}'