← All models
DeepSeek: DeepSeek V4 Flash
deepseek/deepseek-v4-flashtextReasoning
Fast and powerful model from DeepSeek.
Pricing
Request / 1M
Response / 1M
Parameters
messagesrequiredreasoning_effortoff · high · xhightemperature0–2max_tokensoptionalstreamtrue · falseHow to use via API
from openai import OpenAIclient = 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 · xhightemperature=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)


