Skip to content

Providers / DeepSeek

DeepSeek

DeepSeek is an AI lab that builds large language models and publishes many of them as open weights. Its current line is DeepSeek V4: V4 Pro is the larger model for harder work, and V4.1 Flash is the fast, low-cost model. Every model in the family takes text, and V4.1 Flash also accepts images.

Models

USD per 1M tokens · prices as of 2026-11-21

ModelBest forInputOutputContext
DeepSeek V4 ProHarder bugs, planning, multi-file changes$0.9307$2.4295128K
DeepSeek V4.1 FlashEveryday coding-agent work (edits, tests, small refactors) · Background and sub-agent tasks · Screenshots or diagrams in the prompt$0.2146$0.8584128K

Which model for which job

JobUseInput / output per 1MWhy
Everyday coding-agent work (edits, tests, small refactors)DeepSeek V4.1 Flash$0.2146 / $0.8584Small, low-cost model; tool calling with parallel calls
Background and sub-agent tasksDeepSeek V4.1 Flashreasoning off$0.2146 / $0.8584Fewer output tokens per call
Harder bugs, planning, multi-file changesDeepSeek V4 Pro$0.9307 / $2.4295The larger model in the family
Screenshots or diagrams in the promptDeepSeek V4.1 Flash$0.2146 / $0.8584Accepts image input; V4 Pro is text only
Bulk jobs that can waitAny of them, through the Batch API—Runs in the off-peak window

Data handling

What DeepSeek publishes

What Yunshu does

Pricing notes

Use it in your coding tool

Paste these settings to use DeepSeek V4 Pro. Swap in any DeepSeek model ID from the table above.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=YOUR_YUNSHU_KEY
export ANTHROPIC_MODEL=deepseek-v4-pro
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1

Run these in your shell before starting Claude Code, or put them in ~/.claude/settings.json (see the guide). No /v1 in the address: Claude Code adds it. The last line stops Claude Code sending fields only Anthropic models accept. Full guide →

Questions

Can I use the DeepSeek API outside China?
Does DeepSeek train on my prompts?
What is the difference between DeepSeek V4 Pro and V4.1 Flash?
Why is the context window smaller than 1M tokens?
When is DeepSeek cheapest?