DeepSeek V4 shipped on April 24, 2026 as V4-Pro (1.6T total / 49B active) and V4-Flash (284B / 13B active), both MIT-licensed with a 1M-token context; V4-Pro scores 80.6% on SWE-bench Verified and lists at $1.32/$3.96 per million tokens at peak, half that off-peak. Qwen 3.5 (February 2026) is a 397B / 17B-active MoE under Apache 2.0 with 262K native context and 201 languages, scoring 76.4% on SWE-bench Verified. Qwen3.8 (August 2026) has since added a 2.4T open-weight Max model under a custom license and an Apache 2.0 27B model. Pick DeepSeek for API cost and 1M context, Qwen for single-node self-hosting and multilingual work.
DeepSeek V4-Flash lists at $0.30 per million input tokens at peak hours and $0.15 off-peak. V4-Pro, the flagship, lists at $1.32 and $0.66. OpenAI's GPT-6 Astra lists at $10.00 per million input tokens and $50.00 per million output. On a high-volume classification and summarization pipeline, that gap is the difference between an API bill you round to zero and one that needs its own budget line. The math forces a question every AI budget owner is now answering: why are we paying several times more for this?
The market is already answering. DeepSeek and Qwen have gone from a combined 1% of global AI market share in January 2025 to roughly 15% by January 2026, the fastest adoption curve in AI history. Qwen 3.5 (February 2026) and DeepSeek V4 (April 2026) were the most capable open-weight models released at the time of writing. They're not catching up to proprietary models. In several benchmarks, they've overtaken them.
This isn't a theoretical shift. It's a practical one that changes how you should architect, budget, and deploy AI systems in production. Here's what both models actually deliver, and exactly when they beat the proprietary alternatives.
Update (November 11, 2026): This post was first written in early March 2026 from DeepSeek V4's pre-release specifications, and the shipped model differs. DeepSeek released V4 on April 24, 2026 as V4-Pro (1.6T total / 49B active parameters) and V4-Flash (284B / 13B active), both with a 1M-token context and MIT-licensed weights; V4-Pro reached general availability as DeepSeek-V4-Pro-0813 on August 13, and DeepSeek-V4.1-Flash-1017 followed on October 17, also under MIT. On the Qwen side, Alibaba released Qwen3.8-Max on August 3, 2026 (2.4T total / 95B active, 1M context through the API), published its weights as Qwen3.8-2.4T-A95B under a custom qwen3.8-max license rather than Apache 2.0, and released Qwen3.8-27B under Apache 2.0. On their own model cards, DeepSeek-V4-Pro-0813 scores 87.9 and Qwen3.8-Max 86.6 on Terminal-Bench 2.1, both run in a Claude Code harness, so the two flagships are now close on coding and the comparison turns on license and footprint. We corrected the DeepSeek V4 section and the head-to-head table (parameters, license, multimodality, coding score and API prices), replaced the Qwen 3.5 benchmark table with the figures on Qwen's model card (whose comparison column is Claude Opus 4.5, not Opus 4.6), fixed the hardware sizing and the self-hosting break-even, and updated API prices to current list rates; the rest of the post is unchanged.
The Open-Source AI Inflection Point
The numbers tell a story that most industry analysts missed until it was too late. In January 2025, OpenAI controlled 55% of the global AI market. Qwen held 0.5%. DeepSeek held 0.5%. Twelve months later, OpenAI sits at 40% while Qwen and DeepSeek have climbed to 9% and 6% respectively.
Qwen has surpassed 700 million cumulative downloads on Hugging Face, the most downloaded AI model family in the world. That's not just researchers experimenting. Those are production deployments by companies that ran the cost analysis and decided the pricing gap was too large to ignore.
What changed? Two things. First, the capability gap closed. DeepSeek V3, trained for a reported $5.6 million, versus the hundreds of millions spent by OpenAI, Google, and Anthropic per frontier model, proved that Mixture-of-Experts architectures could match dense models at a fraction of the compute cost. Second, the ecosystem matured. You can now run these models through vLLM, Ollama, or TensorRT-LLM with the same tooling and OpenAI-compatible APIs you'd use for any proprietary model. The switching cost dropped to near zero.
For teams evaluating their model stack, this isn't about ideology or geopolitics. It's about unit economics. When an open-weight model delivers 95% of the performance at 5% of the cost, the business case writes itself.
DeepSeek V4: 1.6 Trillion Parameters, 49 Billion Active
DeepSeek released V4 on April 24, 2026 as a preview of two Mixture-of-Experts models. V4-Pro has 1.6 trillion total parameters with 49 billion active per token. V4-Flash has 284 billion total with 13 billion active. Both weights are on Hugging Face under the MIT license. V4-Pro went to general availability on August 13, 2026 as DeepSeek-V4-Pro-0813, and V4.1-Flash-1017 replaced the original Flash model on October 17.
Text First, Vision on Flash
Pre-release reports described V4 as natively multimodal. The shipped V4-Pro is not: DeepSeek's API lists V4-Pro as text-only, while the current Flash model (V4.1-Flash-1017) accepts images. If your pipeline processes financial reports with charts, scanned forms or technical diagrams, route the visual inputs to Flash or to a dedicated vision model and keep V4-Pro for text reasoning and code.
The 1-Million-Token Context Window
V4 extends context from 128K tokens (V3) to 1 million, and DeepSeek made 1M the default across its official services at launch. DeepSeek attributes the efficiency at that length to a reworked sparse attention design; the details are in its technical report. In practice, 1M tokens means you can feed V4 an entire medium-sized codebase, a long technical manual, or months of conversation history in a single request. A legal document review workflow that used to chunk long contracts into segments, losing cross-reference context in the process, can load the entire document in one pass.
Coding Benchmarks and Cost Structure
On DeepSeek's model card, V4-Pro at maximum reasoning effort scores 80.6 on SWE-bench Verified, 55.4 on SWE-Bench Pro and 67.9 on Terminal-Bench 2.0. The GA checkpoint, V4-Pro-0813, reports 87.9 on the newer Terminal-Bench 2.1. DeepSeek V3's final training run was reported at $5.6 million in GPU time. DeepSeek has not disclosed V4's training cost. API pricing has changed several times since launch. Since August 16, 2026, DeepSeek charges peak and off-peak rates. At peak, V4-Pro costs $1.32 per million input tokens and $3.96 per million output tokens, and Flash costs $0.30 and $1.20. Off-peak rates are half that. For comparison, OpenAI's GPT-6.1 Sol lists at $2 / $10 and GPT-6 Astra at $10 / $50. For high-volume workloads, the savings compound fast.
The Hardware Story
Here's where it gets geopolitically interesting. At launch, Huawei said its entire Ascend supernode product line supports the V4 series, and launch-week reporting said DeepSeek gave Chinese chipmakers early optimization access that Nvidia and AMD did not get. For self-hosting customers, it means V4 has a supported path on hardware outside NVIDIA's CUDA stack, although the open weights run on standard NVIDIA serving stacks too.
Qwen 3.5: The Agentic Open-Weight Powerhouse
Alibaba released Qwen 3.5 on February 16, 2026, and the model family immediately became the most compelling option for teams that need both capability and legal clarity. The flagship model packs 397 billion total parameters with 17 billion active per forward pass, a leaner MoE architecture than DeepSeek V4 but with aggressive optimization that shows in the benchmarks.
Qwen reports BrowseComp at 78.6 with a discard-all context strategy; the 69.0 above is the standard setting. The pattern is clear: Qwen 3.5 leads on math vision, instruction following and multi-turn instruction handling, areas where production workloads live. Proprietary models still edge ahead on pure mathematical reasoning, multimodal understanding and complex multi-step coding, but the gap is narrowing with each release.
The Apache 2.0 Advantage
Let's start with what differentiates Qwen 3.5 from every other frontier-class model: it ships under Apache 2.0. That's the most permissive open-source license in widespread use. You can deploy it commercially, modify it, fine-tune it on proprietary data, and sell products built on it, with zero licensing concerns. For enterprise legal teams, this eliminates months of license review. DeepSeek V4 is now just as simple, since its weights ship under MIT. The caveat sits inside the Qwen family itself: the open weights of Qwen3.8-Max (Qwen3.8-2.4T-A95B) use a custom qwen3.8-max license, so Apache 2.0 applies to Qwen 3.5 and Qwen3.8-27B but not to Qwen's largest open model. OpenAI and Anthropic's terms change quarterly. Apache 2.0 is a known quantity that every corporate legal department has already approved.
Benchmark Performance That Matters
Qwen 3.5 doesn't win every benchmark, but it wins several that correlate with real-world production value. The figures below are from Qwen's model card for Qwen3.5-397B-A17B, which compares against GPT-5.2 and Claude Opus 4.5:
Built for Agents
Qwen 3.5 was designed with agentic workflows as a first-class use case. Built-in "thinking" and "non-thinking" inference modes let you toggle between extended chain-of-thought reasoning and fast direct responses at the API level, no prompt engineering tricks required. The model supports native tool use and multi-step planning, scoring 86.7 on Tau2-Bench (agentic tasks), close to GPT-5.2's 87.1 and behind Claude Opus 4.5's 91.6. For teams building complex AI agents, this makes Qwen 3.5 a serious contender as the backbone model, especially when combined with frameworks like LangGraph or CrewAI.
The Speed Factor
Qwen 3.5 delivers 8.6x to 19x faster decoding throughput compared to Qwen3-Max, thanks to its native FP8 training pipeline and hybrid attention architecture combining Gated Delta Networks with standard gated attention. The FP8 pipeline also reduces activation memory by roughly 50%, which translates directly to lower serving costs. The model family spans from small dense models to the 397B flagship, with Qwen3.5-27B, Qwen3.5-35B-A3B and Qwen3.5-122B-A10B in between, giving teams a practical on-ramp. Start with the 27B variant on a single GPU for development, validate your pipeline, then scale to the 122B or the full 397B for production.
| Benchmark | Qwen 3.5 | GPT-5.2 | Claude Opus 4.5 | Winner |
|---|---|---|---|---|
| MathVision | 88.6 | 83.0 | 74.3 | Qwen 3.5 |
| MMMU (multimodal understanding) | 85.0 | 86.7 | 80.7 | GPT-5.2 |
| IFBench (instruction following) | 76.5 | 75.4 | 58.0 | Qwen 3.5 |
| MultiChallenge | 67.6 | 57.9 | 54.2 | Qwen 3.5 |
| BrowseComp (web browsing) | 69.0 | 65.8 | 67.8 | Qwen 3.5 |
| SWE-bench Verified (coding) | 76.4 | 80.0 | 80.9 | Claude Opus 4.5 |
| Terminal-Bench 2 | 52.5 | 54.0 | 59.3 | Claude Opus 4.5 |
| AIME 2026 (math reasoning) | 91.3 | 96.7 | 93.3 | GPT-5.2 |
| Tau2-Bench (agentic tasks) | 86.7 | 87.1 | 91.6 | Claude Opus 4.5 |
Head-to-Head: DeepSeek V4 vs Qwen 3.5
For teams deciding between these two, here's the comparison that actually matters:
Choose DeepSeek V4 when you need massive context windows (full codebases, long documents) through an API and strong coding performance at a low per-token price. If you need vision from DeepSeek, use the Flash model.
Choose Qwen 3.5 when you need agentic capabilities, multilingual support across 201 languages and dialects, vision input, or a model you can self-host on a single node. Its leaner architecture means far less hardware for comparable performance. With both licenses now permissive, license is no longer the deciding factor.
What Qwen3.8 Changes
Alibaba released Qwen3.8-Max on August 3, 2026: 2.4 trillion total parameters with 95 billion active, a 1M-token context through the API, and $2 / $6 per million tokens on Alibaba Cloud's international pricing. Its open weights, Qwen3.8-2.4T-A95B, are text-only and ship under a custom qwen3.8-max license, not Apache 2.0, so read the license before a commercial deployment. Qwen reports 67.7 on SWE-bench Pro and 86.6 on Terminal-Bench 2.1 for Qwen3.8-Max, run in a Claude Code harness. That puts it next to DeepSeek-V4-Pro-0813's 87.9 on the same Terminal-Bench version, also run in a Claude Code harness. For teams that want Apache 2.0 and a single GPU, Qwen3.8-27B is the new entry point: a dense 27B model with 262K native context (extensible to 1M), reporting 61.7 on SWE-bench Pro on its model card. The updated split: DeepSeek V4-Pro for the cheapest frontier-class API with MIT weights, Qwen3.8-Max if you can accept its license and want Alibaba's strongest model, and Qwen3.5 or Qwen3.8-27B under Apache 2.0 when license simplicity and self-hosting footprint decide it.
| Dimension | DeepSeek V4-Pro | Qwen 3.5 (397B-A17B) |
|---|---|---|
| Released | April 24, 2026 (GA as V4-Pro-0813, August 13) | February 2026 |
| Total parameters | 1.6T (49B active) | 397B (17B active) |
| Architecture | MoE, sparse attention | MoE, hybrid attention |
| Native context | 1M tokens | 262K (extensible to ~1M) |
| Input modalities | Text (vision on V4.1-Flash) | Text, image, video |
| License | MIT | Apache 2.0 |
| Languages | Not specified | 201 languages and dialects |
| API input cost | $1.32/M peak, $0.66/M off-peak | $0.60/M (Alibaba Cloud, international) |
| API output cost | $3.96/M peak, $1.98/M off-peak | $3.60/M |
| Coding (SWE-bench Verified) | 80.6% | 76.4% |
| Vision (MathVision) | Not reported (V4-Pro is text-only) | 88.6% |
| Weights at 8-bit | ~1.6 TB: multi-node, or 8× H200 at 4-bit | ~400 GB: 8× H100 at 8-bit, 4× H100 at 4-bit |
| Best for | Long-context, coding, lowest API cost | Multilingual, agents, vision, self-hosting |
When Open-Source Beats Proprietary in Production
The "open-source vs proprietary" framing is outdated. The real question is: for which specific workloads does the cost-performance ratio of open-weight models justify the operational overhead?
Workloads Where Open-Weight Models Win
High-volume classification and extraction. If you're processing 10,000+ documents daily for classification, entity extraction, or summarization, the 10-30x cost advantage of open-weight models compounds into six-figure annual savings. For pure classification tasks, we typically deploy Particula-Classify, a purpose-built model that handles sentiment, intent, and document categorization faster and cheaper than any general-purpose LLM. But when classification is just one step in a larger pipeline that includes extraction or summarization, DeepSeek and Qwen hit the sweet spot. These are pattern-matching tasks where smaller specialized models often outperform flagships anyway. Privacy-sensitive deployments. When data cannot leave your infrastructure, healthcare, legal, financial services, self-hosted open-weight models are the only option besides building from scratch. For HIPAA-constrained workloads, deploying Qwen on-premises is often the difference between shipping and a $500K custom model training project. Multilingual applications. Qwen 3.5's 201-language support crushes every proprietary alternative. For Southeast Asia coverage across 12+ languages, GPT-5 handles English and Mandarin well but struggles with Thai, Vietnamese, and Bahasa. Qwen delivers consistent quality across all of them. Latency-critical applications. Self-hosted models on local hardware eliminate network round-trips entirely. For applications where every millisecond matters, autocomplete, real-time translation, interactive coding assistants, the latency advantage of local inference is absolute. Our guide on choosing the right inference server covers the serving stack in detail.
Workloads Where Proprietary Still Wins
Complex multi-step reasoning. For tasks requiring 5+ chained reasoning steps, advanced mathematical proofs, complex legal analysis, novel algorithm design, GPT-5.2 and Claude Opus 4.6 still maintain a measurable edge. The gap is 3-5 percentage points on hard benchmarks, but those points matter when accuracy is non-negotiable. Bleeding-edge coding tasks. Claude Opus 4.6 scores 80.8% on SWE-bench Verified, and Opus 4.5 scores 80.9% on Qwen's own comparison. If your workflow involves complex cross-repository refactoring or novel architectural decisions, the 4-5 point advantage over Qwen 3.5 translates to fewer failed attempts and less human review. Zero operational overhead. If you don't have infrastructure engineers and don't want to manage GPU clusters, proprietary APIs remain the path of least resistance. The cost premium is effectively a managed service fee.
Self-Hosting: The Real Cost Breakdown
Self-hosting open-weight models is where the largest savings live, but only above a certain scale, and that scale is higher than most teams assume. Here's what the economics look like at current list prices.
A Mixture-of-Experts model keeps every expert in memory, so size the hardware by total parameters, not active ones. No DeepSeek V4 model runs on a single consumer GPU.
Output tokens cost more ($1.20/M, $3.96/M and $10/M respectively), and off-peak DeepSeek rates are half the peak rates, so run the numbers on your own input/output mix. On input alone, an $8,000-a-month node only beats GPT-6.1 Sol's API at around 4 billion tokens a month, DeepSeek V4-Pro's at around 6 billion, and V4-Flash's at more than 25 billion, and at that volume one node may not keep up. Below billions of tokens a month, the case for self-hosting is data control, latency and freedom from vendor deprecations, not price. Our self-host vs API break-even math covers the full calculation.
The hidden cost is engineering time. Budget $5,000-$15,000 per month for an engineer maintaining the inference stack, handling model updates, monitoring performance, and managing the GPU cluster. For a deeper dive on serving infrastructure, see our comparison of Ollama vs vLLM and the three-way inference server shootout.
Hardware Requirements
The Breakeven Calculation
Monthly input-token cost at current peak list prices (DeepSeek V4-Flash $0.30/M, V4-Pro $1.32/M, OpenAI GPT-6.1 Sol $2.00/M), against a self-hosted node amortized at about $8,000 a month:
| Setup | Hardware | Cost | Fits |
|---|---|---|---|
| Development | 1× RTX 4090 (24GB) | ~$2,000 | Qwen3.5-27B or Qwen3.8-27B (Q4) |
| Small production | 2× A100 80GB | ~$30,000 | Qwen3.5-122B-A10B (8-bit) |
| Full production | 8× H100 80GB | ~$250,000 | Qwen3.5-397B-A17B (8-bit), DeepSeek V4-Flash (8-bit) |
| Maximum scale | 24× H100 or more (multi-node) | ~$750,000+ | DeepSeek V4-Pro (8-bit, ~1.6 TB of weights) |
| Monthly input tokens | DeepSeek V4-Flash API | DeepSeek V4-Pro API | GPT-6.1 Sol API | Self-host (amortized) |
|---|---|---|---|---|
| 50M | $15 | $66 | $100 | ~$8,000 |
| 500M | $150 | $660 | $1,000 | ~$8,000 |
| 5B | $1,500 | $6,600 | $10,000 | ~$8,000 |
| 50B | $15,000 | $66,000 | $100,000 | ~$8,000+ |
Geopolitical Realities and Supply Chain Implications
We'd be naive to ignore the geopolitical dimension. Both DeepSeek and Qwen are built by Chinese companies, DeepSeek by the Hangzhou-based fund High-Flyer, and Qwen by Alibaba Cloud. This creates real considerations for enterprise adoption, not hypothetical ones.
The Hardware Decoupling
DeepSeek V4's optimization for Huawei Ascend and Cambricon chips, and its deliberate withholding of early access from Nvidia and AMD, signals a broader trend. China's AI industry is actively building an alternative hardware ecosystem. For Western enterprises, this actually reduces supply chain risk in an unexpected way: if these models run efficiently on diverse hardware, you're less locked into NVIDIA's pricing and availability cycles.
Data Sovereignty
The models themselves are weights on disk. They don't contain backdoors (the code is auditable), they don't phone home, and when you self-host, your data stays on your infrastructure. But using the hosted APIs from DeepSeek or Alibaba means your data routes through Chinese-jurisdiction servers, a non-starter for many regulated industries and government contracts. Our recommendation for clients in regulated sectors: always self-host. Download the weights, run them on your infrastructure, and treat the model as a software artifact rather than a service. This eliminates jurisdiction concerns entirely while capturing the cost benefits.
Export Controls and Continuity Risk
U.S. export controls restrict the flow of advanced AI chips to China, which is precisely why DeepSeek invested in Huawei chip compatibility. The risk for Western enterprises adopting these models isn't that the models will stop working, once you have the weights, they're yours. The risk is that future versions may diverge architecturally if the hardware ecosystems fully decouple. Mitigate this by maintaining model-agnostic serving infrastructure (vLLM supports both ecosystems) and avoiding tight coupling to model-specific features.
What This Means for Your AI Strategy
The practical takeaway from DeepSeek V4 and Qwen 3.5 isn't "switch everything to open source." It's "stop defaulting to proprietary models without running the numbers."
For most enterprises, the optimal architecture in 2026 is a routing layer: send 80% of requests, classification, extraction, summarization, translation, to open-weight models that cost a fraction of proprietary alternatives. Reserve the remaining 20%, complex reasoning, novel code generation, nuanced analysis, for GPT-5 or Claude where the quality premium justifies the cost.
At Particula Tech, we've been deploying this hybrid approach since late 2025. The typical result: 60-70% reduction in AI infrastructure costs with no measurable degradation in output quality for the routed workloads. The open-source vs custom model decision has shifted permanently, open-weight models are now the default starting point, not the budget fallback.
The era when "open source" meant "second tier" is over. DeepSeek V4 and Qwen 3.5 didn't just close the gap with proprietary models. For the workloads that matter most to production systems, they've moved ahead. And they're not alone, Xiaomi's MiMo-V2-Pro recently proved that competitive models can come from hardware companies too, secretly topping OpenRouter before anyone knew who built it. April 2026 then delivered the next wave with DeepSeek V4-Pro, Kimi K2.6, and GLM-5.1 in an 18-day window, three open-weight coding models that now match Opus 4.6 within a point. The companies that adjust their model strategy accordingly will save millions. The ones that don't will be paying a premium for inertia.
FAQ
Quick answers to the questions this post tends to raise.



