NewsAI & DevelopmentOpen Source

DeepSeek V4.1-Flash: MIT Weights and the Agent Cost Story

DeepSeek V4.1-Flash AI agent network graph showing cost-efficient MoE model architecture with blue node connections on dark background

DeepSeek released V4.1-Flash on September 10 with MIT-licensed weights, a $0.15/M input price, and a KV cache architecture that cuts cache-hit costs from $0.022 to $0.003 per token off-peak. That last number is the one worth stopping on. In a typical agentic workload, input tokens outnumber output roughly 174 to one — meaning the KV cache hit rate is where the real money goes. A 7x reduction there doesn’t just save money at the margin; it changes what kinds of agents are economically viable to run in production.

552 Billion Parameters, 8 Billion Active

V4.1-Flash uses a Mixture-of-Experts architecture with 552 billion total parameters, but only 8 billion are active per token during prefill and 16 billion during decode. The mechanism is a new Causal Encoder-Decoder design: 40 transformer layers split into a 20-layer encoder and 20-layer decoder, where the decoder’s global KV cache is projected from the encoder’s final hidden states rather than computed fresh at each layer. The result is a model that behaves like a 552B parameter model in terms of knowledge capacity but costs like an 8B model to run token-by-token.

The context window is one million tokens, trained from scratch on 45 trillion multimodal tokens. V4.1-Flash also ships with native image input — the first non-experimental DeepSeek model to include it. You can send screenshots, charts, and document scans in the same request as your text prompt, without a separate vision adapter or preprocessing step.

The Agent Cost Math

The architecture choices converge on a single economic outcome. V4.1-Flash’s global KV cache holds each token in approximately 890 bytes — a quarter of the previous Flash model and one-eighth the SSD storage footprint of V4. At DeepSeek’s off-peak pricing, cache hits cost $0.003 per million tokens. V4-Pro charged $0.022 per million on cache hits.

Fireworks.ai ran V4.1-Flash through DeepSWE and found it matches GPT-6 Astra’s coding agent accuracy at one-fifteenth the per-task cost. The reason: in that benchmark run, each task consumed 36.9 million input tokens against only 211,000 output tokens. When your workload is that input-heavy, cache efficiency is the dominant cost variable — and that's precisely what this model was designed to optimize.

ModelInput ($/M)Cache Hit ($/M)Output ($/M)
DeepSeek V4.1-Flash (off-peak)$0.15$0.003$0.60
DeepSeek V4-Pro$0.022
GPT-6 Astra$10.00$50.00

Benchmarks: Where It Beats and Where It Doesn’t

V4.1-Flash scores 90.6 on Terminal-Bench 2.1, 64.0 on NL2Repo-Bench, and 63.9 on HLE with tools. It outperforms V4-Pro on coding and agentic benchmarks despite having roughly one-third the total parameters. Against GPT-6 Astra, the story is more nuanced: V4.1-Flash matches it on coding tasks while costing 66 times less per million input tokens. GPT-6 Astra leads on the broader benchmark distribution. V4.1-Flash is not a general frontier replacement — it’s tuned for the workloads where most of your agent’s compute budget actually goes.

MIT License: What You Can Actually Do

The weights landed on HuggingFace on September 10, the same day as the API launch, under an MIT license. That means commercial deployment, fine-tuning, and modification with no restrictions. Community GGUF quantizations are already available. For self-hosting, the hardware bar is approximately 175GB of total VRAM — within reach of two H200s or two RTX Pro 6000 Blackwell cards. vLLM is the recommended inference server; it supports the MoE expert parallelism and hybrid attention architecture directly.

For teams with data sovereignty requirements or organizations that can’t route inference through an external API, the MIT license combined with the self-hosting hardware footprint is the main story here, independent of the pricing.

When to Use It

The emerging developer consensus from HackerNews and r/LocalLLaMA is a tiered approach: V4.1-Flash handles repository search and summarization, repetitive edits, low-risk tool loops, and high-volume background agent work. Escalate to GPT-6 Astra or Claude Fable 5.1 for hard debugging, architecture decisions, and tasks where a failed attempt costs more than the inference savings.

The API is OpenAI-compatible at api.deepseek.com. If you’re already running agents on the OpenAI client, switching to V4.1-Flash for the high-volume steps is a one-line change. OpenRouter also carries it at $0.22/M input if you prefer a multi-provider setup.

The pattern solidifying across agent-heavy stacks is cheap frontier-adjacent model for volume work, expensive frontier model for precision calls. DeepSeek V4.1-Flash is positioning itself as the default for the cheap tier — not because it’s just cheaper, but because the architecture was explicitly built for the workload.

ByteBot
I am a playful and cute mascot inspired by computer programming. I have a rectangular body with a smiling face and buttons for eyes. My mission is to cover latest tech news, controversies, and summarizing them into byte-sized and easily digestible information.

    You may also like

    Leave a reply

    Your email address will not be published. Required fields are marked *

    More in:News