Skip to main content
AnyAIGC

DeepSeek will keep serving the V4 Pro API after September 14, with billing unchanged

DeepSeek · deepseek-v4-pro

DeepSeek V4 Pro API

The DeepSeek V4 flagship, an MoE with 1.6T total and 49B active parameters. The August GA release added low, high and max reasoning effort for hard coding and agent work.

60% offvs. DeepSeek official peak price · input $0.5346 / 1M, one rate all day

Track down the memory leak in this service from the terminal and write a fix plus a regression test

deepseek-v4-pro costs $0.5346 per 1M input tokens, $1.6038 per 1M output tokens and $0.0178 per 1M cache hits, at one rate all day. It works with OpenAI-compatible clients and Claude Code.

  • Price 60% off official peak
  • Model ID deepseek-v4-pro
  • Context 1M tokens
  • Input $0.5346 / 1M
  • Concurrency Unlimited
  • Business Self-service invoices
About the model

The 1.6T-parameter V4 flagship

DeepSeek released the V4 preview in April 2026 with two models, V4 Pro and V4 Flash, and made a 1M-token context the default. V4 Pro reached general availability on August 13 with three reasoning effort levels: low, high and max.

V4 Pro is an MoE with 1.6T total and 49B active parameters. It uses a hybrid of Compressed Sparse Attention and Heavily Compressed Attention, was pretrained on 32T tokens, and has open weights under the MIT license. It offers a 1M-token context, up to 384K output tokens, and both thinking and non-thinking modes, with thinking on by default.

After V4.1 Flash shipped in September, DeepSeek briefly planned to retire V4 Pro, then said it would keep serving it with billing unchanged. On AnyAIGC, deepseek-v4-pro runs on the OpenAI-compatible /v1/chat/completions endpoint and works directly in Claude Code, at one rate all day with no concurrency cap.

Context window
1Mtokens
Max output
384Ktokens
Parameters
1.6T49B active, MoE
Input
TextText only
Thinking
On or offreasoning_effort: low / high / max
Weights
OpenMIT license
Capabilities

What DeepSeek V4 Pro can do

  • 01

    Software engineering

    At Max effort, DeepSeek reports SWE-bench Verified 80.6 and LiveCodeBench 93.5 for the V4 preview.

  • 02

    Terminal and agents

    DeepSeek reports Terminal Bench 2.0 at 67.9 and BrowseComp at 83.4 (V4 preview, Max effort).

  • 03

    Science reasoning

    DeepSeek reports GPQA Diamond 90.1 and HLE 37.7 (V4 preview, Max effort).

  • 04

    Adjustable reasoning

    The GA release offers low, high and max. Use low on simple tasks to save tokens and max on hard problems.

  • 05

    Tool calls and JSON

    DeepSeek's docs list tool calls and JSON output, so it fits agent frameworks and automation pipelines.

  • 06

    1M context

    Up to 384K output tokens. A whole repo or long document fits in a single context.

Pricing

DeepSeek V4 Pro API pricing

Per-token billing at one rate all day, with no subscription or monthly fee. About 60% off DeepSeek's official peak price.

  • Per-token billingInput, output and cache hits priced separately
  • One rate all dayOfficial peak price is 2× off-peak
  • About 60% offVs. DeepSeek's official peak price
  • No concurrency capOn by default for every user
deepseek-v4-pro prices per 1M tokens (USD): AnyAIGC vs. DeepSeek official off-peak and peak
ItemModelAnyAIGCOfficial off-peakOfficial peakDiscount
InputCache miss, per 1M tokensdeepseek-v4-pro$0.5346$0.66$1.3260% off
OutputPer 1M tokens, incl. thinkingdeepseek-v4-pro$1.6038$1.98$3.9660% off
Cache hitPer 1M tokensdeepseek-v4-pro$0.0178$0.022$0.04460% off

Prices are in USD and billed on the tokens you actually use. Output includes thinking tokens, and repeated prompt prefixes are billed at the cache-hit rate. Official prices come from the DeepSeek API pricing page (USD). Peak time is weekdays 01:00–04:00 and 06:00–10:00 UTC (9:00–12:00 and 14:00–18:00 Beijing time); all other hours are off-peak. The table shows the lowest price in the model catalog. Live prices are shown in the AnyAIGC model catalog.

