Guide
How much VRAM an LLM needs at 8K, 32K and 128K context
A 30B model fits 128K tokens of context on a 24 GB card; a 14B model does not. KV cache math for every sized open model on Tokenism, at 24, 48 and 80 GB.
A 24 GB card runs Ministral 3 14B at 8-bit with an 8,192-token context, Muse Glimmer (29.6 billion parameters) at 4-bit, and the smaller Ministral 3 models at 16-bit. Past about 32,000 tokens of context, the answer depends less on the model's size than on its attention layout. Muse Glimmer at 4-bit holds its full 128,000-token window in 18.2 GB. Ministral 3 14B, half its size, needs 31.3 GB at 4-bit for 131,072 tokens, and does not fit.
Most "what fits in my VRAM" answers stop at weights: parameters times bytes per weight. That is the right first step and the wrong last one. Every token of context leaves a key and a value behind in every attention layer, and that cache is often bigger than the weights. For Ministral 3 14B at 4-bit, the cache at 131,072 tokens is three times the weights.
The numbers come from the same memory formula as the what runs on 24 GB page and each GPU's fit table: parameter counts and attention layouts read from each model's own Hugging Face card and config on Nov 17, 2026, and card memory from vendor spec pages read Nov 16 and 17, 2026. The KV cache is counted at 16 bits, one request at a time unless stated, plus an overhead allowance of 10% (at least 1 GB). Memory is in decimal GB.
How much VRAM do the weights alone take?
Weights take parameters times bytes: 2 bytes at 16-bit, 1 at 8-bit, half a byte at 4-bit. The catalog has 16 open-weights models and parameter counts for 15 of them (DeepSeek V4.1 Flash has none in the catalog).
| Model | Parameters | 16-bit | 8-bit | 4-bit |
|---|---|---|---|---|
| Ministral 3 3B | 3.8B | 7.7 GB | 3.8 GB | 1.9 GB |
| Ministral 3 8B | 8.9B | 17.8 GB | 8.9 GB | 4.5 GB |
| Ministral 3 14B | 13.9B | 27.9 GB | 13.9 GB | 7.0 GB |
| Muse Glimmer | 29.6B | 59.2 GB | 29.6 GB | 14.8 GB |
| Mistral Small 4 | 119B (6.5B active) | 238 GB | 119 GB | 59.5 GB |
| Command A+ | 218B (25B active) | 436 GB | 218 GB | 109 GB |
| GLM-5.3-Flash | 320B (18B active) | 640 GB | 320 GB | 160 GB |
| Mistral Large 4 | 1,000B (52B active) | 2,000 GB | 1,000 GB | 500 GB |
| DeepSeek V4 Pro | 1,600B (49B active) | 3,200 GB | 1,600 GB | 800 GB |
The list jumps from 30B to 119B with nothing in between, which is why the bigger tiers add so little. Mixture-of-experts models such as Mistral Small 4 use only a few billion parameters per token, which helps speed, but all of the weights still have to sit in memory.
How much VRAM does the KV cache take at 8K, 32K and 128K?
The cache costs a fixed number of bytes per token of context, set by the attention layout: 2 (key and value) times layers times key/value heads times head size times 2 bytes. That per-token figure differs by more than ten times between models of similar size.
| Model | Cache per token | 8,192 tokens | 32,768 tokens | 131,072 tokens | Full window |
|---|---|---|---|---|---|
| Ministral 3 3B | 106 KB | 0.87 GB | 3.5 GB | 14.0 GB | 27.3 GB at 256,000 |
| Ministral 3 8B | 139 KB | 1.1 GB | 4.6 GB | 18.3 GB | 35.7 GB at 256,000 |
| Ministral 3 14B | 164 KB | 1.3 GB | 5.4 GB | 21.5 GB | 41.9 GB at 256,000 |
| Muse Glimmer | 13 KB on 13 layers, capped on 39 | 0.19 GB | 0.52 GB | 1.8 GB at 128,000 | 1.8 GB at 128,000 |
The Ministral 3 models use full attention on every layer, so each token adds the same amount to all of them. Muse Glimmer's config file runs 39 of its 52 layers with a sliding window of 2,048 tokens and only 13 with full attention. The 39 windowed layers stop growing at 2,048 tokens, so past that point only 13 layers add to the cache, at 13,312 bytes per token. Its config also uses 2 key/value heads where Ministral uses 8.
That layout is why a 30B model beats a 14B model at long context. At 8,192 tokens the cache barely matters for either model. At 131,072 tokens it is 69% of Ministral 3 14B's 4-bit total; at Glimmer's full 128,000 tokens it is 10% of Glimmer's.
Ten of the sized models have no plain key/value layout to count. For Mistral Small 4, Mistral Large 4, DeepSeek V4 Pro, both Kimi models and both GLM models, the catalog notes a compressed cache the plain formula does not describe; both MiniMax models use MiniMax Sparse Attention; Muse Spark Open's config is gated. Their fit rows show weights and overhead only, labelled as such, so a real run needs more.
Which models fit on 24 GB, 48 GB and 80 GB?
At an 8,192-token context, 4 of the 15 sized models fit on 24 GB at some width, 4 on 48 GB and 5 on 80 GB. Each cell is the highest precision that fits; the number is the total in GB.
| Memory | 8,192 tokens | 32,768 tokens | 131,072 tokens |
|---|---|---|---|
| 24 GB | Ministral 3 14B 8-bit (16.8), Ministral 3 8B 16-bit (20.9), Ministral 3 3B 16-bit (9.6), Muse Glimmer 4-bit (16.5) | Ministral 3 14B 8-bit (21.2), Ministral 3 8B 8-bit (14.8), Ministral 3 3B 16-bit (12.3), Muse Glimmer 4-bit (16.8) | Ministral 3 3B 16-bit (23.8), Muse Glimmer 4-bit (18.3) |
| 48 GB | All four above at their best width: Ministral 3 14B 16-bit (32.2), Muse Glimmer 8-bit (32.8) | Ministral 3 14B 16-bit (36.6), Muse Glimmer 8-bit (33.1) | Ministral 3 14B 8-bit (39.0), Ministral 3 8B 16-bit (39.7), Ministral 3 3B 16-bit (23.8), Muse Glimmer 8-bit (34.6) |
| 80 GB | Adds Mistral Small 4 4-bit (65.5, weights only) and Muse Glimmer 16-bit (65.3) | Same five | Ministral 3 14B 16-bit (54.3), Muse Glimmer 16-bit (67.1), Mistral Small 4 4-bit (65.5, weights only) |
Three findings fall out of that grid.
First, 24 GB is a short-context tier for the Ministral models. Ministral 3 14B at 4-bit fits up to about 90,000 tokens on 24 GB; at 8-bit, about 47,000. Ministral 3 8B at 16-bit stops near 27,600. The 24 GB fit list assumes 8,192 tokens, so treat it as the best case.
Second, doubling memory to 48 GB buys precision and context, not new models. The same four models fit, at higher widths or longer contexts. The 48 GB list and the 24 GB list name the same models.
Third, 80 GB adds exactly one model, Mistral Small 4 at 4-bit, and with a weights-only estimate. On the 80 GB list it needs 65.5 GB before any cache, which leaves about 14 GB of headroom on an H100 for a cache the formula cannot size. It also gives Ministral 3 14B at 16-bit its full 256,000-token window (76.8 GB).
Which GPUs sit in each memory tier?
Of the 31 accelerators in the catalog, three have 24 GB, two have 80 GB and none has exactly 48 GB. Speeds below are the batch-1 upper bound: memory bandwidth divided by the bytes of active weights read per token, at 4-bit.
| Card | Memory | Bandwidth | Ministral 3 14B bound | Muse Glimmer bound | Launch price in catalog |
|---|---|---|---|---|---|
| GeForce RTX 4090 | 24 GB | 1,008 GB/s | 145 tokens/s | 68 tokens/s | not listed |
| Radeon RX 7900 XTX | 24 GB | 960 GB/s | 138 | 65 | $999 (Nov 2022) |
| Arc Pro B60 | 24 GB | 456 GB/s | 65 | 31 | not listed |
| GeForce RTX 5090 | 32 GB | 1,792 GB/s | 257 | 121 | $1,999 (Jan 2025) |
| A100 80GB | 80 GB | 2,039 GB/s | 292 | 138 | not listed |
| H100 SXM | 80 GB | 3,350 GB/s | 480 | 226 | not listed |
| RTX PRO 6000 Blackwell | 96 GB | 1,792 GB/s | 257 | 121 | not listed |
A bound is a ceiling: in published llama.cpp runs compiled for the local LLM cost guide, cards reached a median of 54% of it, and data-center cards much less at batch 1. The same 24 GB fits on the RTX 4090 and the Arc Pro B60, but the Arc card has under half the bandwidth, so it generates at under half the speed.
A 48 GB budget in this catalog means two 24 GB cards, or a larger single card. Two cards split the weights, and the memory math above counts only memory: interconnect and the cost of splitting a model are not modelled. The GPU catalog lists every card with its memory and bandwidth source.
How does running several requests at once change the answer?
Each concurrent request keeps its own cache, so serving several users multiplies the cache, not the weights. At 32,768 tokens and 4-bit:
| Requests at once | Ministral 3 14B | Muse Glimmer |
|---|---|---|
| 1 | 13.6 GB | 16.8 GB |
| 2 | 19.5 GB | |
| 4 | 31.3 GB | 18.6 GB |
| 8 | 54.9 GB | 20.8 GB |
| 16 | 25.4 GB |
Ministral 3 14B stops fitting on 24 GB at four requests. Muse Glimmer runs eight on 24 GB and sixteen on 32 GB. If you plan to share one card across a team, size it for the cache of the busiest hour.
What do the largest open models need?
The models that compete with paid frontier APIs need several data-center cards even at 4-bit. Memory only, with an 8,192-token context:
| Model | 4-bit total | H100 SXM (80 GB) | Instinct MI300X (192 GB) | RTX 4090 (24 GB) |
|---|---|---|---|---|
| Mistral Small 4 | 65.5 GB | 1 | 1 | 3 |
| Command A+ | 120.6 GB | 2 | 1 | 6 |
| GLM-5.3-Flash | 176 GB | 3 | 1 | 8 |
| Mistral Large 4 | 550 GB | 7 | 3 | 23 |
| DeepSeek V4 Pro | 880 GB | 11 | 5 | 37 |
Those card counts are where an API usually wins. Mistral Small 4 costs $0.15 input and $0.60 output per million tokens from Mistral, and DeepSeek V4 Pro $1.32 and $3.96 at its peak rate. With 192 GB per card, the AMD Instinct MI300X needs the fewest cards in this table.
When does an API beat a local or rented card?
For the models that fit on 24 to 80 GB, the API is cheap: Ministral 3 14B costs $0.20 per million tokens in and out from Mistral, Ministral 3 8B $0.15 and Ministral 3 3B $0.10. The local LLM cost guide works the break-even for an RTX 5090 on Ministral 3 14B: 177 busy hours a month. Muse Glimmer is the exception worth knowing. Meta publishes no API price for it and the cheapest OpenRouter route lists $0.35 input and $1.50 output, so a card that holds it with long context is easier to justify.
Tokenism does not track GPU rental prices. The buy, rent or API calculator takes the hourly rate you are quoted and sets it beside the card's purchase cost and the API price for the same model.
A practical sizing order:
- Pick the model by quality, then read its weights at the width you want.
- Add the cache for your longest real context, not your average.
- Multiply the cache by the requests you will serve at once.
- Add 10% or 1 GB, whichever is larger, and compare with the card.
VRAM is spent twice: once on the model and once on what you ask it to remember. On long prompts the second bill decides the card.
Related reading: how long-context pricing works on the API side, and the cheapest API for each workload, which is the price a local card has to beat. All guides are on the Tokenism guides page.
Questions
- Can a 70B model run on a single 24 GB RTX 4090 or a 32 GB RTX 5090?
- Not at 4-bit or above. Weights alone take parameters times bytes per weight, so a 70-billion-parameter dense model needs 35 GB at 4-bit before any KV cache or overhead, more than either card holds. The largest open model in the Tokenism catalog that fits on a 24 GB card is Muse Glimmer, at 29.6 billion parameters and 16.5 GB at 4-bit with an 8,192-token context.
- Why does a 4-bit model still run out of memory with long context?
- Because the KV cache grows with every token of context and is stored at 16 bits here, whatever the weight precision. Ministral 3 14B needs 7 GB of 4-bit weights but 21.5 GB of KV cache at 131,072 tokens, so the total of 31.3 GB is over a 24 GB card. On a 24 GB card it fits up to about 90,000 tokens at 4-bit.
- Which GPUs have 24, 48 or 80 GB of memory?
- Of the 31 accelerators in the Tokenism catalog, three have 24 GB (GeForce RTX 4090, Radeon RX 7900 XTX and Arc Pro B60), two have 80 GB (H100 SXM and A100 80GB) and none has exactly 48 GB. The two 32 GB cards, the GeForce RTX 5090 and Radeon AI PRO R9700, sit between, and the RTX PRO 6000 Blackwell has 96 GB.
- Does running several requests at once need more VRAM?
- Yes, one KV cache per request. Ministral 3 14B at 4-bit with 32,768 tokens of context needs 13.6 GB for one request and 31.3 GB for four, which no longer fits on 24 GB. Muse Glimmer's cache is so small that 16 such requests need 25.4 GB.
- Where does Tokenism list which models fit on a given memory size?
- The what-runs-on pages for 8, 16, 24, 48 and 80 GB list every sized open-weights model at 16, 8 and 4 bits with an 8,192-token context. Each GPU page has a fit table for its own memory, and each open model's page says how many cards of each kind it needs, up to eight.
Sources
- Meta, Muse Glimmer 30B model card and config (opens in a new tab)
- Mistral, Ministral 3 14B Instruct model card and config (opens in a new tab)
- Mistral, Mistral Small 4 model card (opens in a new tab)
- NVIDIA, GeForce RTX 4090 specifications (opens in a new tab)
- NVIDIA, H100 product page (opens in a new tab)
- AMD, Radeon RX 7900 XTX specifications (opens in a new tab)
- Intel, Arc Pro B60 specifications (opens in a new tab)
Catalog figures in this guide come from Tokenism pages, each linked to the vendor page it was read from with the date it was checked.