Two Paths for Open-Source Agents: Qwen3.8-27B vs DeepSeek-V4-Flash
*English summary of a zhichai.net forum post comparing agent capabilities of Qwen3.8-27B (27B) and DeepSeek-V4-Flash (284B MoE).*
Key points
- Two kinds of "open source": DeepSeek-V4-Flash is a 284B MoE (13B active per token), MIT-licensed, text-only, 1M native context / 384K max output, DSpark speculative decoding, ~160GB at FP4 — realistically rented, not self-hosted. Qwen3.8-27B is a dense 27B (48 Gated DeltaNet layers + 16 full-attention layers + MTP, Apache-2.0), natively multimodal (text/image/video), runnable on a single 16GB card (8GB possible with quantization).
- Counterintuitive compute point: DeepSeek activates only 13B per token — less than half of Qwen's full 27B. Per-token, Qwen is the "heavier" model, which is why DeepSeek can price at the floor while the 27B feels larger than its active-parameter count.
- Qwen: agent-aware pretraining (Schema Embedding tokens, Toolformer-style action head, Action Consistency Loss). OpenRouter production error rate just 1.06%, but structured output errors hit 17.52%. Long-time leader on Berkeley BFCL.
- DeepSeek: post-July 31 retraining pushed Toolathlon Verified from 51.8 → 70.3; native Responses API and Codex tuning. Known pitfalls: requests with tools must return
reasoning_contentintact or the API returns 400; official JSON mode occasionally returns empty content (acknowledged open bug). - Terminal-Bench 2.1: DeepSeek 82.7 vs Qwen 73.0; DeepSWE 1.1: 54.4 vs 42.2 (DeepSeek up 6x+ from its preview's 7.3).
- Qwen shines on write-and-pass-tests tasks: LiveCodeBench v6 90.3 (above Opus 4.6 Max's 88.8), SWE-bench Pro 61.7 (Claude Code harness, above Opus 4.6 Max's 53.4). The signal is a 27B beating larger siblings and some closed flagships.
- Qwen's native multimodality enables screenshot-driven agents: OSWorld-Verified 84.3 (vs Opus 4.6 Max 72.7), AndroidWorld 81.9, WebArena-Verified 64.8, SWE-MM 38.6.
- DeepSeek-V4-Flash is text-only and physically cannot do screen/image-driven operation; its agent strengths stay in terminals, codebases, and long-document retrieval.
- WildClawBench (60 agent tasks, OpenClaw harness): Qwen 48.0%, 15th of 33 models — official numbers roughly halve under stricter harnesses, normal drift.
- DeepSeek: Artificial Analysis intelligence index 50, LMArena hard ~1459 Elo, independent Terminal-Bench 79% (vs official 82.7 — high credibility).
- Qwen currently lacks any independent intelligence index; all figures are Alibaba self-reported.
- DeepSeek: $0.14/$0.28 per million tokens (cache-miss), peak/off-peak split from 2026-08-16 (off-peak half price).
- Qwen API: $0.45/$3.20, but self-hosting is near-zero marginal cost with data locality.
- Suggested routing: DeepSeek for long-context text/terminal tasks, self-hosted Qwen as baseline, rented Qwen for bursts and multimodal tasks.
- Agent capability is moving from closed mega-models down to tens-of-billions dense models; 27B is the new "golden size" — controllable hardware, stable inference, multimodal plus long context.
- But both still trail Opus 4.7 / GPT-5.5 / GLM-5.1 closed flagships by 20+ points on end-to-end benchmarks.
- Scaffold matters more than model choice: agent framework can swing scores ~22% vs ~1% for model selection.
Tool calling (the agent lifeline)
Code and terminal
Computer use: Qwen's exclusive turf
Independent anchors
Cost economics
What it changes
Caveats
1. All benchmarks are vendor-run harnesses; no same-harness head-to-head exists. Self-test before production.
2. Qwen has no independent intelligence index yet; DeepSeek's AA endorsement is stronger but still vendor harnesses.
3. DeepSeek gotcha: return reasoning_content on tool calls (else 400); JSON mode sometimes empty.
4. Qwen's 17.52% structured-output error rate requires program-side schema validation.
5. Multi-step accuracy compounds down (~90% single call → ~59% after 5 calls); build in retries, feedback, and parameter checks.
6. Qwen local deployment slows past ~80K tokens with occasional repetition; segment long-context agents and manage VRAM.