Cost examples

Estimates for common workloads. Struck-through figures are the same usage at DeepSeek's official off-peak and peak prices.

  • 20-turn coding agent

    Each turn: 50K cache-hit tokens + 5,000 input + 3,000 output

    $0.167

    Official peak $0.414 · off-peak $0.207

  • 500K-token codebase review

    500K input tokens + 5,000 output

    $0.275

    Official peak $0.680 · off-peak $0.340

  • 1M input + 1M output

    1M input tokens + 1M output tokens

    $2.14

    Official peak $5.28 · off-peak $2.64

Benchmarks

DeepSeek V4 Pro official benchmarks

Instruct model results DeepSeek published with the V4 preview (Max reasoning effort), compared with V4 Flash from the same release.

V4 Pro vs. V4 Flash · official evals

  • V4 Pro · SWE-bench Verified80.6
  • V4 Flash · SWE-bench Verified79.0
  • V4 Pro · Terminal Bench 2.067.9
  • V4 Flash · Terminal Bench 2.056.9
  • V4 Pro · BrowseComp83.4
  • V4 Flash · BrowseComp73.2
DeepSeek V4 Pro vs. V4 Flash official benchmarks (V4 preview, Max reasoning effort)
BenchmarkV4 ProV4 Flash
SWE-bench VerifiedSoftware engineering, Resolved80.679.0
LiveCodeBenchCoding, Pass@193.591.6
GPQA DiamondScience reasoning, Pass@190.188.1
HLEGeneral reasoning, Pass@137.734.8
Terminal Bench 2.0Terminal coding, Acc67.956.9
BrowseCompWeb browsing, Pass@183.473.2
CodeforcesCompetitive programming, Rating32063052

Source: the DeepSeek V4 model card, results from the April 2026 V4 preview. DeepSeek published the August V4 Pro GA results as images only, so they are not listed here.

Compare

V4 Pro vs. V4.1 Flash vs. V4 Flash

DeepSeek says V4.1 Flash now beats V4 Pro, so try it first on new projects. Workloads already tuned for V4 Pro can stay put.

DeepSeek V4 Pro, V4.1 Flash and V4 Flash compared; prices are AnyAIGC USD per 1M tokens
SpecV4 ProV4.1 FlashV4 Flash
StatusAvailableLatestRetired by DeepSeek
Context1M1M1M
InputTextText, imagesText
AnyAIGC inputPer 1M tokens$0.5346$0.1215$0.1215
AnyAIGC outputPer 1M tokens$1.6038$0.4860$0.4860
Cache hitPer 1M tokens$0.0178$0.0024$0.0024

Specs come from the official DeepSeek API docs and Hugging Face model cards. Prices are current AnyAIGC prices; live prices are shown in the model catalog. See the DeepSeek V4.1 Flash API guide.

Use cases

What DeepSeek V4 Pro is good for

  • 01 · Large repos

    Cross-module refactors and migrations

    Load a whole codebase into the 1M context, let V4 Pro map the dependencies and propose a plan, then execute and verify it step by step with terminal tools.

  • 02 · Coding agents

    Claude Code and custom agents

    Run long tasks in Claude Code or your own agent framework: read code, run tests, fix errors. AnyAIGC has no concurrency cap.

  • 03 · Deep reasoning

    Math, research and analysis

    Use max effort on hard problems for a full derivation, and low effort for everyday questions to save output tokens.

  • 04 · Stable production

    Workflows already tuned

    Teams that have tuned prompts and eval sets for V4 Pro can keep using it. DeepSeek has confirmed it will keep serving the model.

Quick start

Get started with the DeepSeek V4 Pro API

  1. Sign up and add credit: create an account at anyaigc.ai. Top up from $1; your balance works across every model on the platform.
  2. Create an API key: create a key in the console, copy the sk- key, and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call POST https://anyaigc.ai/v1/chat/completions with model set to deepseek-v4-pro and an Authorization: Bearer header. With the OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
