# DeepSeek V4 Flash 0731

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-0731`
- **Price per 1M tokens:** $0.025 input / $0.27 output
- **Cached input:** $0.0055 per 1M tokens
- **Context:** 1M tokens, 943K max output

## Providers

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

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Surplus · quantization unknown | $0.025 | $0.0055 | $0.27 | — | — | — | 1M | 65K |
| Cohere · fp8 | $0.048 | $0.037 | $0.28 | 0.35 s | 155 tok/s | 100 % | 1M | 384K |
| Wafer · Route 1 · nvfp4 | $0.048 | $0.037 | $0.28 | 0.33 s | 161 tok/s | 100 % | 1M | 943K |
| Wafer · Route 2 · nvfp4 | $0.14 | $0.13 | $0.24 | 0.33 s | 120 tok/s | 100 % | 1M | 943K |
| NanoGPT · quantization unknown | $0.05 | $0.013 | $0.16 | 2.89 s | 56 tok/s | 100 % (success rate) | 1M | 131K |
| DeepInfra · Route 1 · fp8 | $0.05 | $0.013 | $0.15 | 1.45 s | 64 tok/s | 72.2 % | 1M | 384K |
| DeepInfra · Route 2 · fp8 | $0.063 | $0.016 | $0.19 | 0.48 s | 95 tok/s | 99.6 % | 1M | 384K |
| DeepInfra · Route 3 · fp8 | $0.095 | $0.024 | $0.28 | 0.47 s | 95 tok/s | 99.5 % | 1M | 384K |
| Hugging Face · relace · fp4 | $0.07 | $0.07* | $0.14 | — | — | — | 1M | — |
| Relace · fp4 | $0.073 | $0.015 | $0.15 | 0.30 s | 162 tok/s | 100 % | 1M | 943K |
| Munito AI · quantization unknown | $0.078 | $0.015 | $0.20 | — | — | — | 1M | 131K |
| Blackfuel · quantization unknown | $0.08 | $0.004 | $0.16 | — | — | — | 1M | 1M |
| DigitalOcean · quantization unknown | $0.12 | $0.025 | $0.25 | 0.46 s | 188 tok/s | 86.3 % | 1M | 943K |
| BaseTen · Route 1 · fp8 | $0.14 | $0.029 | $0.27 | 0.22 s | 160 tok/s | 99.7 % | 1M | 384K |
| BaseTen · Route 2 · fp32 | $0.14 | $0.029 | $0.27 | 0.21 s | 135 tok/s | 99.8 % | 1M | 384K |
| Venice · quantization unknown | $0.14 | $0.029 | $0.27 | 0.38 s | 166 tok/s | 99.3 % | 1M | 262K |
| CoreWeave · fp8 | $0.14 | $0.052 | $0.28 | 0.30 s | 135 tok/s | 99.9 % | 262K | 235K |
| Inceptron · fp4 | $0.14 | $0.028 | $0.52 | 0.43 s | 99 tok/s | 100 % | 1M | 943K |
| StreamLake · fp8 | $0.14 | $0.0044 | $0.42 | 1.37 s | 71 tok/s | 100 % | 1M | 384K |
| AiHubMix · quantization unknown | $0.14 | $0.028 | $0.28 | — | — | — | 1M | 384K |
| Nebius · fp8 | $0.15 | $0.011 | $0.29 | 0.93 s | 156 tok/s | 100 % | 1M | 943K |
| Parasail · fp8 | $0.15 | $0.052 | $0.29 | 0.48 s | 87 tok/s | 100 % | 1M | 943K |
| Sail Research · Route 1 · fp4 | $0.16 | $0.044 | $0.32 | 1.04 s | 42 tok/s | 91.7 % | 1M | 943K |
| Sail Research · Route 2 · fp4 | $0.16 | $0.044 | $0.32 | 0.59 s | 38 tok/s | 95.5 % | 1M | 943K |
| Mancer 2 · fp8 | $0.16 | $0.052 | $0.53 | 0.73 s | 57 tok/s | 99.3 % | 1M | 943K |
| SiliconFlow · fp8 | $0.23 | $0.029 | $0.69 | 1.52 s | 24 tok/s | 99.8 % | 1M | 393K |
| TensorX · quantization unknown | $0.26 | $0.066 | $0.32 | — | — | — | 1M | 64K |
| Qubax · quantization unknown | $0.29 | $0.042 | $1.17 | — | — | — | 1M | 65K |
| Sandbase · quantization unknown | $0.30 | $0.006 | $1.20 | — | — | — | — | — |
| Alibaba · Route 1 | $0.37 | $0.037 | $1.11 | 1.51 s | 136 tok/s | 100 % | 1M | 393K |
| Alibaba · Route 2 | $0.39 | $0.039 | $1.18 | 1.51 s | 84 tok/s | 100 % | 1M | 393K |
| EmpirioLabs AI · quantization unknown | $0.45 | $0.45 | $1.34 | — | — | — | 1M | 393K |
| Baidu · fp8 | $0.46 | $0.015 | $1.39 | 1.22 s | 61 tok/s | 100 % | 1M | 131K |
| Chutes · fp8 | $0.46 | $0.046 | $1.39 | 1.09 s | 75 tok/s | 100 % | 1M | 131K |

\* 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)

- **Surplus:** `temperature`, `top_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **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`
- **Wafer:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **NanoGPT:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **DeepInfra · Route 1 · fp8:** `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`
- **DeepInfra · Route 2 · fp8:** `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`
- **DeepInfra · Route 3 · fp8:** `temperature`, `top_k`, `min_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Hugging Face · relace:** `temperature`, `top_p`, `top_k`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`
- **Relace:** `temperature`, `top_p`, `top_k`, `min_p`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Munito AI:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Blackfuel:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **DigitalOcean:** `temperature`, `top_p`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (stop not confirmed)
- **BaseTen:** `temperature`, `top_p`, `presence_penalty`, `stop`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Venice:** `temperature`, `top_p`, `top_k`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **CoreWeave:** `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`
- **Inceptron:** `temperature`, `top_p`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **StreamLake:** `temperature`, `top_p`, `stop`, `response_format`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **AiHubMix:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`
- **Nebius:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `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`
- **Sail Research:** `temperature`, `top_p`, `top_k`, `seed`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Mancer 2:** `temperature`, `top_p`, `top_k`, `min_p`, `top_a`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **SiliconFlow:** `temperature`, `top_p`, `top_k`, `frequency_penalty`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (stop not confirmed)
- **TensorX:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Qubax:** `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice` (temperature not confirmed)
- **Sandbase:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`
- **Alibaba · Route 1:** `seed`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **Alibaba · Route 2:** `top_k`, `seed`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature not confirmed)
- **EmpirioLabs AI:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Baidu:** `temperature`, `top_p`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Chutes:** `temperature`, `top_p`, `top_k`, `seed`, `repetition_penalty`, `frequency_penalty`, `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-0731#price-history).

