Preview to Official: What Changes in July
April 24 was the preview. Mid-July is the real launch. Two months of production usage, now graduating to stable.
Since April 24, V4-Pro and V4-Flash have been live in preview: stable enough for production, but labeled preview. DeepSeek confirmed on June 29, 2026 that the official V4 version ships in mid-July. This is not a point release. The official version brings functional enhancements, performance gains, and a new pricing model that changes the economics of peak-hour API usage.
If you are still on deepseek-chat or deepseek-reasoner, you have 24 days to migrate. The legacy endpoints will not survive July 24.
Peak-Valley Pricing: 2x During Business Hours
DeepSeek is introducing time-of-day pricing. Peak hours cost double. Off-peak stays the same.
| Model | Off-Peak Input | Off-Peak Output | Peak Input | Peak Output |
|---|---|---|---|---|
| DeepSeek V4-Flash | $0.14 | $0.28 | $0.28 | $0.56 |
| DeepSeek V4-Pro | $0.435 | $0.87 | $0.87 | $1.74 |
| Claude Opus 4.7 | $5.00 | $25.00 | $5.00 | $25.00 |
| GPT-5.5 | $5.00 | $30.00 | $5.00 | $30.00 |
Peak hours: 9am-12pm and 2pm-6pm daily. Even at peak pricing, V4-Flash output is 44-53x cheaper than GPT-5.5.
Cost comparison at peak vs off-peak
Even at double price, DeepSeek V4 remains dramatically cheaper than closed alternatives. The peak-valley mechanism is about load management, not margin extraction.
DeepSeek says the peak-valley mechanism is designed to optimize resource allocation and enhance service stability. During peak hours (9am-12pm, 2pm-6pm daily), API prices double. Off-peak rates remain at current levels. Even at peak pricing, V4-Flash output ($0.56/M) is 53x cheaper than GPT-5.5 ($30/M).
The strategic implication: batch processing, async workloads, and overnight inference jobs can run at the current rate. Real-time interactive usage during business hours absorbs the premium. This is load management, not price gouging.
DSpark: 85% Faster Generation, Now Live
DeepSeek and Peking University shipped an inference acceleration framework. Single-user generation speeds jumped 57-85%.
On June 27, DeepSeek collaborated with Peking University to release DSpark, an inference acceleration framework, and simultaneously open-sourced DeepSpec, a full-stack speculative decoding toolchain. The research paper, authored by DeepSeek founder Liang Wenfeng, has been uploaded to public code repositories.
This is DeepSeek first major open-source technical release following its $69 billion funding round. The benchmarks are not theoretical: DSpark has been fully deployed across online services and validated in production.
DSpark means the July launch ships faster than the preview. The inference speed improvement is not incremental. It changes the real-time interaction quality for both models.
Full Model Specifications
Everything confirmed from official sources, Hugging Face model cards, and the technical report.
| Specification | V4-Pro | V4-Flash |
|---|---|---|
| Total Parameters | 1.6 Trillion | 284 Billion |
| Active Parameters / Token | 49 Billion | 13 Billion |
| Pre-training Tokens | 33 Trillion+ | |
| Context Window | 1,000,000 tokens (default) | |
| Max Output | 384,000 tokens | |
| Architecture | Mixture-of-Experts (MoE), 1 shared + 256 routed experts, top-k=8 | |
| Attention | Hybrid: CSA + HCA (DeepSeek Sparse Attention) | |
| License | MIT (open weights, commercial use, fine-tuning allowed) | |
| Reasoning Modes | Non-think, Think High, Think Max | |
| API Compatibility | OpenAI ChatCompletions + Anthropic API formats | |
Official specifications from DeepSeek API docs and Hugging Face model cards.
The key differentiator: V4 is the first model family built from the ground up around million-token contexts as a default, not a bolt-on feature.
What Makes V4 Different Under the Hood
Three innovations that make million-token context economically viable at production scale.
Hybrid Attention: CSA + HCA Vanilla attention has quadratic complexity. At 1M tokens, this becomes prohibitive. DeepSeek interleaves two mechanisms: Compressed Sparse Attention (CSA) compresses KV entries by 4x, then a lightning indexer picks only the top-k blocks. Heavily Compressed Attention (HCA) compresses by 128x and runs dense attention over the compressed sequence. The layers alternate. The result: V4-Pro requires only 27% of single-token inference FLOPs and 10% of KV cache compared to V3.2. V4-Flash pushes this to 10% of FLOPs and 7% of KV cache.
Manifold-Constrained Hyper-Connections (mHC) Conventional residual connections add a block delta to the running representation. With two attention variants competing for the residual stream, signals can drift. mHC replaces simple addition with a manifold constraint, projecting the residual mapping matrix onto the Birkhoff polytope via Sinkhorn-Knopp iteration. This bounds the spectral norm, keeping signal propagation stable across deep stacks. The practical impact: mHC enables reliable training at 1.6 trillion parameters. DeepSeek is the only lab that has solved the training stability issues and is shipping this in production.
Muon Optimizer + FP4 QAT at Frontier Scale DeepSeek replaced AdamW with the Muon optimizer for V4 training. Muon delivers faster convergence and greater training stability at trillion-parameter scale. MoE expert parameters use FP4 precision; most other parameters use FP8. This is the first FP4 quantization-aware training at frontier scale. Both models were pre-trained on more than 32 trillion tokens.
How V4 Stacks Up Against the Frontier
Preview benchmarks are strong. The official version should close further gaps. Here is the current picture.
| Benchmark | V4-Pro Max | Claude Opus 4.7 | GPT-5.5 | Gemini 3.1 Pro |
|---|---|---|---|---|
| SWE-bench Verified | 80.6% | 87.6% | 76.4% | 80.6% |
| SWE-bench Pro | 55.4% | 64.3% | 58.6% | 54.2% |
| LiveCodeBench | 93.5 | 88.8 | 91.2 | 91.7 |
| Codeforces Rating | 3206 | — | 3168 | 3052 |
| GPQA Diamond | 90.1 | 94.2 | 93.6 | 94.3 |
| MATH-500 | 96.1% | 94.5% | — | 93.4% |
| Terminal-Bench 2.0 | 67.9% | 69.4% | 82.7% | 68.5% |
| Putnam-2025 | 120/120 | — | — | — |
| MRCR 1M | 83.5 | 92.9 | — | 76.3 |
Benchmark scores from first-party reports and independent evaluations. V4-Pro Max mode shown for reasoning tasks.
V4 leads on competitive programming and math. Claude leads on real-world coding. GPT-5.5 leads on agentic tasks. No single model dominates.
Mathematical Reasoning: Where V4 Dominates
Formal math is one place V4 clearly stretches past the field. Perfect scores where competitors fall short.
For math-heavy workloads, V4-Pro at 1/9th the cost of GPT-5.5 delivers comparable results. The Putnam perfect score is a signal that formal reasoning capability has reached a new tier.
1 Million Tokens: The Default, Not a Feature
Both models support 1M-token context natively. No special tier. No price premium. This is the default.
| Long-Context Benchmark | V4-Pro | Claude Opus 4.6 | Gemini 3.1 Pro |
|---|---|---|---|
| MRCR 1M (retrieval accuracy) | 83.5 | 92.9 | 76.3 |
| CorpusQA 1M (real doc QA) | 62.0% | 71.7% | 53.8% |
| MRCR 128K | 94% | 96% | 89% |
At 1M tokens, V4-Pro holds 94% retrieval accuracy up to 128K tokens and 82% at 512K tokens, still landing at 66% at 1M tokens. DeepSeek reports V4-Pro outperforms Gemini-3.1-Pro on the MRCR task (83.5 vs 76.3) but remains behind Claude Opus 4.6 (92.9).
On CorpusQA, a benchmark closer to real long-document use, V4-Pro reaches 62.0% at 1M tokens, beating Gemini 3.1 Pro at 53.8%. For long document QA, V4-Pro is genuinely competitive with the closed long-context leaders.
The practical impact: loading a full codebase at 1M tokens costs $0.14 per call on Flash. This is not a marginal difference. It changes what you can build.
Agentic Capabilities: The New Frontier
V4-Pro is integrated with Claude Code, OpenClaw, and OpenCode. The model was built for agent workflows.
| Agentic Benchmark | V4-Pro Max | V4-Flash Max | Claude Opus 4.7 |
|---|---|---|---|
| SWE-Bench Verified | 80.6% | 72.3% | 87.6% |
| SWE-Bench Pro | 55.4% | 42.1% | 64.3% |
| Terminal Bench 2.0 | 67.9% | 56.9% | 69.4% |
| MCPAtlas | 73.6 | 61.2 | 73.8 |
| Toolathlon | 51.8 | 43.7 | 47.0 |
The MCPAtlas and Toolathlon numbers matter because those benchmarks evaluate a wide range of external tools and MCP services. A strong score indicates the model generalizes beyond whatever internal agent harness DeepSeek used during RL.
For agent use, Pro is the right model. For chat and reasoning workloads, Flash is close enough to Pro that the price-performance trade often favors it. V4-Flash-Max drops to 56.9% on Terminal Bench 2.0, 11 points behind Pro.
Top X Posts, Reddit Threads, and Community Buzz
The AI community reacted across X, Reddit, HuggingFace, and Hacker News. Three themes dominated.
The community response was not just commentary. It was adoption. V4-Pro reached 123,000+ downloads on Hugging Face within days. The NVIDIA DGX Spark community built production-viable 1M context deployments. The cost reduction stories are real, not theoretical.
Top News Articles and Coverage
Every major AI publication covered V4. The coverage focused on three angles: price disruption, open-weight implications, and geopolitical risk.
The coverage pattern is consistent: V4 wins on price and competitive programming, trails on real-world software engineering and agentic tasks, and the open-weight MIT license changes the self-hosting calculus entirely.
The July 24 Deadline: Legacy API Retirement
If you use deepseek-chat or deepseek-reasoner, you have 24 days to migrate. After July 24, these endpoints fail.
The migration is straightforward: change your model parameter from deepseek-chat to deepseek-v4-flash, or from deepseek-reasoner to deepseek-v4-pro. The API base URL stays the same. Both OpenAI ChatCompletions and Anthropic API formats are supported.
DeepSeek recommends migrating and re-testing now rather than waiting until July. Preview-stage behavior can shift. The July 24 deadline is firm.
The Safety and Geopolitical Layer
Government restrictions, data residency concerns, distillation allegations, and the self-hosting angle.
The question is not whether the hosted API is safe for regulated data. It is not. The question is whether the open-weight model, self-hosted, changes the calculus. For many use cases, it does.
The Complete Pricing Picture
Off-peak, peak, cache-hit, and self-hosted costs. The full economic breakdown.
| Model | Input /MTok | Output /MTok | Cache-Hit Input | Context |
|---|---|---|---|---|
| V4-Flash (off-peak) | $0.14 | $0.28 | $0.0028 | 1M |
| V4-Flash (peak) | $0.28 | $0.56 | $0.0056 | 1M |
| V4-Pro (off-peak) | $0.435 | $0.87 | $0.0036 | 1M |
| V4-Pro (peak) | $0.87 | $1.74 | $0.0072 | 1M |
| Claude Opus 4.7 | $5.00 | $25.00 | $0.50 | 1M |
| GPT-5.5 | $5.00 | $30.00 | $0.50 | 1M |
Complete pricing as of July 2026. Peak hours: 9am-12pm, 2pm-6pm daily. Cache-hit pricing offers 98% reduction from cache-miss.
For a real-world workload: processing 10 million output tokens costs $2.80 with V4-Flash off-peak, $5.60 at peak, $34.80 with V4-Pro off-peak, $250 with Claude Opus 4.7, and $300 with GPT-5.5.
Cache-hit pricing is where V4 pulls even further ahead. V4-Flash cache-hit input is $0.0028 per million tokens, a 98% reduction from cache-miss. For repetitive workloads with similar prompts, the effective cost approaches zero.
The Real Comparison: Which Model for Which Task
Stop looking at the leaderboard. Look at the task matrix. Different models for different workloads.
| Use Case | Best Model | Why |
|---|---|---|
| High-volume production API calls | DeepSeek V4-Flash | $0.14/$0.28 per M tokens off-peak, 97-107x cheaper than GPT-5.5 |
| Budget frontier quality | DeepSeek V4-Pro | 80.6% SWE-Bench at 11x lower cost than Opus |
| Competitive programming | DeepSeek V4-Pro | Codeforces 3206, highest ever AI rating |
| Math and STEM reasoning | DeepSeek V4-Pro | MATH-500 at 96.1%, Putnam-2025 at 120/120 |
| Self-hosting or air-gapped deployment | DeepSeek V4-Pro | MIT-licensed open weights, 865 GB |
| Fine-tuning on proprietary data | DeepSeek V4-Pro | Open weights allow full fine-tuning, commercial use |
| Terminal-heavy agentic coding | GPT-5.5 | 82.7% on Terminal-Bench 2.0 |
| Critical PR review and refactor | Claude Opus 4.7 | 87.6% SWE-bench Verified, strongest self-verification |
| Long autonomous + computer use | GPT-5.5 | Native computer use, 7+ hour autonomous task horizon |
| Broadest agent ecosystem | GPT-5.5 | Widest tool-calling support, de facto standard |
The Multi-Model Strategy
The most sophisticated builders are building a routing layer. Different models for different tasks.
A well-designed routing layer that sends 60-70% of traffic to V4-Flash, escalates coding to V4-Pro or Opus 4.7, and uses GPT-5.5 for agentic desktop tasks can reduce costs 40-60% compared to a single-model approach while maintaining or improving quality across all task types.
Most calls are routine. Some calls need frontier quality. A few calls need autonomous depth. Optimize for the actual distribution of tasks in production.
What the Official V4 Launch Should Bring
Based on DeepSeek statements and the preview-to-stable pattern, here is what changes in mid-July.
Sources
Every claim on this page ties back to a first-party or verified source. No invented numbers.
Last updated July 29, 2026. Pricing from official DeepSeek API documentation. Benchmark scores from first-party reports and independent evaluations. Community discussions sourced from Reddit, X, HN, and HuggingFace.
The preview was good. The official version should be better.
DeepSeek V4 already rewrote the economics of AI in April. The July official launch makes it permanent. If you are still paying $25-30 per million output tokens for tasks that V4 handles at $0.28-0.87, the question is not whether to switch. It is how fast you can migrate.
Clone the SpielOS repo