DeepSeek V4 Full Release (July 2026): Pricing, Benchmarks & How It Stacks Up Against GPT-5.6

After three months of preview, DeepSeek V4 reached general availability on July 20, 2026 — with upgraded agent capabilities and peak-valley pricing for the first time, signaling a shift from near-free experimentation to disciplined commercial operations.

TL;DR: DeepSeek V4 GA combines MIT-licensed weights, a 1M-token context window, and an 80.6% SWE-bench Verified open-source record at roughly 1/10 to 1/100 the cost of closed-source flagships. This guide covers the release timeline, CSA/HCA/mHC/Muon architecture, benchmark tables, head-to-head comparisons with GPT-5.6 and Claude Fable 5, peak-valley pricing, and the July 24 API migration deadline — plus a six-step production runbook and FAQ. For private deployment, see our ds4 high-memory Mac cloud inference guide.

00What Is DeepSeek V4 GA?

DeepSeek V4 GA (General Availability) is the production-grade model family DeepSeek shipped on July 20, 2026. It includes V4-Pro (1.6T parameters) and V4-Flash (284B parameters), both released under the MIT license with a 1,000,000-token context window and up to 384K tokens of output per request.

Compared with the April preview, the GA build targets agent tasks, math reasoning, and code generation, and pairs with formal commercial billing — peak-valley differentiated pricing. Legacy endpoint names deepseek-chat and deepseek-reasoner retire permanently on July 24.

  • Self-hostable under MIT: enterprises can deploy privately for data-sovereignty and cross-border compliance.
  • 1M context that actually runs: KV cache memory is just 10% of V3.2 (7% on Flash).
  • Open-source SWE-bench record: 80.6% Verified, tied with Gemini 3.1 Pro for the top open score.
  • API value leader: V4-Pro output at $0.87/M off-peak and $1.74/M at peak — roughly 1/57 of Claude Fable 5.

Why teams are scrambling to migrate now

  • Hard sunset on legacy models: deepseek-chat and deepseek-reasoner stop responding after July 24, 2026 at 15:59 UTC — any missed call site breaks production.
  • Peak-hour billing surprises: Beijing weekday mornings and afternoons double rates; unscheduled batch jobs can erase the savings from June's 75% price cut.
  • Closed-source lock-in: Claude Fable 5 and GPT-5.6 Sol offer no self-host path and charge $50/M or ~$15/M on output.
  • Agent CI fragility: long V4 sessions over shared pools or home hardware suffer bandwidth jitter and dropped SSH — token savings disappear when builds retry.
  • Model routing complexity: Flash vs Pro vs Think High vs Think Max requires explicit routing logic that did not exist under the old two-model API.

01Timeline: Preview to Full Release

DateEvent
2026-04-24V4 preview launch + open weights (MIT), including V4-Pro (1.6T) and V4-Flash (284B)
2026-05Production-tuned build ships; API goes generally available
2026-06V4-Pro output price cut 75% permanently (to $0.87/M tokens)
2026-06-29Email to all API users announcing mid-July GA and first disclosure of peak-valley pricing
2026-07-19Multiple developers receive GA gray-release access; press reports "full build could land tomorrow"
2026-07-20GA production release (publication date of this article)
2026-07-24Legacy endpoints deepseek-chat / deepseek-reasoner permanently retired
What changed: The preview was already strong; GA layers agent, math, and code improvements on top, plus peak-valley billing and a firm legacy-endpoint retirement date. See our June AI price-cut roundup for context on the 75% V4-Pro discount.

02Architecture Deep Dive

Model family overview

SpecV4-ProV4-Flash
Total parameters1.6 trillion (1.6T)284 billion (284B)
Active parameters per token49 billion (49B)13 billion (13B)
Transformer layers6143
Context window1,000,000 tokens1,000,000 tokens
Max output384K tokens384K tokens
PrecisionFP4 (expert weights) + FP8 (everything else)FP4 + FP8 mixed
Pre-training data33T+ tokens32T+ tokens
LicenseMITMIT

Hybrid attention (CSA + HCA)

DeepSeek V4 drops the MLA design from V2/V3 in favor of a hybrid of two new attention mechanisms:

Compressed Sparse Attention (CSA): KV sequences are compressed 4x via Softmax-gated pooling, then an FP4 "lightning indexer" selects sparse top-k tokens (top-1024 on Pro, top-512 on Flash) while retaining a 128-token sliding window for recent context. At 1M tokens, inference requires only 27% of the FLOPs compared with V3.2.