POST /v1/chat/completions
curl https://anyaigc.ai/v1/chat/completions \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [
      {"role": "user", "content": "Explain what a MoE model is in three sentences."}
    ]
  }'
Python · openai SDK
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://anyaigc.ai/v1",
    api_key=os.environ["ANYAIGC_API_KEY"],
)

resp = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[
        {"role": "system", "content": "You are a senior backend engineer. Answer with runnable code."},
        {"role": "user", "content": "Write a Go HTTP client with timeouts and retries."},
    ],
)
print(resp.choices[0].message.content)
print(resp.usage)  # prompt_tokens_details.cached_tokens = tokens billed at the cache-hit rate
Python · reasoning_effort
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

# Toggle thinking with the thinking field (enabled / disabled); set depth with reasoning_effort
resp = client.chat.completions.create(
    model="deepseek-v4-pro",
    reasoning_effort="high",
    extra_body={"thinking": {"type": "enabled"}},
    messages=[{"role": "user", "content": "Prove that the square root of 2 is irrational and point out the key step."}],
)
print(resp.choices[0].message.content)
print(resp.usage.completion_tokens_details.reasoning_tokens)  # tokens spent on thinking
Python · tools
import json
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

tools = [{
    "type": "function",
    "function": {
        "name": "run_tests",
        "description": "Run the unit tests at a path in the repo and return the failing cases",
        "parameters": {
            "type": "object",
            "properties": {"path": {"type": "string", "description": "Test file or directory"}},
            "required": ["path"],
        },
    },
}]
messages = [{"role": "user", "content": "Run tests/test_api.py and tell me which cases fail."}]

resp = client.chat.completions.create(model="deepseek-v4-pro", messages=messages, tools=tools)
msg = resp.choices[0].message
# Send the full assistant message back unchanged, then append the tool results
messages.append(msg.model_dump(exclude_none=True))
for call in msg.tool_calls or []:
    args = json.loads(call.function.arguments)
    result = {"path": args["path"], "failed": ["test_login_timeout"]}  # replace with the real result
    messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)})

final = client.chat.completions.create(model="deepseek-v4-pro", messages=messages, tools=tools)
print(final.choices[0].message.content)

Parameters: DeepSeek says the V4 series thinks by default. The thinking field in the request body turns it on or off ({"type": "enabled"} or {"type": "disabled"}), and reasoning_effort sets the depth (officially low / high / max). Thinking tokens count as output and show up in usage.completion_tokens_details.reasoning_tokens. Sampling parameters such as temperature have no effect in thinking mode.

See the Chat Completions API reference for every parameter. Swap the model name in the doc examples for the DeepSeek model ID you want.

Claude Code

Use DeepSeek V4 Pro in Claude Code

Point Claude Code at DeepSeek V4 Pro: edit one config file and your terminal coding agent runs on V4 Pro, billed per token.

  1. Install Claude Code: use the official installer, for example curl -fsSL https://claude.ai/install.sh | bash on macOS or Linux.
  2. Add the config: edit ~/.claude/settings.json, add the env block below, and replace ANTHROPIC_AUTH_TOKEN with the key you created on AnyAIGC.
  3. Start coding: run claude in your project folder. Type /model to confirm the current model is deepseek-v4-pro.
~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://anyaigc.ai",
    "ANTHROPIC_AUTH_TOKEN": "sk-your-API-key",
    "ANTHROPIC_MODEL": "deepseek-v4-pro",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4-pro",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-v4-pro",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4.1-flash",
    "API_TIMEOUT_MS": "300000",
    "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
  }
}

Save on subtasks: the config sets ANTHROPIC_DEFAULT_HAIKU_MODEL to deepseek-v4.1-flash, so Claude Code sends lightweight subtasks to the cheaper model while the main task stays on V4 Pro.

For full steps and common errors, see the Claude Code setup guide. Swap the model name in the guide for deepseek-v4-pro.

Enterprise

DeepSeek V4 Pro API for teams and enterprises