## API

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

## About DeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731 costs from $0.025 per 1M input tokens and $0.27 per 1M output tokens on OpenCheap, with cached input at $0.0055 per 1M tokens. Its list price is $0.046 per 1M input tokens and $0.27 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 2 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00053, and 1,000 such requests about $0.53. Prices as of 2026-12-04 11:48 UTC.

28 providers serve DeepSeek V4 Flash 0731 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 0731 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 0731 API cost per 1M tokens?

DeepSeek V4 Flash 0731 costs from $0.025 per 1M input tokens and $0.27 per 1M output tokens on OpenCheap, with cached input at $0.0055 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one DeepSeek V4 Flash 0731 request cost?

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

### Is DeepSeek V4 Flash 0731 cheaper on OpenCheap than its list price?

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

### Which providers serve DeepSeek V4 Flash 0731?

28 providers serve DeepSeek V4 Flash 0731 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 0731?

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 0731 API?

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

## More from DeepSeek

- [DeepSeek V4 Flash 0731 Fast](https://opencheap.si/models/deepseek-v4-flash-0731:fast) (`deepseek-v4-flash-0731:fast`): $0.11 / $0.42 per 1M · 1M context
- [DeepSeek V4 Flash 0731 (Thinking)](https://opencheap.si/models/deepseek-v4-flash-0731:thinking) (`deepseek-v4-flash-0731:thinking`): $0.05 / $0.16 per 1M · 1M context
- [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

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

## Similar models

- [Xiaomi Mimo V2.6 Flash](https://opencheap.si/models/mimo-v2.6-flash): Xiaomi · 1M context · $0.021 / $0.25 per 1M, 8 % cheaper · [Compare with DeepSeek V4 Flash 0731](https://opencheap.si/compare/deepseek-v4-flash-0731-vs-mimo-v2.6-flash)
- [Hy4 Flash](https://opencheap.si/models/hy4-flash): Tencent · 1M context · $0.066 / $0.26 per 1M · [Compare with DeepSeek V4 Flash 0731](https://opencheap.si/compare/deepseek-v4-flash-0731-vs-hy4-flash)
- [Qwen3.8 Flash](https://opencheap.si/models/qwen3.8-flash): Qwen · 1M context · $0.14 / $0.44 per 1M · [Compare with DeepSeek V4 Flash 0731](https://opencheap.si/compare/deepseek-v4-flash-0731-vs-qwen3.8-flash)
- [OrcaCyber Hy4 Flash](https://opencheap.si/models/orcacyber-hy4-flash): OrcaRouter · 1M context · $0.07 / $0.28 per 1M · [Compare with DeepSeek V4 Flash 0731](https://opencheap.si/compare/deepseek-v4-flash-0731-vs-orcacyber-hy4-flash)
- [Ling 3.1 Flash](https://opencheap.si/models/ling-3.1-flash): inclusionAI · 1M context · $0.068 / $0.20 per 1M, 20 % cheaper · [Compare with DeepSeek V4 Flash 0731](https://opencheap.si/compare/deepseek-v4-flash-0731-vs-ling-3.1-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 0731](https://opencheap.si/compare/deepseek-v4-flash-0731-vs-mimo-v2.6-flash-rl)

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

---

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