Heavy Compressed Attention (HCA): tokens are compressed 128x before global dense attention to capture long-range dependencies. Flash uses HCA in the first two layers, then alternates CSA and HCA; Pro follows a similar pattern.

Net effect: at 1M tokens, KV cache memory is just 10% of V3.2 (as low as 7% on Flash).

Manifold-Constrained Hyper-Connections (mHC) and Muon optimizer

mHC upgrades standard residual connections with a 4-channel residual stream and doubly-stochastic matrix constraints (Birkhoff polytope), keeping signals stable across 61 layers. The Muon optimizer applies Newton-Schulz orthogonalization to gradients for faster convergence and steadier training.

Three inference modes

ModeBehaviorBest for
Non-thinkNo chain-of-thought; fastest responseSimple Q&A, routing, classification
Think HighExplicit reasoning (<redacted_thinking> tags)Medium-complexity tasks, code debugging
Think MaxMaximum reasoning depth; needs 384K+ contextHard math, long-horizon agents

Official recommended sampling: temperature=1.0, top_p=1.0 across all modes.

03Benchmarks: The Open-Source Scorecard

BenchmarkDeepSeek V4-ProClaude Fable 5GPT-5.6 UltraClaude Opus 4.8
SWE-bench Verified80.6% (open-source high)96.0%N/A~69%
SWE-bench Pro55.4%80.3%78.1%69.2%
LiveCodeBench (Pass@1)93.5%88.1%87.4%83.2%
Codeforces Elo3,206
Terminal-Bench 2.183.9%88.0%85.1%82.7%

SWE-bench Verified tests real GitHub bug fixes; 80.6% is the current open-model high. SWE-bench Pro is stricter — Claude Fable 5 leads at 80.3%.

Cost-performance cross-check

Artificial Analysis data on Strategy & Ops index tasks:

  • Claude Fable 5: $3.48 per run, score 50
  • DeepSeek V4-Pro: $0.03 per run, score 38
  • DeepSeek V4-Flash: under $0.04 per run across all six index task types

Fable 5 costs 116x more than V4-Pro while scoring only ~12 points higher (~31%). Compare with our Kimi K3 review: K3 is larger on paper but API output runs $15/M — V4-Pro still dominates cost-sensitive workloads.

04Full Comparison: GPT-5.6 Sol and Claude Fable 5

DimensionDeepSeek V4-ProGPT-5.6 SolClaude Fable 5
Open sourceMIT licenseClosedClosed
Self-hostableYesNoNo
Context window1M tokensNot disclosed1M tokens
Code capabilityVery strong (near Fable 5)Very strongStrongest
API output (off-peak)$0.87/M tokens~$15/M$50/M
API output (peak)$1.74/M tokens
Agent capabilityStrong; multi-agent orchestration supportedStrongStrongest
Data privacyPrivate deployment possibleNot supportedNot supported

Selection guide:

  • Tight budget / high call volume / private deploy: V4-Pro or V4-Flash
  • Maximum code quality, cost secondary: Claude Fable 5 (highest SWE-bench Pro)
  • Hard algorithms and math reasoning: GPT-5.6 Sol / Ultra
  • Massive log or document ingestion: V4-Flash (cache-hit input at just $0.0028/M)

05Peak-Valley Pricing: How to Save Money

The most watched GA change: DeepSeek's first peak-valley differentiated pricing, modeled on time-of-use electricity rates. Peak hours (Beijing time): weekdays 09:00–12:00 and 14:00–18:00, when rates double.

ModelLine itemOff-peakPeak
V4-ProInput (cache hit)¥0.025 / $0.0035 / 1M2x
Input (cache miss)¥3.00 / $0.435 / 1M¥6.00 / $0.87
Output¥6.00 / $0.87 / 1M¥12.00 / $1.74
V4-FlashInput (cache hit)¥0.02 / $0.0028 / 1M2x
Input (cache miss)¥1.00 / $0.14 / 1M¥2.00 / $0.28
Output¥2.00 / $0.28 / 1M¥4.00 / $0.56

Four ways to cut spend:

  1. Schedule non-real-time jobs outside peak windows (after 18:00 or before 09:00)
  2. Lean on prompt cache — V4-Flash cache hits cost only $0.0028/M
  3. Route simple traffic to Flash; escalate hard reasoning to Pro
  4. Watch billing-change emails (DeepSeek promises 24-hour notice)

