# deepseek-v4-flash

DeepSeek's Flash variant of its V4 series, a mixture-of-experts language model with 284B total parameters and 13B active, built to handle contexts of up to one million tokens. It is offered under the MIT License and supports three reasoning effort modes.

- **Model id:** `opencheap/deepseek-v4-flash`
- **Price per 1M tokens:** $0.073 input / $0.15 output
- **Cached input:** $0.015 per 1M tokens
- **Context:** 1M tokens, 943K max output

## Providers

18 providers. Prices are per 1M tokens. As of 2026-12-04 11:52 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Cohere · fp8 · Snapshot 0423 | $0.073 | $0.015 | $0.15 | 0.41 s | 118 tok/s | 100 % | 1M | 131K |
| Relace · fp4 · Snapshot 0423 | $0.073 | $0.042 | $0.53 | 0.44 s | 148 tok/s | 100 % | 1M | 943K |
| DeepInfra · Route 1 · fp8 · Snapshot 0423 | $0.076 | $0.015 | $0.15 | 1.35 s | 66 tok/s | 100 % | 1M | 393K |
| DeepInfra · Route 2 · fp8 · Snapshot 0423 | $0.095 | $0.019 | $0.19 | 0.67 s | 103 tok/s | 100 % | 1M | 393K |
| DeepInfra · Route 3 · fp8 · Snapshot 0423 | $0.14 | $0.028 | $0.28 | 0.63 s | 103 tok/s | 100 % | 1M | 393K |
| Surplus · quantization unknown · Snapshot 0423 · tested | $0.082 | $0.016 | $0.16 | 2.25 s | 140 tok/s | 95.6 % (success rate) | 1M | 128K |
| Engy · quantization unknown · Snapshot not stated | $0.084 | $0.037 | $0.10 | 0.86 s | 261 tok/s | 100 % (success rate) | 920K | 32K |
| StreamLake · fp8 · Snapshot 0423 | $0.087 | $0.017 | $0.17 | 1.32 s | 81 tok/s | 100 % | 1M | 384K |
| Hugging Face · deepinfra · fp8 · Snapshot 0423 · tested | $0.09 | $0.09* | $0.18 | 0.49 s | 190 tok/s | 100 % (success rate) | 1M | — |
| Qubax · quantization unknown · Snapshot 0423 · tested | $0.12 | $0.024 | $0.32 | 3.39 s | 104 tok/s | 100 % (success rate) | 1M | 128K |
| SiliconFlow · fp8 · Snapshot 0423 | $0.14 | $0.029 | $0.29 | 0.88 s | 117 tok/s | 100 % | 1M | 393K |
| NanoGPT · quantization unknown · Snapshot 0423 · tested | $0.14 | $0.028 | $0.28 | 1.76 s | 206 tok/s | 100 % (success rate) | 1M | 384K |
| AiHubMix · quantization unknown · Snapshot 0423 · tested | $0.14 | $0.028 | $0.28 | 0.95 s | — | 56.5 % (success rate) | 1M | 393K |
| Venice · quantization unknown · Snapshot 0423 | $0.14 | $0.029 | $0.29 | 0.92 s | 100 tok/s | 100 % | 1M | 262K |
| Baidu · fp8 · Snapshot 0423 | $0.15 | $0.029 | $0.29 | 0.86 s | 128 tok/s | 100 % | 1M | 131K |
| Featherless · fp8 · Snapshot 0423 | $0.15 | $0.032 | $0.29 | 1.34 s | 49 tok/s | 98.9 % | 262K | 32K |
| Parasail · fp8 · Snapshot 0423 | $0.15 | $0.073 | $0.29 | 0.51 s | 116 tok/s | 100 % | 1M | 943K |
| Mancer 2 · fp8 · Snapshot 0423 | $0.19 | $0.079 | $0.53 | 0.94 s | 104 tok/s | 99.9 % | 1M | 943K |
| Azure · quantization unknown · Snapshot 0423 | $0.22 | $0.033 | $0.59 | 1.31 s | 84 tok/s | 99.7 % | 1M | 384K |
| Sandbase · quantization unknown · Snapshot not stated | $0.30 | $0.006 | $1.20 | 2.02 s | 90 tok/s | 100 % (success rate) | — | — |

\* No cache discount from this provider: cached tokens cost the input price.

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Cohere:** `temperature`, `top_p`, `top_k`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Relace:** `temperature`, `top_p`, `top_k`, `min_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **DeepInfra:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Surplus:** `temperature`, `top_p`, `min_p`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Engy:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **StreamLake:** `temperature`, `top_p`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Hugging Face · deepinfra:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Qubax:** `temperature`, `top_p`, `min_p`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **SiliconFlow:** `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature, stop not confirmed)
- **NanoGPT:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **AiHubMix:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `repetition_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`
- **Venice:** `temperature`, `top_p`, `top_k`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Baidu:** `temperature`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Featherless:** `temperature`, `top_p`, `top_k`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Parasail:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Mancer 2:** `top_p`, `top_k`, `min_p`, `top_a`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Azure:** `temperature`, `top_p`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (stop not confirmed)
- **Sandbase:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/deepseek-v4-flash#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/deepseek-v4-flash`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/deepseek-v4-flash", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/deepseek-v4-flash",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About deepseek-v4-flash

