All models
DeepSeek

DeepSeek V4 Pro API: pricing, base URL and quick setup

DeepSeek V4 Pro is available on A2Agent as deepseek-v4-pro at $0.435 per 1M input tokens, with a 1M context window, through one OpenAI-compatible endpoint. Reasoning work at a 1M window when you want the stronger of the two DeepSeek tiers.

Specifications and pricing

Model iddeepseek-v4-pro
PlatformDeepSeek
Context window1M
Tagged forchat, reasoning
Discount
Input / 1M tokens$0.435
Output / 1M tokens$0.870

Prices synced with platform billing (USD per 1M tokens).

Quick setup

curl https://a2agent.me/v1/chat/completions \
  -H "content-type: application/json" \
  -H "authorization: Bearer sk-your-a2agent-key" \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [{"role": "user", "content": "Reply with OK"}]
  }'

Using it from a coding client

Reasoning-heavy sessions in Claude Code and Codex CLI are where the Pro rate earns its keep. If a session is mostly file reading and small edits, Flash does the same job on the same window for a third of the money.

How it compares within its family

DeepSeek sells two V4 tiers here. Both carry a 1M context and both are tagged for reasoning, so the split is cost against capability rather than a feature list. V4 Pro lists at $0.435 per million input tokens and $0.87 per million output. V4 Flash lists at $0.14 and $0.28. That is roughly three times the rate for the same window and the same tags. The rule of thumb falls out of the numbers: reach for Pro when a wrong answer costs more than the tokens it took to get it, and drop to Flash on bulk work where you would rather run the job three times and compare the answers. Nothing in the catalogue data separates the two on context, so a prompt that fits Flash fits Pro as well.

Other models on this platform

Questions

How does V4 Pro differ from V4 Flash?

Same 1M context, same reasoning tag. Pro lists at about three times Flash on both input and output. The decision is cost against capability, not features.

What is the context window?

1M tokens, per the DeepSeek pricing page that feeds the same billing table this gateway charges against.

Do I need a Chinese phone number to use it?

No. A2Agent fronts the upstream, so you register here with an email address and call it from anywhere the gateway serves.

Which API protocol should I use?

Any of the three. One key serves the Anthropic Messages API, the OpenAI Chat Completions and Responses APIs, and the Gemini face.

Trial credit on sign-up, billed per token, no minimum spend.