DeepSeek V4.1 Flash API Pricing Calculator

Compare what your prompts cost across every major LLM — with exact token counts for OpenAI models, right in your browser.

Prices verified 2026-12-02 · per 1M tokens · sources linked per provider

Input / 1M tokens

$0.3

Cached input / 1M

$0.006

Output / 1M tokens

$1.2

Context window: 1,000,000 tokensAPI model ID: deepseek-flash

Peak rate. Off-peak is half: $0.15 in / $0.003 cached / $0.60 out.

At DeepSeek V4.1 Flash's rates ($0.3 per 1M input tokens, $1.2 per 1M output), a call with 1,000 input and 500 output tokens costs $0.0009. At 10,000 requests a month, that workload runs $9.00. A heavier call — a 100,000-token prompt returning 2,000 tokens — costs $0.0324.

DeepSeek V4.1 Flash is the cheapest DeepSeek model at this workload — DeepSeek V4 Pro costs 3.7× as much per call.

Cache-read input is billed at $0.006 per 1M tokens — 98% below the standard input rate, so a long system prompt reused across calls mostly bills at the discounted rate.

DeepSeek V4.1 Flash's context window is 1,000,000 tokens. Peak rate. Off-peak is half: $0.15 in / $0.003 cached / $0.60 out.

ModelCost / callCost / month× best price
DeepSeek V4.1 Flashcheapest$0.0015$1.50—
DeepSeek V4 Pro$0.00528$5.283.5×

More DeepSeek models: DeepSeek V4 Pro — or all DeepSeek pricing

Token counter

0 tokens

Token counts are exact for OpenAI models (tiktoken o200k_base, run in your browser). For other providers the count is an estimate — notably Claude Opus 4.7+/Sonnet 5 and similar newer models use a tokenizer that produces roughly 30% more tokens for the same text.

Related tools

Scaling AI content or ops? Elegant Atomics builds growth systems for B2B SaaS — Trevor’s company. Work with us →