DeepSeek V4.1-Flash-1017: open coding model, ~$0.20 a task
The open-weights update tops DeepSWE in DeepSeek's tests, opens its web Search API to agents, and runs free in Claude Code and Codex until Nov 1.

Copy markdown
552B open, 8–16B active per token
V4.1-Flash-1017 ships open weights on Hugging Face and ModelScope: a 552B backbone plus a 196B “Engram” memory, but only 8B active in prefill and 16B in decode, with a 1M-token context and up to 384K output. The Flash line is MIT-licensed, so you can self-host or fine-tune it.
~$0.20 a coding task
DeepSeek's chart puts it at 77.0 on DeepSWE v1.1 for just under $0.20 per task, and a cheaper setting still clears ~72% near $0.10. On that same chart GPT-6 Astra, Gemini 3.8 Flash and Claude Opus 5 run $2–$10+ per task. API list price is $0.30/1M input and $1.20/1M output at peak, half that off-peak.
A web Search API for your agents
For the first time DeepSeek exposes its in-house Search and Fetch endpoints (POST /v1/tools/search and /fetch), the same engine it says fields hundreds of millions of queries a day. It's $0.75 per 1,000 successful calls (failures and empty results are free), capped at 5 QPS, so you can bolt live web search onto an agent without running your own retrieval stack.
Free in Claude Code and Codex until Nov 1
Server-side search calls are free through DeepSeek Harness (v0.2.1-rc.1+), Claude Code, and Codex until Oct 31, 4 PM UTC — a roughly two-week window to prototype a search-augmented coding agent at model-only cost. It's also tuned for Tencent's CodeBuddy and WorkBuddy.
KV cache squeezed to run leaner
The update leans on FP4 KV-cache compression: ~890 bytes per token of global KV (about a quarter of V4-Flash) and persistent cache down to roughly an eighth via SWA Bounded Replay. That's what lets a 552B model hold a 1M-token window without wrecking your memory budget, whether you rent it or run the weights.
Reality check: self-reported, not a clean sweep
Every number here is DeepSeek's own; independent benchmarks weren't out at launch. And Claude Opus 5 still tops Terminal-Bench 4.0 (51.8 vs 42.3). Treat the DeepSWE-at-pennies story as the headline, and verify on your own tasks before you switch a pipeline over.