Open-Source LLM DeepSeek V4 GA 2026-07-20

DeepSeek V4 Full Release: Pricing, Benchmarks, and How It Stacks Up Against GPT-5.6

Who is this for? Developers running DeepSeek, GPT, or Claude in production who need a straight answer on what changed in the July 20 GA drop—and what to do before deepseek-chat dies on July 24. What you get: Timeline, architecture breakdown, benchmark tables, peak-valley pricing math, a six-step migration runbook, and a scenario decision matrix. Inside: spec sheet, CSA/HCA attention, benchmark tables, API pricing, six-step migration, decision matrix, FAQ x6.

DeepSeek V4 GA release July 2026 1.6T MoE open-source LLM benchmark peak-valley pricing API migration

Cross-vendor context: see our GPT-5.6 Sol review, DeepSeek V4 Flash local inference guide, June 2026 AI pricing deals roundup, and DeepSeek custom inference chip analysis.

After three months of preview access, DeepSeek V4 hit general availability on July 20, 2026. The architecture is the same 1.6T MoE design that shipped in April—but the GA build adds measurable gains on agentic tasks, math, and code generation, plus something the community has never seen from DeepSeek: time-based peak pricing. If you are still calling deepseek-chat, you have four days.

01 · TL;DR

  • What shipped: DeepSeek V4 GA on July 20, 2026—production-stable V4-Pro (1.6T MoE, 49B active) and V4-Flash (284B, 13B active), both with 1M context, MIT license, and model IDs deepseek-v4-pro / deepseek-v4-flash.
  • Performance: V4-Pro scores 80.6% on SWE-bench Verified—the best open-weight result, tied with Gemini 3.1 Pro. Leads LiveCodeBench (93.5%) and Codeforces Elo (3,206). Claude Fable 5 still leads SWE-bench Pro (80.3% vs 55.4%).
  • Pricing shift: First peak-valley billing. Off-peak V4-Pro output: $0.87/M; peak doubles to $1.74/M. Beijing weekday peaks: 09:00–12:00 and 14:00–18:00.
  • Deadline: Legacy names deepseek-chat and deepseek-reasoner retire July 24, 2026 at 15:59 UTC. Migrate now.
  • Cost reality: Artificial Analysis Strategy & Ops index: Fable 5 costs $3.48/task at 50 points; V4-Pro costs $0.03/task at 38 points—116x cheaper for a 24% score gap.
  • Bottom line: Strongest open-weight coding model of 2026 with production pricing that still undercuts every closed-source rival—even at peak hour.

02 · Three GA Pitfalls: Why "Still Cheap" Does Not Mean "Still Simple"

  1. Peak-hour blind spot: Off-peak V4-Pro output at $0.87/M looks unbeatable—until your CI pipeline runs during Beijing business hours and bills double. Batch jobs scheduled naively can erase the cost advantage you switched for.
  2. Benchmark headline trap: 80.6% SWE-bench Verified is a genuine open-weight record, but Fable 5 hits 96% Verified and 80.3% on the harder SWE-bench Pro. Reading "open-source king" as "beats everything" will misroute complex multi-file repo work.
  3. Migration procrastination: deepseek-chat still resolves today—but only until July 24. Staging tests deferred to the weekend become a production outage if you miss the UTC cutoff by a few hours.

03 · What's New in the GA Release vs. the Preview?

The preview landed April 24, 2026 with MIT-licensed weights. Today's GA is that architecture graduating into production—not a redesign.

3.1 Release Timeline

Date Event
April 24, 2026V4 preview + open weights (MIT): V4-Pro (1.6T) and V4-Flash (284B)
May 2026Production-tuned V4-Flash and V4-Pro; API generally available
June 2026V4-Pro output price permanently cut 75% to $0.87/M tokens
June 29, 2026Email to all API users: GA mid-July, first disclosure of peak-valley pricing
July 19, 2026Gray-release access for select developers; media reports "full version imminent"
July 20, 2026GA release (today)
July 24, 2026deepseek-chat and deepseek-reasoner permanently disabled (15:59 UTC)

3.2 Preview vs GA at a Glance

Dimension Preview (April 2026) GA (July 2026)
PerformanceBaselineImproved agentic tasks, math, code generation
PricingFlat ratePeak/off-peak pricing introduced
Model namesdeepseek-v4-pro, deepseek-v4-flashSame
Legacy endpointsdeepseek-chat routes to V4-FlashRetiring July 24, 2026
AvailabilityPreview (limited)Full GA, globally available

