Verified 2026-11-18 · rates follow the live catalog

DeepSeek-V4-Flash-0731 API

DeepSeek V4 Flash — 1M context, vision input, tool calls, and thinking mode.

Specifications and pricing

DeepSeek-V4-Flash-0731 — published rates in USD
ProviderDeepSeek
Context window1.0M
Input / 1M tokens$0.44
Output / 1M tokens$1.32
Cached input / 1M tokens$0.01
Off-peak50% off during 14:00–24:00 UTC
Serving precisionFP8
Reasoning tierslow,high,max

What a request costs

A call with 50,000 input tokens and 10,000 output tokens bills at $0.035: 50,000 ÷ 1,000,000 × $0.44 for input, plus 10,000 ÷ 1,000,000 × $1.32 for output. A prompt prefix that hits the cache bills at $0.01 per million instead of the full input rate, so a long reused system prompt is far cheaper on the second call than the first. The 50% off during 14:00–24:00 UTC discount applies to requests outside the peak window, so batch work scheduled into those hours costs measurably less.

Calling it

Endpoint

Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:

Set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.

Send DeepSeek-V4-Flash-0731 in the model field. These aliases resolve to the same model: DeepSeek-V4-Flash, deepseek-chat, deepseek-v4-flash, deepseek-v4-flash-0731.

Capabilities: image input, tool and function calling, reasoning with low,high,max effort tiers.

Other DeepSeek models

Every DeepSeek model is compared on the DeepSeek API pricing page.

The rest of the catalog, with rates side by side, is on all models.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API