deepseek-v4-flash costs from $0.073 per 1M input tokens and $0.15 per 1M output tokens on OpenCheap, with cached input at $0.015 per 1M tokens. Its list price is $0.09 per 1M input tokens and $0.18 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 18 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00088, and 1,000 such requests about $0.88. Prices as of 2026-12-04 11:48 UTC.

18 providers serve deepseek-v4-flash on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

deepseek-v4-flash is one of [58 DeepSeek models](https://opencheap.si/models/lab/deepseek) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the deepseek-v4-flash API cost per 1M tokens?

deepseek-v4-flash costs from $0.073 per 1M input tokens and $0.15 per 1M output tokens on OpenCheap, with cached input at $0.015 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one deepseek-v4-flash request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.00088, and 1,000 such requests about $0.88. Every answer reports its own cost in usage.cost.

### Is deepseek-v4-flash cheaper on OpenCheap than its list price?

Its list price is $0.09 per 1M input tokens and $0.18 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 18 % less here.

### Which providers serve deepseek-v4-flash?

18 providers serve deepseek-v4-flash on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of deepseek-v4-flash?

Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

### How do I call the deepseek-v4-flash API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/deepseek-v4-flash. One OpenCheap key works for every model; the rest of your code stays the same.

## More from DeepSeek

- [DeepSeek V4 Flash (Thinking)](https://opencheap.si/models/deepseek-v4-flash:thinking) (`deepseek-v4-flash:thinking`): $0.14 / $0.28 per 1M · 1M context
- [DeepSeek V4 Pro](https://opencheap.si/models/deepseek-v4-pro) (`deepseek-v4-pro`): $0.40 / $0.79 per 1M · 1M context
- [DeepSeek V4.1 Flash](https://opencheap.si/models/deepseek-v4.1-flash) (`deepseek-v4.1-flash`): $0.02 / $0.079 per 1M · 1M context
- [DeepSeek V3.2](https://opencheap.si/models/deepseek-v3.2) (`deepseek-v3.2`): $0.22 / $0.34 per 1M · 163K context
- [deepseek-r1](https://opencheap.si/models/deepseek-r1) (`deepseek-r1`): $0.74 / $2.52 per 1M · 163K context
- [DeepSeek V3-0324](https://opencheap.si/models/deepseek-chat) (`deepseek-chat`): $0.32 / $0.89 per 1M · 163K context
- [DeepSeek V3 0324](https://opencheap.si/models/deepseek-chat-v3-0324) (`deepseek-chat-v3-0324`): $0.26 / $1.05 per 1M · 163K context
- [DeepSeek V3.1](https://opencheap.si/models/deepseek-chat-v3.1) (`deepseek-chat-v3.1`): $0.26 / $1.00 per 1M · 163K context

[All 58 DeepSeek models](https://opencheap.si/models/lab/deepseek)

## Similar models

- [Qwen3.6 35B A3B](https://opencheap.si/models/qwen3.6-35b-a3b): Qwen · 1M context · $0.013 / $0.13 per 1M, 22 % cheaper · [Compare with deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-flash-vs-qwen3.6-35b-a3b)
- [Xiaomi Mimo V2.6 Flash](https://opencheap.si/models/mimo-v2.6-flash): Xiaomi · 1M context · $0.021 / $0.25 per 1M · [Compare with deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-flash-vs-mimo-v2.6-flash)
- [Ling 3.1 Flash](https://opencheap.si/models/ling-3.1-flash): inclusionAI · 1M context · $0.068 / $0.20 per 1M · [Compare with deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-flash-vs-ling-3.1-flash)
- [Qwen3.5 Flash](https://opencheap.si/models/qwen3.5-flash): Qwen · 1M context · $0.03 / $0.12 per 1M, 25 % cheaper · [Compare with deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-flash-vs-qwen3.5-flash)
- [Mistral Small 3.2 24B (2506)](https://opencheap.si/models/mistral-small-3.2-24b): Mistral · 256K context · $0.07 / $0.19 per 1M · [Compare with deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-flash-vs-mistral-small-3.2-24b)
- [Hy4 Flash](https://opencheap.si/models/hy4-flash): Tencent · 1M context · $0.066 / $0.26 per 1M · [Compare with deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-flash-vs-hy4-flash)

### Comparisons

- [deepseek-v4-flash vs GLM 5.3 Flash](https://opencheap.si/compare/deepseek-v4-flash-vs-glm-5.3-flash)
- [Gemini 3.5 Flash vs deepseek-v4-flash](https://opencheap.si/compare/gemini-3.5-flash-vs-deepseek-v4-flash)
- [DeepSeek V4 Pro vs deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4-pro-vs-deepseek-v4-flash)
- [DeepSeek V4.1 Flash vs deepseek-v4-flash](https://opencheap.si/compare/deepseek-v4.1-flash-vs-deepseek-v4-flash)

[Compare deepseek-v4-flash with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/deepseek-v4-flash · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
