← Все модели
DeepSeek: DeepSeek V4 Flash
deepseek/deepseek-v4-flashтекстРассуждение
Быстрая и мощная модель от DeepSeek.
Цена запрос / ответ
Кэш, чтение / запись
Контекст / Макс. ответ
1.05M / 944K
Релиз
24 апр. 2026 г.
Параметры
messagesобязательныйreasoning_effortoff · high · xhighmax_tokensопционально · алиас max_completion_tokensstreamtrue · falsetoolsfunction calling (OpenAI-формат)tool_choiceauto · none · requiredresponse_formatjson_object · json_schemaweb_search · · · providerмаршрут: order · only · ignore · sortstream_options{"include_usage": true}Тонкая настройка · 11
temperature0–2stopопциональноseedопциональноtop_p0–1top_kопциональноmin_p0–1frequency_penalty−2…2presence_penalty−2…2repetition_penalty0–2logprobstrue · falsetop_logprobs0–20Как использовать через API
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="deepseek/deepseek-v4-flash",
messages=[{"role": "user", "content": "Привет"}],
reasoning_effort="high", # off · high · xhigh
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="deepseek/deepseek-v4-flash",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)

