All models
DeepSeek

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

Use DeepSeek V4 Pro on A2Agent with model ID deepseek-v4-pro. The catalog lists a 1M context window. Check token rates below and verify the features your app needs.

Specifications and pricing

Model IDdeepseek-v4-pro
PlatformDeepSeek
Context window1M
Tagged forchat, reasoning
Discount—
Input / 1M tokens$0.660
Output / 1M tokens$1.98

USD per 1M tokens. Final billing depends on your API key group and metered usage.

What DeepSeek V4 Pro costs on A2Agent

Prices on this page come from the live catalog. Compare the official price with the A2Agent price in the table above, then multiply by your monthly token volume.

Good to know

  • DeepSeek status is mixed. Its September 10 announcement says V4.1-Flash is ahead of V4-Pro on its tests and that V4-Pro is being phased out. Its change log of the same day says V4 Pro API service continues with billing unchanged. Check the DeepSeek pricing page for the current state.
  • The reference rates in the table are the DeepSeek off-peak rates as of 2026-11-06. DeepSeek charges twice that at peak hours, Beijing time on weekdays from 09:00 to 12:00 and from 14:00 to 18:00, excluding Chinese public holidays.

Where DeepSeek V4 Pro fits

  • Agentic coding and production agent tasks

    DeepSeek says the general-availability release greatly enhances agent capabilities, with the largest gains in production environments. It fits terminal and multi-step coding work.

    Basis: DeepSeek change log and release post; Terminal Bench 2.1 and DeepSWE results below.

  • Million-token inputs with a very large output

    DeepSeek lists a 1M context window and a 384K maximum output. That suits long analyses and big code generations in one call.

    Basis: DeepSeek pricing page.

  • Choosing how hard it thinks

    DeepSeek supports thinking and non-thinking modes, with low, high and max reasoning effort. Use low for simple tasks, high for daily agent work and max for hard problems.

    Basis: DeepSeek release post and thinking-mode guide.

  • Not for image input

    DeepSeek lists vision as not supported on V4 Pro. DeepSeek V4.1 Flash is tagged for vision in the catalog.

    Basis: DeepSeek pricing page; catalog tags.

Vendor-reported benchmarks

These figures come from the vendor, not from A2Agent tests. Harnesses, reasoning effort and sampling differ between vendors, so do not rank models by them. Checked 2026-11-06.

BenchmarkScoreVendor test conditions
Terminal Bench 2.187.9DeepSeek Harness minimal mode, max reasoning effort, temperature 1.0, top_p 0.95. Pass rate type not stated.
DeepSWE62.7DeepSeek Harness minimal mode, max reasoning effort, temperature 1.0, top_p 0.95. Pass rate type not stated.
HLE42.7 without tools, 60.0 with toolsSampling settings and sample count not stated by DeepSeek.
Toolathlon-Verified74.1Sampling settings and sample count not stated by DeepSeek.

How DeepSeek V4 Pro compares

V4 Pro and V4 Flash both carry a 1M context and both are tagged for reasoning here, so the catalog alone does not establish a quality difference. V4 Pro lists at $0.66 per million input tokens and $1.98 per million output. V4 Flash lists at $0.14 and $0.28. That is roughly five times the input rate and seven times the output rate for the same window and the same tags. The question to test is whether Pro produces more usable answers on your task. Run the same prompts on both and count failed outputs and retries as part of the cost. Three attempts are not a guarantee of a correct answer. Nothing in the catalog data separates the two on context, so a prompt that fits Flash fits Pro as well.

These comparisons use catalog context limits, tags and reference rates, not independent quality benchmarks. Rates can change. Check current pricing above and test your workload; a higher price or a larger context window does not establish better results.

ModelContextInput / output per 1MWhat differs
DeepSeek V4.1 Flash1M—DeepSeek describes V4.1 Flash as the smallest model in its new architecture family, with native visual understanding. Its September 10 post says V4.1-Flash is ahead of V4-Pro on performance, cost, speed and total runtime.
GLM-5.31M—Both list a 1M window. DeepSeek V4 Pro allows 384K of output against 128K for GLM-5.3, and offers thinking and non-thinking modes where GLM-5.3 always reasons.
Kimi K31M—Kimi K3 accepts text and image input and keeps reasoning on; DeepSeek V4 Pro is text only. Moonshot calls K3 its previous-generation flagship.

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

Follow the Claude Code or Codex CLI guide, then test a small reasoning task and tool call. Compare billed usage and accepted outputs with Flash before choosing a default.

Questions

How does V4 Pro differ from V4 Flash?

Same 1M context, same reasoning tag. Pro lists at about five times Flash on input and seven times on 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?

The one your client speaks. The Claude Code guide uses Anthropic Messages and the Codex CLI guide uses OpenAI Responses; each gives the endpoint. Call GET /v1/models with your key first to confirm it can reach this model.

Billed per token. Top up from $5, no top-up fee.