中文

Prices › DeepSeek

DeepSeek V4 Flash API pricing & setup

As of 2026-10-17, the cheapest DeepSeek V4 Flash channel is OpenRouter: $0.02268 input / $0.04536 output per 1M tokens (blended $0.028). Context 1M.

Retired · third-party hostedDeepSeek: V4 Flash is retired; the legacy name deepseek-v4-flash is still accepted but served and billed as DeepSeek-V4.1-Flash. This row is a third-party OpenRouter host, not an official price.Excluded from every “cheapest” ranking.api-docs.deepseek.com · checked2026-10-17 12:40 UTC+8

→ DeepSeek hub: all prices, free access, setup

→ Is the DeepSeek API free? Pricing, off-peak hours & free routes

Context: 1M · Max output: 944K · Modalities: text · Listed: 2026-04-24

Channel comparison (per 1M tokens)

ChannelBlendedInputOutputCachedAccess & payment (this channel)NotesSource
OpenRouterThird-party host
$0.02268 / $0.04536
$0.028$0.023$0.045$0.0045✓CN direct✓Alipay✗ID✗Intl card
conditions source2026-10-17
Third-party host: Baidu (fp8)
Licensed cloud alternative: Azure $0.21 / $0.56
openrouter.ai
2026-10-17

Access & payment conditions are verified per channel (see the column above); unverified never counts as met.

How to use DeepSeek V4 Flash in Claude Code / Codex / OpenCode

Claude Code(Anthropic compatible): ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic

OpenAI compatible base URL: https://api.deepseek.com · DEEPSEEK_API_KEY

Check the provider docs for exact model IDs. Source · Claude Code · Codex

Related comparisons

DeepSeek V4.1 Flash vs Qwen3.8 Flash · DeepSeek V4.1 Flash vs GPT-6 Luna · Doubao Seed 2.1 Pro vs DeepSeek V4 Pro (0813) · Compare any two →

Rankings: Cheapest LLM APIs · LLM APIs usable from mainland China · All DeepSeek models

Price history

FAQ

How much does the DeepSeek V4 Flash API cost?

Cheapest channel (OpenRouter): $0.02268 input / $0.04536 output per 1M tokens, verified 2026-10-17.

Can I use DeepSeek V4 Flash from China?

OpenRouter: direct yes, Alipay yes, ID required no, overseas card no

Is DeepSeek V4 Flash free?

No free route or deal recorded for this model; pay-as-you-go.

What is DeepSeek V4 Flash's context window?

1M tokens