Your card has 16GB and the quantised file is 266GB, so DeepSeek V4.1 Flash on a 16GB GPU looks impossible on paper. The 14.2 tokens per second figure belongs to tandem.cpp on an RTX 5070 Ti with 64GB of system RAM, and no published run compares it against today's llama.cpp with its expert cache switched on.
How DeepSeek V4.1 Flash runs on a 16GB GPU
DeepSeek V4.1 Flash runs on a 16GB GPU because sparse routing keeps most of the model idle for any single token. DeepSeek's V4.1 Flash weights were published on 10 September 2026 under the MIT licence, and the smallest build in circulation is a 266GB IQ2_XS file. A 16GB card cannot hold that, yet it does not need to hold all of it at once.
The mechanism is the mixture-of-experts layout. Each expert layer holds 384 separate blocks of weights, and a router picks six of them per token, about 1.5% of the pool. With expert weights totalling roughly 139GB, that fraction lands near 2.2GB per token. Treat that as an estimate: it assumes evenly sized experts picked evenly, and this file compresses layers differently.
The rest of the file splits into a 155GB backbone at an average of about 2.25 bits per weight, plus roughly 111GB of Engram tables that the model reads sparsely and can leave mapped on disk. Those tables stay on the drive. The experts set the pace.
That is where tandem.cpp comes in. It is a set of patches applied to llama.cpp, the C/C++ inference engine from the ggml project, not a standalone runtime. Its README claims 14.2 tokens per second for DeepSeek V4.1 Flash on an RTX 5070 Ti with 64GB of DDR4 and a fast SSD, against 7.4 for llama.cpp. Those are the author's own figures, and the reading conditions matter as much as the number.
Why the memory hierarchy decides your tokens per second
Memory bandwidth sets a hard ceiling at each tier, so an MoE token is only as fast as the slowest tier its experts happen to live on. Reviewers put RTX 5070 Ti VRAM at about 896GB per second, dual-channel DDR4 at roughly 51GB per second, and a rated NVMe drive at up to 7GB per second.
That leaves three rough limits for pulling 2.2GB of experts per token: a few hundred tokens per second from VRAM, a bit over 20 from system RAM, and around 3 from the SSD alone. Real runs sit between the tiers because only some experts of each token are already in fast memory.
The measured 7.4 from plain llama.cpp falls between the drive limit and the RAM limit, which tells you the SSD is carrying part of every token's expert load. On this desktop that makes the drive model part of the specification rather than a footnote.
| Tier | Practical bandwidth | Rough ceiling for 2.2GB per token |
|---|---|---|
| GPU VRAM | ~896GB/s | Several hundred tokens/s |
| Dual-channel DDR4 | ~51GB/s | A bit over 20 tokens/s |
| NVMe SSD | Up to 7GB/s | Around 3 tokens/s |
What tandem.cpp changes about expert placement
By default llama.cpp's fit setting places dense layers on the GPU and then as many whole expert layers as fit, which spends VRAM on all 384 experts in a parked layer even though a token uses six. tandem.cpp stops parking whole layers and keeps experts in host RAM instead.
Spare VRAM then becomes a cache of recently used experts. When the router picks an expert already resident, the GPU runs it immediately. A miss has two routes: upload the weights over PCIe, or compute that expert on the CPU where it already sits in RAM. tandem.cpp splits misses between those routes based on measured speeds, using a rule borrowed from Strata, an offloading tool for MoE inference. The README does not spell out the formula.
A newer build adds a store mode that treats VRAM and a block of pinned RAM as one cache and reads misses directly from the drive with direct I/O, overlapping reads with compute. That build is dated after the headline runs, so it may not explain the 14.2 figure.
The author's table reports the 7.4 to 14.2 jump, a second run at 13.3, and Strata at 10.4 in between. Time to first token drops from about 14 seconds to about 6. On an RTX 5090 with 128GB of RAM, where the model fits in memory, the README lists 11.5 for llama.cpp against 33.1 for tandem.cpp.
The 14.2 tok/s claim is measured against an old default
The 14.2 tokens per second figure is measured against llama.cpp commit f5222f25c from 28 October 2026, with upstream's own expert cache left disabled. That baseline is the weak point of the comparison, and llama.cpp's own pull requests explain why.
On 7 October 2026, llama.cpp pull request 29887 merged a GPU expert cache that evicts the least recently used expert and uploads only the misses. Its author reports decoding rising from 30.8 to 67.8 tokens per second on an RTX 5090. The cache ships off by default and is enabled with the --moe-cache-mib flag.
On 7 November 2026, pull request 30966 added the CPU-share behaviour, letting a chosen portion of misses run on the CPU. With a roughly 6GB cache, its author reports 24.2 to 47.6 tokens per second. With a roughly 19GB cache the CPU share was slower, 54.1 against 65.5.
Both results point the same way: CPU help matters most when the cache is small, which is the situation a 16GB card creates. One tester with a slow GPU link and fast RAM found a large cache beat the CPU share anyway. Tandem's README never states whether its baseline had the flag on, and no published run compares tandem.cpp against current llama.cpp with both flags tuned on this model.
Where tandem.cpp gets slower or fails
tandem.cpp lost to llama.cpp in at least one configuration and does not run on Windows at all. Its own build from 1 November 2026 ran on an older i5-12400F and, reading the model off an SSD at three times RAM speed, managed 5.99 tokens per second against 6.86 for llama.cpp.
The README lists its limits plainly: Linux only, mainly NVIDIA, and built for a single user. Greedy decoding is not repeatable from run to run with the expert cache on, which is awkward for the one mode people pick to get identical answers twice.
An independent AMD port tested on a Qwen-family model did not beat the setup that team already used, according to the transcript's account of the IT Lab test. Portability across GPU vendors is not established by that result.
For anyone on Windows, or on hardware outside the tested NVIDIA range, the useful part of the idea is the expert cache already upstream in llama.cpp, not the patch.
What the 2-bit quantisation costs
The IQ2_XS file trades quality for size, and the producer reports close results on reasoning benchmarks rather than an exact match. Unsloth, the group that produced this quantisation, reports 99.8% recovery across three reasoning benchmarks at reasoning effort 50.
The only reported drop was GPQA Diamond at 90.4 against 90.91 for the original. Those are the author's own figures and no independent test exists. Perplexity KL divergence are not reported, so the drift in token-level word choice is unmeasured.
The model page recommends the smaller IQ2_XXS build instead, which it reports as matching the original on all three benchmarks. A model card that tells you to download less is worth taking at its word.
A separate check in the README covers correctness rather than capability: every tested setup answered 39 or 40 of the first 40 GSM8K math questions correctly. That is a small sample and it suggests only that the speed was not bought with obviously broken answers.
How to decide what to run on your own machine
Compare total expert weights against your system RAM before installing anything. Once the expert pool is roughly twice your RAM, as on the 64GB desktop in the README, the SSD becomes part of the specification and its speed moves your tokens per second.
If the fit is comfortable, turn on the expert cache in a current llama.cpp build first. That is the same core idea inside the project you already run, and it costs one flag rather than a patch set.
| Situation | Sensible first move |
|---|---|
| Expert weights fit in RAM | Current llama.cpp, expert cache enabled |
| 16GB GPU, experts exceed RAM | llama.cpp with --moe-cache-mib and CPU share tuned |
| Linux, NVIDIA, 64GB RAM, fast NVMe | Try tandem.cpp for an evening |
| Windows, or need reproducible greedy output | Stay on upstream llama.cpp |
| Need verified 2-bit quality | Wait for an independent test of the file |
The 14.2 figure remains one developer's measurement on one desktop. Nothing in the public record contradicts it, and nothing independently reproduces it either. The question the README cannot answer is what hit rate and speed your own hardware reaches with the expert cache on.
Frequently asked questions
- Can DeepSeek V4.1 Flash really run on a 16GB GPU?
Yes, with the caveats attached. Each token reads only six of 384 experts per layer, so roughly 2.2GB of expert weights per token, and the rest streams from RAM and SSD. The measured figures come from one developer on an RTX 5070 Ti with 64GB of system RAM.
- Is tandem.cpp faster than llama.cpp in general?
No general claim holds. The 14.2 versus 7.4 result compares tandem.cpp against an October 2026 llama.cpp commit with its expert cache disabled, and one tandem.cpp build ran slower than llama.cpp on an older i5-12400F. Upstream has since merged its own expert cache and CPU-share option.
- Do I need a fast NVMe SSD?
On a machine where expert weights are about twice the available RAM, yes. At roughly 7GB per second a drive sets a ceiling near 3 tokens per second on its own, and faster RAM and VRAM carry the rest of each token's expert load.
- Does the 2-bit quantisation hurt quality?
The producer reports 99.8% recovery on three reasoning benchmarks with GPQA Diamond at 90.4 against 90.91. Perplexity KL divergence are not reported, and no independent test of the IQ2_XS file has been published.
- Does tandem.cpp work on Windows or AMD cards?
The README lists Linux only and mainly NVIDIA hardware. An independent AMD port tested on a Qwen-family model did not beat the setup that team already used, so cross-vendor performance is not established.
Turning a detailed walkthrough into a written reference
A ten-minute video can hold the memory arithmetic, the pull request history and the caveats that make this comparison honest, and none of that survives a viewer skimming past it. The reasoning about why 2.2GB per token beats 266GB of weights is exactly the kind of explanation people search for later and cannot find in a comment thread.
If you have that sort of breakdown sitting in a recorded video, YouBlog turns a YouTube link into a structured draft you can review and publish. Paste the URL, let the transcript come through, and shape it into an article. YouBlog
Teams building developer tooling often document their stack privately before publishing. Crazystack, a Brazilian developer community, publishes its work at crazystack.com.br, and the people behind it write as Dev doido. Projects built with Crazystack typescript templates tend to produce the same kind of internal notes that read well as public articles once the jargon is stripped out.