The underlying MoE design is unchanged. GA is about stability, optimization, and committing to a commercial pricing structure—DeepSeek's transition from "near-free" to disciplined platform economics.

04 · How Does DeepSeek Make 1M Tokens Practical?

Most models advertise 1M context on paper but choke in production—the KV cache alone becomes prohibitive. V4 actually solves this through three architectural moves that replace the Multi-head Latent Attention (MLA) from V2/V3.

4.1 Model Family Specs

Spec V4-Pro V4-Flash
Total parameters1.6 trillion284 billion
Active per token49B (3% of total)13B (4.6% of total)
Transformer layers6143
Context window1,000,000 tokens1,000,000 tokens
Max output384K tokens384K tokens
PrecisionFP4 (MoE experts) + FP8 (rest)FP4 + FP8 mixed
Training data33T+ tokens32T+ tokens
LicenseMITMIT

4.2 Compressed Sparse Attention (CSA)

  • Compresses KV sequences 4x via softmax-gated pooling
  • FP4 "Lightning Indexer" selects top-k relevant blocks (top-1024 for Pro, top-512 for Flash)
  • Retains a 128-token sliding window for recent context

4.3 Heavily Compressed Attention (HCA)

  • Compresses tokens 128x, then runs dense global attention
  • Captures long-range dependencies CSA might miss
  • CSA and HCA alternate across layers (V4-Flash uses HCA in the first 2 layers, then alternates)

Hard data point #1: At 1M tokens, V4-Pro uses only 27% of the inference FLOPs of DeepSeek V3.2. KV cache memory drops to 10% of V3.2's footprint (V4-Flash: just 7%). That is what makes million-token serving economically viable—not a marketing checkbox.

4.4 Manifold-Constrained Hyper-Connections (mHC)

Standard residual connections (x = x + f(x)) degrade in 61-layer networks. mHC introduces a 4-channel residual stream governed by a doubly stochastic matrix (Birkhoff polytope constraint), keeping gradient signals stable through extreme depth without sacrificing expressivity.

4.5 Muon Optimizer

V4 trained with the Muon optimizer instead of AdamW, applying Newton-Schulz orthogonalization to condition gradient steps—faster convergence and more stable training at scale.

4.6 Three Reasoning Modes

Mode Behavior Best for
Non-thinkNo chain of thought; fastest responseSimple Q&A, routing, classification
Think HighExplicit reasoning in <redacted_thinking> blocksCode debugging, medium-complexity tasks
Think MaxMaximum reasoning effort; needs 384K+ contextComplex math, multi-step agent planning

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

05 · Where Does V4-Pro Win—and Where Doesn't It?

Figures below are from DeepSeek official reporting and third-party indices as of July 2026.

5.1 Core Benchmark Table

Benchmark DeepSeek V4-Pro Claude Fable 5 GPT-5.6 Ultra Claude Opus 4.8
SWE-bench Verified80.6% (open-weight record)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%

Reading the table: SWE-bench Verified tests real GitHub bug fixes—80.6% is the best open-weight score, tied with Gemini 3.1 Pro. Fable 5 dominates the harder SWE-bench Pro at 80.3%. V4-Pro owns competitive programming (LiveCodeBench, Codeforces) but trails on terminal-heavy agent workflows.

5.2 Cost-Performance Reality Check

Hard data point #2: Artificial Analysis Strategy & Operations index:

  • Claude Fable 5: 50 points, $3.48 per task
  • DeepSeek V4-Pro: 38 points, $0.03 per task
  • DeepSeek V4-Flash: all six index task categories below $0.04 per task

Fable 5 costs 116x more for roughly a 31% score advantage (12 points on a 38-point baseline). For high-volume production, that math is hard to ignore.

06 · How Does DeepSeek V4 Stack Up Against GPT-5.6 and Claude Fable 5?

Dimension DeepSeek V4-Pro GPT-5.6 Sol Claude Fable 5
Open weights / self-hostableYes (MIT)NoNo
1M contextYesNot confirmedYes
Best overall codingSecond tierSecond tierLeads SWE-bench Pro
Best algorithms / mathLiveCodeBench leaderStrong
Output cost (off-peak)$0.87/M~$15/M~$50/M
Output cost (peak)$1.74/M
Agent orchestrationStrong; multi-agent supportStrongStrongest
Data sovereigntySelf-host possibleNoNo