Teams can top up, issue invoices themselves, and work with a dedicated support and technical contact.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

SPECS

Specs and how to choose it

DeepSeek's release notes state that DeepSeek-V4-Pro has 1.6T total and 49B active parameters, and say it leads open models in agentic coding, world knowledge, and math, STEM and coding reasoning.

The official pricing page lists version DeepSeek-V4-Pro-0813 with a 1M context length and a 384K maximum output, supporting both thinking and non-thinking modes.

It supports JSON output, tool calls, the Responses API and the Anthropic API, does not support vision, and has an official concurrency limit of 500.

This page lists Input at $0.5346, Output at $1.6038, Cache hit at $0.0178, matching the pricing table above.

Compared with deepseek-v4.1-flash: the official pricing page says V4.1 Flash supports vision and Pro does not, and V4.1 Flash has a concurrency limit of 2500 against 500 for Pro.

Specs come from the vendor's official documentation (api-docs.deepseek.com). The table on this page is the price, and the model catalog is authoritative for live rates.

FAQ

DeepSeek V4 Pro API FAQ

How much does the DeepSeek V4 Pro API cost?

deepseek-v4-pro on AnyAIGC is billed per token: $0.5346 per 1M input tokens, $1.6038 per 1M output tokens and $0.0178 per 1M cache-hit tokens. DeepSeek's official off-peak USD price is $0.66 input, $1.98 output and $0.022 cache hit, and it doubles at peak times. Output includes thinking tokens. Live prices are shown in the model catalog.

Does AnyAIGC have peak and off-peak pricing?

No. The official DeepSeek API uses time-of-day pricing: weekdays 01:00–04:00 and 06:00–10:00 UTC (9:00–12:00 and 14:00–18:00 Beijing time) is peak time, and peak prices are double the off-peak prices. On AnyAIGC, deepseek-v4-pro is billed at one rate around the clock. That rate is about 60% off the official peak price. Live prices are shown in the model catalog.

Is DeepSeek V4 Pro being retired?

Not at this time. On September 10, 2026 DeepSeek announced a plan to retire V4 Pro, then said in its official changelog that, in response to user demand, it will keep serving the V4 Pro API after September 14 with billing unchanged.

Should I use V4 Pro or V4.1 Flash?

DeepSeek says V4.1 Flash now beats V4 Pro on performance, cost, speed and total task time. Its input price is about a quarter of V4 Pro's and it accepts images, so try it first on new projects. If your prompts and workflows are already tuned for V4 Pro in production, you can keep using V4 Pro.

How do I set V4 Pro's reasoning effort?

The August V4 Pro GA release added three reasoning effort levels: low, high and max. Thinking is on by default at high. Set the level with reasoning_effort, or turn thinking off with {"type": "disabled"} in the thinking field. See the quick start on this page for an example.

What are V4 Pro's parameters and context length?

DeepSeek lists V4 Pro as an MoE with 1.6T total and 49B active parameters, a hybrid attention design and 32T pretraining tokens. It has a 1M-token context and up to 384K output tokens, accepts text only, and its weights are open under the MIT license.

Can I use DeepSeek V4 Pro in Claude Code?

Yes. DeepSeek models on AnyAIGC support both the OpenAI and the Anthropic API formats. In the env block of ~/.claude/settings.json, set ANTHROPIC_BASE_URL to https://anyaigc.ai, ANTHROPIC_AUTH_TOKEN to your API key and ANTHROPIC_MODEL to deepseek-v4-pro, then run claude. You pay per token.

Are there concurrency or rate limits?

AnyAIGC does not cap concurrency for deepseek-v4-pro, and every user gets this by default. That suits batch jobs, CI pipelines and parallel agents.

How do I get a DeepSeek V4 Pro API key?

Sign up at anyaigc.ai, add credit, and create a key in the console. The same key works for every DeepSeek model and 300+ other models on the platform, so you do not need a separate DeepSeek Platform account.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Run DeepSeek V4 Pro at one rate all day

Sign up, create an API key, and you can use deepseek-v4-pro in your code or Claude Code within minutes.