Atualizado
What is the DeepSeek V4 Flash API?
The DeepSeek V4 Flash API is live on UnificAlly as deepseek/deepseek-v4-flash, from $0.1125/1M tokens of input and $0.45/1M tokens of output. DeepSeek V4 Flash is the versioned model ID for DeepSeek's V4 Flash line. It first appeared in the V4 preview on April 24, 2026, and its final release, DeepSeek-V4-Flash-0731, followed on July 31, 2026. On September 10, 2026 DeepSeek retired that model and began answering the deepseek-v4-flash name with DeepSeek V4.1 Flash, billed at the Flash price. So today this ID gives you V4.1 Flash behavior: 1M tokens of context, up to 384K output tokens, and thinking on by default. It exists for clients and configs that already send the V4 Flash name.
DeepSeek V4 Flash API specs
| Model ID | deepseek/deepseek-v4-flash |
| Endpoint | POST https://direct-api.unifically.com/v1/chat/completions |
| Other formats | POST /v1/responses and POST /v1/messages |
| Request types | Chat, streaming, tool calls |
| Output | Text, with the thinking in reasoning_content |
| Answered by | DeepSeek V4.1 Flash since September 10, 2026 |
| Input rate | $0.1125/1M tokens |
| Output rate | $0.45/1M tokens |
| Cache read rate | $0.00225/1M tokens |
| Input rate, peak hours | $0.225/1M tokens |
| Output rate, peak hours | $0.90/1M tokens |
| Cache read rate, peak hours | $0.0045/1M tokens |
The DeepSeek V4 Flash API bills per token, with no subscription. Peak hours are Monday to Friday, 01:00 to 04:00 and 06:00 to 10:00 UTC, and the rate is fixed when the request starts. The DeepSeek API pricing guide covers the rates for every DeepSeek model.
How to use the DeepSeek V4 Flash API
- Create an API key on the API keys page.
- Send a POST request to
/v1/chat/completionsonhttps://direct-api.unifically.comwith the model ID and amessagesarray. - Read the reply from
choices[0].message.contentin the same response.
curl -X POST https://direct-api.unifically.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "deepseek/deepseek-v4-flash",
"messages": [
{ "role": "user", "content": "Write unit tests for this parser and list the edge cases you covered." }
]
}'
The response comes back synchronously with the answer in content, the thinking in reasoning_content, and the token usage:
{
"id": "3f8e2a1c-7b4d-4e9a-9c2f-5d1e8b7a6c40",
"object": "chat.completion",
"created": 1710000000,
"model": "deepseek/deepseek-v4-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Here are the unit tests for the parser..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 28,
"completion_tokens": 64,
"total_tokens": 92,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0
}
}
}
Set "stream": true to receive tokens as they generate. The stream is sent as server-sent events and ends with data: [DONE]. Send requests to direct-api.unifically.com so long replies are not cut short by a proxy timeout.
DeepSeek V4 Flash API parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
model | string | required | Model identifier, deepseek/deepseek-v4-flash |
messages | array | required | Non-empty array of message objects with role and content (a string or an array of content parts). Roles: system, developer, user, assistant, tool, function |
stream | boolean | false | If true, the response is streamed using server-sent events |
stream_options | object | none | Set { "include_usage": true } to get a final chunk with token usage. Only used when stream is true |
temperature | number | none | Sampling temperature between 0 and 2. Higher values produce more random output |
max_tokens | integer | none | Maximum number of tokens to generate in the completion |
max_completion_tokens | integer | none | Accepted as an alias for max_tokens |
reasoning_effort | string | none | How much the model reasons before answering |
top_p | number | none | Nucleus sampling parameter. Alternative to temperature |
stop | string or array | none | Up to four sequences where the model stops generating further tokens |
tools | array | none | List of tools the model may call. Each tool needs a type and a function definition |
tool_choice | string or object | none | Controls which tool, if any, is called: none, auto, required, or a specific tool |
response_format | object | none | Set { "type": "json_object" } to enable JSON mode when the model supports it |
The DeepSeek V4 Flash API documentation has the full reference, including the Responses and Messages formats.
Key features of DeepSeek V4 Flash
Same model as deepseek-flash today
Requests to this ID run DeepSeek V4.1 Flash, so answers, limits, and thinking behavior match deepseek/deepseek-flash. A pipeline built on the V4 Flash name keeps working without a code change, and picks up the newer model.
What V4 Flash 0731 was
The retired model was a 284B-parameter mixture-of-experts with 13B active parameters, the same architecture as the April preview with new post-training for agents. DeepSeek reported 82.7% on Terminal-Bench 2.1 and 54.4% on DeepSWE for it, and Artificial Analysis scored it 34 on its Intelligence Index.
What changed with V4.1 Flash
On DeepSeek's own table the model now behind this ID scores 90.6% on Terminal-Bench 2.1 and 74.2% on DeepSWE v1.1, where V4 Flash 0731 scored 82.7% and 54.4%. Artificial Analysis moves from 34 to 39 on its index, with output speed about the same at roughly 227 tokens per second.
What DeepSeek V4 Flash is best for
Existing V4 Flash integrations
Clients, agents, and configs that already send the deepseek-v4-flash name.
Coding agents
The same agent performance as V4.1 Flash, since the same model answers.
Long-context work
Codebases and document sets read in one 1M token request.
DeepSeek V4 Flash use cases
A coding agent or support bot set up for V4 Flash keeps running without a config change and now gets V4.1 Flash quality. The same goes for an OpenAI-compatible client or agent tool whose saved preset names deepseek-v4-flash. For anything new, start on deepseek/deepseek-flash so a future retirement of this name does not break your app.
DeepSeek V4 Flash limitations
This ID no longer serves the V4 Flash 0731 model. If you need to reproduce old V4 Flash results exactly, the 0731 weights are public on Hugging Face under the MIT license, but the API will not return them.
DeepSeek describes the routing as temporary. Plan to move to deepseek/deepseek-flash.
Everything that limits V4.1 Flash applies here too: it trails Claude Opus 5 on the hardest Terminal-Bench suites, it writes long reasoning at high effort, and image input through UnificAlly is not confirmed yet. Peak-hour requests bill at 2x the off-peak rate.
When to use DeepSeek V4 Flash
Use this ID only to keep an existing V4 Flash integration running. For new work, call DeepSeek V4.1 Flash through deepseek/deepseek-flash, and use DeepSeek V4 Pro when the task depends on broad world knowledge.
Perguntas frequentes
Perguntas frequentes sobre DeepSeek V4 Flash
deepseek/deepseek-v4-flash, called through the OpenAI-compatible POST /v1/chat/completions endpoint with your UnificAlly API key.
Point your client at https://direct-api.unifically.com/v1/chat/completions and authenticate with Authorization: Bearer <key>, using a key from the API keys page. The model ID deepseek/deepseek-v4-flash has been answered by DeepSeek V4.1 Flash since September 10, 2026.
The OpenAI-compatible chat endpoint takes deepseek/deepseek-v4-flash and a messages array and responds synchronously, with the answer in content and the thinking in reasoning_content. Set "stream": true for server-sent events ending in data: [DONE].
DeepSeek V4.1 Flash. DeepSeek retired the V4 Flash model on September 10, 2026 and routes the deepseek-v4-flash name to V4.1 Flash, billed at the Flash price. Output from this ID matches deepseek/deepseek-flash.
Use deepseek/deepseek-flash for new code. Keep deepseek/deepseek-v4-flash only if an existing config or client already sends it. DeepSeek calls the V4 Flash routing temporary, so this name may stop working later.
Yes. DeepSeek models bill at 2x the off-peak rate during peak hours, Monday to Friday from 01:00 to 04:00 and from 06:00 to 10:00 UTC. The rate is fixed when the request starts. Every other hour is off-peak, including all of Saturday and Sunday. Off-peak, input is $0.1125/1M tokens and output is $0.45/1M tokens. In peak hours, input is $0.225/1M tokens and output is $0.90/1M tokens. This ID bills the same as deepseek/deepseek-flash.
A 1M token context window and up to 384K output tokens in one response, the same limits as V4.1 Flash.
The final V4 Flash release, published on July 31, 2026. It kept the 284B-parameter preview architecture with 13B active parameters and was re-trained after pre-training for agent work. DeepSeek reported 82.7% on Terminal-Bench 2.1 and 54.4% on DeepSWE for it.
Guias e comparações do DeepSeek V4 Flash
Confira preços, limites e resultados testados antes de usar este modelo.