6.1 Scenario Decision Matrix

Scenario Pick Why
Budget-limited / high-volume APIV4-Pro or V4-Flash$0.87/M off-peak output vs $15–50/M closed-source
Complex multi-file repo surgeryClaude Fable 5SWE-bench Pro 80.3%—widest margin
Algorithm + math reasoningGPT-5.6 Sol / UltraStrong on GPQA-class tasks; M365 Copilot default
Terminal / shell agentsGPT-5.6 SolTerminal-Bench 2.1 leader at 85.1%
Massive log / document processingV4-FlashCache-hit input at $0.0028/M; 1M context
Private deployment / data residencyV4-Pro (MIT)Only frontier-tier option you can self-host

07 · What Is DeepSeek Peak-Valley Pricing?

GA's most significant operational change: rates double during Beijing weekday peak hours (09:00–12:00 and 14:00–18:00). Think of it as time-of-use electricity for inference.

7.1 Full Pricing Table

Model Item Off-Peak Peak
V4-ProInput (cache hit)$0.0035/M2x
Input (cache miss)$0.435/M$0.87/M
Output$0.87/M$1.74/M
V4-FlashInput (cache hit)$0.0028/M2x
Input (cache miss)$0.14/M$0.28/M
Output$0.28/M$0.56/M

Hard data point #3: Even at peak, V4-Pro output at $1.74/M is 8.6x cheaper than Claude Opus 4.8 ($15/M) and GPT-5.6 Sol (~$15/M). The surcharge is real; the baseline is still the market's best value.

7.2 Four Ways to Cut Your Bill

  1. Schedule batch jobs off-peak. Document processing, data labeling, code review pipelines, nightly reports—run after 18:00 Beijing or before 09:00. A simple cron cut halves your bill.
  2. Maximize cache hit rate. Static system prompts cached on V4-Flash cost $0.0028/M input—essentially free. Put stable content first in your prompt structure.
  3. Route through V4-Flash first. Intent classification, entity extraction, FAQ routing at $0.28/M output; escalate only complex reasoning to V4-Pro. Tiered routing can cut costs 60–80%.
  4. Watch your email. DeepSeek commits to billing-change notifications 24 hours in advance. Keep your account email monitored.

08 · How Do You Migrate Before the July 24 Deadline?

Deadline: July 24, 2026, 15:59 UTC (July 24, 23:59 Beijing time). Legacy names deepseek-chat and deepseek-reasoner stop working permanently.

8.1 Model Name Mapping

Old Model Name New Equivalent Notes
deepseek-chatdeepseek-v4-flash (non-thinking)Drop-in for most chat use cases
deepseek-reasonerdeepseek-v4-flash (thinking) or deepseek-v4-proUpgrade to Pro for stronger reasoning

8.2 Six-Step Migration Runbook

  1. Audit your codebase. Search every repo, config map, and env var for deepseek-chat and deepseek-reasoner—including CI secrets and Terraform modules.
  2. Choose target models. Map lightweight chat to deepseek-v4-flash; reasoning-heavy flows to deepseek-v4-pro with thinking enabled.
  3. Update SDK calls. Swap model strings in OpenAI-compatible and Anthropic SDK paths; base_url stays https://api.deepseek.com.
  4. Configure thinking mode. For former deepseek-reasoner workloads, set extra_body={"thinking": {"type": "enabled", "budget_tokens": 8000}} on Pro.
  5. Test in staging. Run representative tasks—bug fix, long-document summary, multi-step agent—against both Flash and Pro before July 24.
  6. Schedule off-peak for batch pipelines. While migrating, wire cron schedules to avoid Beijing peak hours on high-volume jobs.

8.3 OpenAI SDK (Python)

# Old (stops working July 24) response = client.chat.completions.create( model="deepseek-chat", messages=[{"role": "user", "content": "Hello"}] ) # New response = client.chat.completions.create( model="deepseek-v4-flash", # or "deepseek-v4-pro" messages=[{"role": "user", "content": "Hello"}] ) # Thinking mode (replaces deepseek-reasoner) response = client.chat.completions.create( model="deepseek-v4-pro", messages=[{"role": "user", "content": "Solve this step by step..."}], extra_body={ "thinking": {"type": "enabled", "budget_tokens": 8000} } )

