Skip to content

Models / DeepSeek

DeepSeek V4 Pro

Available

DeepSeek V4 Pro is the larger model in DeepSeek’s V4 family.

Good for Coding agents · Hard reasoning

deepseek-v4-proGet API keyCompare

Is it right for you?

It is slower and costs more per token than V4.1 Flash, and in return it handles harder work better: following a long chain of steps, reasoning about a bug across several files, and writing a plan before it edits. It takes text only. Reasoning is optional.

Best for

  • The main model in a coding agent when Flash makes too many mistakes on multi-step tasks.
  • Debugging and code review where the model needs to reason before it answers.
  • Long-running work you can move to off-peak hours or the Batch API to lower the price.

Not ideal for

  • Screenshots, diagrams or other images: this model takes text only.
  • Very cheap, very frequent calls; DeepSeek V4.1 Flash costs less per token.
  • Prompts longer than 128K tokens, the limit in our catalogue today.

Next to the rest of the DeepSeek line

ModelInputOutputContextPer session
DeepSeek V4 Pro (this page)$0.9307$2.4295128K$0.1894
DeepSeek V4.1 Flash$0.2146$0.8584128K$0.0536

What it costs

Prepaid, per token, no subscription. Set your traffic to see your bill.

percent of input tokens
Estimated monthly spend
$212.74

30 days, at today's prices. You're billed on actual tokens.

Per request
$0.003546
Coding session
$0.19
Per day
$7.09
Suggested key budget
$245.00
Alert at 80%
$196.00

A coding session is 30 requests of 20,000 input tokens, 80% from cache, and 1,000 output tokens each: the same session as the "Per session" column above. Thinking tokens are billed as output, so reasoning raises the cost.

This model has peak and off-peak prices. A request is billed at the price in force when it starts, even if it finishes after the boundary. Batch requests (POST /v1/batches, up to 1,000 per batch) wait for the off-peak window.

Capabilities

What DeepSeek V4 Pro can do, as DeepSeek lists it.

CapabilitySupport
Parallel tool callsNot listed
ReasoningOptional
Image inputNo: text in, text out
JSON outputJSON mode and structured outputs yes
StreamingYes
Prompt cachingCache-read price listed

Get started

Create a key in the console, export it as YUNSHU_API_KEY, then use one of these.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=$YUNSHU_API_KEY
export ANTHROPIC_MODEL=deepseek-v4-pro

Full steps for each tool: integration guides →

Questions

What is DeepSeek V4 Pro?

DeepSeek V4 Pro is the larger model in DeepSeek’s V4 family, made for harder coding and reasoning tasks than V4.1 Flash. It takes text in and returns text.

Does DeepSeek V4 Pro support tool calling?

Yes. Tool calling works in both the OpenAI format (tools) and the Anthropic format (tools with input_schema).

Does DeepSeek V4 Pro support reasoning?

Yes. Reasoning is optional on this model, so you can turn it on for hard problems and off for quick answers.

Should I use V4 Pro or V4.1 Flash?

Start with V4.1 Flash for routine agent work because it costs less per token. Switch to V4 Pro when tasks fail on Flash, for example long multi-file changes. You can also list Flash first and V4 Pro as a fallback with models (OpenAI format) or fallbacks (Anthropic format).