DeepSeek open-weighted a million-token, MIT-licensed model on July 31DeepSeek-V4-Flash-0731 — and the internet's first reaction was the obvious one: great, I'll self-host it and never pay a token bill again. Before you rent a GPU box, here's the number the launch slide leaves off, and it's the one that decides everything: the memory floor.

The short version, up front: the context window is the cheap part. The expensive part is keeping the model resident at all.

The 1M context is not what will hurt you#

The scary calculation goes like this: a standard dense 70B-class model spends about 0.3 MB of VRAM per token of context, so a million tokens is roughly 327 GB of KV cache. At that rate, a 1M-token window is a non-starter on anything you can rent.

DeepSeek V4 doesn't work that way. It uses a latent-attention design (the MLA lineage) that compresses the key/value cache by roughly an order of magnitude. In practice a full 1M-token session lands near ~15 GB of KV cache per concurrent user (Introl; architecture in the V4 paper). The window is genuinely cheap. What scales your KV cache is concurrency — ten users each holding a big context — not the length of any one window.

The part that actually sets your bill: residency#

Here's the trap in "only 13B active parameters." Yes, DeepSeek-V4-Flash is a Mixture-of-Experts model where just ~13B of its ~284B parameters compute per token — so it's cheap on compute. But every expert has to stay resident in memory, whether or not it fires. You pay for all 284B, all the time.

That sets a hard floor. Community quantization builds report the weights at roughly 162 GB at 8-bit and about 103 GB at 3-bit, with the smallest runnable config needing on the order of ~110–156 GB of combined RAM+VRAM (Unsloth) — before you add a single token of context. DeepSeek's own serving example runs on a 4-GPU node. This is not a laptop model, and it's not a single-card model. It's a multi-GPU-box model.

A 284B MoE bills you for 284B of memory and 13B of compute. The active-parameter count tells you how fast it runs; the total tells you what it costs to keep the lights on.

The other real cost: prefill#

Long-context apps run at lopsided input-to-output ratios — you feed the model a huge prompt and it writes a little. At those ratios, prefill (reading the prompt) can be 85–95% of the GPU time per request (Spheron). So if your app re-sends a 500K-token context on every turn of a conversation, you re-pay that prefill compute every turn.

The fix is the highest-leverage knob on any long-context deployment: prefix / KV caching. Skip the prompt tokens you've already computed and effective per-request cost on repeated contexts drops 80–90%. Whether you self-host or rent, turn it on before you do anything else — it's the difference between a scary GPU bill and a boring one.

So: self-host, or rent?#

For almost everyone building alone or on a small team: rent it per token, and turn on prompt caching.

The MIT license is real value — no vendor can reprice or retire this model out from under you, which is exactly the risk that broke pinned claude-opus-4-1 calls this week. But an open license is a reason to feel safe building on the model, not a reason to operate it. Self-hosting a 284B MoE means renting — and babysitting — a multi-GPU node that runs 24/7 to hold those weights in memory. That fixed cost only beats metered per-token API pricing once your box is busy enough, sustained, to clear the break-even.

That break-even is a utilization question, and we did the arithmetic in rent a GPU vs. call the API; if you're weighing it for an open coding model specifically, the hardware math on self-hosting Kimi K3 walks the same road. And when you do need to rent, our GPU price map shows what a node actually costs by the hour.

The one-line rule for a million-token open model: budget for the weights you keep resident, not the context you send. The window is nearly free. The floor is not.

All figures here are as reported by launch-week write-ups and community quantization builders; parameter counts, memory footprints, and prices all move — verify against the model card and your inference provider before you commit hardware.