8.4 Anthropic SDK

V4 supports both OpenAI ChatCompletions and Anthropic Messages formats. Swap the model name only:

import anthropic 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": "What changed in the V4 GA release?"}] )

09 · Is DeepSeek V4 Worth It in 2026?

Short answer: yes—especially if cost, openness, or data control matter to your team.

GA does not change the fundamental value proposition from April. It refines it:

  • Strongest open-weight coding model on SWE-bench Verified (80.6%), self-hostable under MIT
  • 1M context that works in production—10% KV cache overhead vs previous generations
  • Pricing that beats every closed-source competitor even at peak rates
  • Three reasoning modes to dial speed vs depth per task

Peak pricing adds operational complexity for 24/7 pipelines, but off-peak rates remain aggressively cheap and the mitigation strategies are straightforward.

Who should upgrade from preview? Everyone in production—the GA build has performance improvements, and legacy model names vanish in four days.

Who should switch from GPT-5.6 or Fable 5? Teams where inference cost or self-hosting matters. If 90% of your API budget goes to tokens, V4-Pro at $0.87/M output deserves evaluation time—even if Fable 5 leads on the hardest benchmarks.

DeepSeek's move from "price disruptor" to "disciplined commercial platform" is maturation, not retreat. The best open-source model of 2026 just got a production seal. Update your API calls before July 24.

10 · Frequently Asked Questions

Q: What is DeepSeek peak-valley pricing?
A: Rates double during Beijing weekday peaks (09:00–12:00, 14:00–18:00). Off-peak V4-Pro output is $0.87/M; peak is $1.74/M. V4-Flash off-peak output is $0.28/M.

Q: Is DeepSeek V4 better than GPT-5.6?
A: Workload-dependent. GPT-5.6 leads Terminal-Bench and complex math; V4-Pro leads LiveCodeBench and open-weight SWE-bench Verified. V4-Pro output costs roughly 17x less off-peak.

Q: When does deepseek-chat get deprecated?
A: July 24, 2026 at 15:59 UTC. Migrate to deepseek-v4-flash or deepseek-v4-pro before then.

Q: Can I self-host DeepSeek V4?
A: Yes—MIT license, weights on Hugging Face since April. Production inference needs serious GPU infrastructure; API is the pragmatic path for most teams.

Q: What is the difference between V4-Pro and V4-Flash?
A: Pro is 1.6T with 49B active (stronger reasoning, $0.87/M output). Flash is 284B with 13B active (faster, cheaper at $0.28/M output). Both have 1M context.

Q: How do I migrate from deepseek-reasoner?
A: Use deepseek-v4-flash with thinking mode, or deepseek-v4-pro with extra_body thinking enabled. Allocate 384K+ context for Think Max workloads.

11 · Rent an Isolated Mac: Clean-Room V4 Migration and API Trials

Before you flip production traffic to deepseek-v4-pro, the safest path is not experimenting on your daily-driver MacBook. Run acceptance on an isolated Apple Silicon node: clone a production-repo subset, configure a DeepSeek API key, wire the new model IDs into Cursor or your agent framework, and execute three task classes—long-document analysis, SWE-bench-style bug fix, multi-step agent loop—then compare bills and output quality against your current GPT or Claude default.

On a primary machine you risk API keys in global shell profiles, million-token context experiments polluting local caches, and no clean rollback if the July 24 migration breaks a hidden deepseek-chat reference in a cron job. Windows and Linux users can partially trial V4 via the API alone, but cannot fully exercise macOS-native toolchains, Keychain credential flows, or Xcode sidecar projects that many coding agents depend on.

A day-rented M-series Mac mini offers a burn-after-reading sandbox: pass migration acceptance, destroy the node, and experimental config never touches your main machine. If you are evaluating self-hosted V4-Flash quantization paths, pair this with our local V4 Flash inference guide. Billing and SSH access are on our bare-metal macOS pricing page.

You can wire DeepSeek V4 into your existing laptop today, but primary machines are for stable delivery. If you want reproducible migration testing and lower Keychain pollution risk before the July 24 cutoff, an isolated Mac trial is the pragmatic call—and rental keeps upfront hardware spend off the books.

12 · Sources

Data as of July 20, 2026. Benchmarks are primarily DeepSeek-reported; model capabilities and pricing may change—confirm against official documentation.