Even at peak, V4-Pro output at $1.74/M is still 8.6x cheaper than Claude Opus 4.8 ($15/M).

06API Migration Guide (Deadline: July 24)

Critical: Legacy model names deepseek-chat and deepseek-reasoner stop responding on July 24, 2026 at 15:59 UTC (23:59 Beijing time).
Legacy modelNew modelNotes
deepseek-chatdeepseek-v4-flash (non-thinking mode)Fast; good for lightweight tasks
deepseek-reasonerdeepseek-v4-flash (thinking mode)Or upgrade to deepseek-v4-pro for stronger reasoning
Python OpenAI SDK migration
client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[...],
)
Anthropic SDK compatible call
client = anthropic.Anthropic(
    api_key="your-deepseek-api-key",
    base_url="https://api.deepseek.com"
)
message = client.messages.create(
    model="deepseek-v4-pro",
    max_tokens=4096,
    messages=[{"role": "user", "content": "Hello, DeepSeek V4!"}]
)

V4 supports both OpenAI ChatCompletions and Anthropic Messages formats. The base_url stays the same — update only the model parameter.

07Six-Step Runbook: Production V4 GA Rollout

  1. 01
    Audit your codebase: grep for deepseek-chat and deepseek-reasoner; list every call site and environment variable.
  2. 02
    Pick target models: lightweight chat to deepseek-v4-flash; complex agent/code work to deepseek-v4-pro; enable thinking mode via extra_body.
  3. 03
    Staging smoke tests: before July 24, validate Non-think, Think High, and Think Max output quality in pre-production.
  4. 04
    Configure peak-valley scheduling: cron batch doc processing and code review to after 18:00 or weekends; target 80%+ cache hit rate.
  5. 05
    Build Flash-to-Pro routing: intent classification and FAQ on Flash ($0.28/M output); escalate hard reasoning to Pro.
  6. 06
    Deploy agent hosts: long-running V4 agent sessions need stable SSH and dedicated compute. Review pricing for NUKCLOUD dedicated Mac nodes as your CI and agent build plane — shared-pool tail latency can erase API cost wins.

08Summary and FAQ

DeepSeek V4 GA is one of the most important open-model milestones of 2026. It does not beat Claude Fable 5 or GPT-5.6 on every axis — not yet — but it delivers the strongest open-source performance at roughly 1/10 to 1/100 the cost of closed flagships. Peak-valley pricing adds operational complexity, yet off-peak rates remain fiercely competitive. DeepSeek's evolution from price disruptor to a rules-based commercial platform is a sign of maturity.

Teams running V4 agents against large codebases still need a stable, auditable local dev and CI plane. Shared minute pools, desk-side Macs, and oversubscribed VPS hosts introduce bandwidth jitter, neighbor CPU contention, and dropped long-lived connections — friction that quickly eats token savings. For production agent hosts, NUKCLOUD multi-region bare-metal Mac / cloud Mac nodes provide dedicated Apple Silicon compute with clear tenant boundaries. Compare specs on the pricing page and provision a trial via order.

How is the GA release different from the preview?
GA adds targeted gains in agent workflows, math, and code generation, plus peak-valley billing. The underlying 1.6T MoE architecture is unchanged; production stability and commercial systems are now fully ready.
When are peak pricing hours?
Beijing weekdays 09:00–12:00 and 14:00–18:00 — rates double. Schedule batch jobs after 18:00 for off-peak pricing.
When does deepseek-chat retire?
July 24, 2026 at 15:59 UTC (23:59 Beijing time). Migrate to deepseek-v4-flash or deepseek-v4-pro before then.
Can I self-host DeepSeek V4?
Yes — MIT license. High-memory Apple Silicon can run the Flash variant. See our ds4 local inference runbook.
Is DeepSeek V4 cheaper than GPT-5.6?
V4-Pro output is $0.87/M off-peak and $1.74/M at peak — roughly 1/17 of GPT-5.6 Sol (~$15/M). It also holds the open-source SWE-bench Verified record at 80.6%.
What infrastructure should run V4 agent CI?
Long-running V4 agents need stable SSH, predictable disk IO, and no neighbor contention. NUKCLOUD dedicated Mac nodes work well as agent hosts and CI build planes.

Data as of 2026-07-20. Sources: DeepSeek official documentation, arXiv:2606.19348, HuggingFace model pages, LLMReference, Artificial Analysis, MangoMind Blog.