# DeepSeek V4 Flash (Thinking)

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:thinking`
- **Price per 1M tokens:** $0.14 input / $0.28 output
- **Cached input:** $0.028 per 1M tokens
- **Context:** 1M tokens, 384K max output

## Providers

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

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| NanoGPT · quantization unknown · Snapshot 0423 · tested | $0.14 | $0.028 | $0.28 | 1M | 384K |

1 more provider through partner hosts · from $0.15 in · $0.29 out

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)

- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`

## 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:thinking#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/deepseek-v4-flash:thinking`; 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:thinking", "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:thinking",
    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:thinking",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About DeepSeek V4 Flash (Thinking)

DeepSeek V4 Flash (Thinking) costs from $0.14 per 1M input tokens and $0.28 per 1M output tokens on OpenCheap, with cached input at $0.028 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0017, and 1,000 such requests about $1.68. Prices as of 2026-12-04 11:48 UTC.

2 providers serve DeepSeek V4 Flash (Thinking) 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 (Thinking) 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 (Thinking) API cost per 1M tokens?

DeepSeek V4 Flash (Thinking) costs from $0.14 per 1M input tokens and $0.28 per 1M output tokens on OpenCheap, with cached input at $0.028 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one DeepSeek V4 Flash (Thinking) request cost?

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

### Which providers serve DeepSeek V4 Flash (Thinking)?

2 providers serve DeepSeek V4 Flash (Thinking) 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 (Thinking)?

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 (Thinking) API?

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

## More from DeepSeek

- [deepseek-v4-flash](https://opencheap.si/models/deepseek-v4-flash) (`deepseek-v4-flash`): $0.073 / $0.15 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.0073 / $0.029 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.8 Flash](https://opencheap.si/models/qwen3.8-flash): Qwen · 1M context · $0.14 / $0.44 per 1M · [Compare with DeepSeek V4 Flash (Thinking)](https://opencheap.si/compare/deepseek-v4-flash%3Athinking-vs-qwen3.8-flash)
- [Hy4 Flash](https://opencheap.si/models/hy4-flash): Tencent · 1M context · $0.066 / $0.26 per 1M, 12 % cheaper · [Compare with DeepSeek V4 Flash (Thinking)](https://opencheap.si/compare/deepseek-v4-flash%3Athinking-vs-hy4-flash)
- [Xiaomi Mimo V2.6 Flash](https://opencheap.si/models/mimo-v2.6-flash): Xiaomi · 1M context · $0.021 / $0.25 per 1M, 21 % cheaper · [Compare with DeepSeek V4 Flash (Thinking)](https://opencheap.si/compare/deepseek-v4-flash%3Athinking-vs-mimo-v2.6-flash)
- [XiaomiMiMo/MiMo-V2.6-Flash-RL](https://opencheap.si/models/mimo-v2.6-flash-rl): Xiaomi · 1M context · $0.14 / $0.28 per 1M · [Compare with DeepSeek V4 Flash (Thinking)](https://opencheap.si/compare/deepseek-v4-flash%3Athinking-vs-mimo-v2.6-flash-rl)
- [Claude Haiku 5.5](https://opencheap.si/models/claude-haiku-5.5): Anthropic · 1M context · $0.075 / $0.38 per 1M · [Compare with DeepSeek V4 Flash (Thinking)](https://opencheap.si/compare/deepseek-v4-flash%3Athinking-vs-claude-haiku-5.5)
- [Gemini 3.5 Flash Lite](https://opencheap.si/models/gemini-3.5-flash-lite): Google · 1M context · $0.093 / $0.37 per 1M · [Compare with DeepSeek V4 Flash (Thinking)](https://opencheap.si/compare/deepseek-v4-flash%3Athinking-vs-gemini-3.5-flash-lite)

[Compare DeepSeek V4 Flash (Thinking) with any model](https://opencheap.si/compare)

---

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