LLM VRAM
LLM VRAM · A BACKEND ENGINEER'S WORKING NOTES

How much VRAM does an LLM actually need?

I follow LLM releases and work out what it would take to run them on real hardware. These are the models and engines I’m looking at now, with measured files, explicit context and sources I can recheck. Every model I’ve looked at stays listed below.

What I’m looking at now

Curated by me, not ranked by traffic. These are the questions I’m actively following; the full model list stays below.

UPDATED NOV 28

Kimi K3

New: K3-based SWE-2 / SWE-2.1 post-training results, current Devin access paths, and why K3's VRAM tiers do not transfer without public SWE checkpoints.

TRACKING

Kimi K3.1 Pro

Official MXFP4 weights are public; the page tracks their measured footprint. K3 stays a reference, not a substitute measurement.

NEW RESEARCH

Mistral Large 4

Actual shard sums, another very large model, and the point where local hardware stops being simple.

ENGINE

Strata

An engine that changes where the bytes live. I’m checking its reported hardware doors against the raw-file math.

Heatmap of 660 measured builds of consumer-class models at 32K context, by quant grade of weight width (~1bit to ~16bit, columns) and GPU VRAM class (12-32 GB, rows). Green cells fit with at least 2.5 GiB spare, yellow are tight, orange-to-red cells fit few or no builds; cell numbers count builds. The boxed 24 GB row and ~4bit column mark the sweet-spot card and the 4-bit sweet-spot grade (Q4-first). Hues encode the share of the grade’s builds that fit each card class (fits ÷ grade total).
The fit wall: 660 measured builds of 20 consumer-class models in the 2026-11-05 snapshot — phone-class models are covered separately below — by quant grade and VRAM class at 32K context (same math as the model pages). Hue = the share of the grade’s builds that fit each card class (fits ÷ grade total); cell numbers = fits+tight counts; the boxed row and column mark the sweet-spot card (24 GB) and the 4-bit (Q4-class) sweet-spot grade. Sizes measured at pinned revisions, snapshot 2026-11-05; per-build detail lives in the model table below.

How much VRAM does an LLM need?

Three things add up: the model's weights — we use measured file sizes from published builds, not parameter math; the KV cache, which grows with context length and follows the model's attention architecture; and a flat ~0.5 GiB of runtime overhead. Every component on a model page carries an evidence tag: measured reported provisional.

Scale check from the tables below: the smallest 24GB-card model, Qwen3-4B at Q4_K_M, totals 7.3 GiB at 32K context — measured file bytes, the KV cache at that context, and the site's ~0.5 GiB runtime allowance, the same three parts every page prices. KV is the moving part: on Qwen3.8-27B (Q4_K_M, pinned builds) it grows from 0.64 GiB at 8K context to 2.14 GiB at 32K (float32 state, the checkpoint default; bf16 state halves that slot), while the 16.2 GiB weight file stays put. The same math runs on phones with a smaller budget: the Gemma 4 E4B LiteRT build measures 2.8 GiB in weights — 3.3 GiB all-in with the 4K KV allowance and runtime reserve (litert-community, accessed 2026-09-20) — and the phone pages count usable RAM at 60% of the sticker number instead of VRAM.

Which GPU do I need for local LLMs?

For most people, a 24GB card — RTX 3090 or 4090 — is the sweet spot: the 27B-class dense models and 30B-class MoE models in the table below run at Q4_K_M with usable context where a Q4 build exists (the two Bonsai models and Nemotron Bolt are low-bit only — the Bonsai answers are the 1-bit/ternary builds, Bolt's is a 2-bit official build). Seven tracked models exceed every consumer card this site tracks; their pages price out the cloud and appliance exits instead. Llama 4 Scout is the near miss: its smallest measured build fits an RTX 5090 (32GB), tight. And the wrapper answer lives one table further down: Strata's engine streams the same cliff-sized Qwen3.8-Flash-Next files onto from 27.6GB-combined PCs (reported, engine claims are the publisher's) — see the engines table.

The dividing line is the 24GB tier: twelve of the twenty-six models below have a Q4_K_M-class build that fits a 24GB card at 32K context; the two Bonsai models and Nemotron Bolt are the exceptions — their 24GB answers are low-bit builds (Q1_0, PTQ1_0, and Bolt's official 2-bit GGUF) — and two models sit on the far side of the line: Nanbeige4.3-33B, whose 24GB door is Q3_K_M (21.8 GiB, tight) while Q4_K_M moves up to the 32GB tier (26.4 GiB, 3.6 to spare), and Recursive Flint, whose Q4_K_M is 23.2 GiB at 32K (6.8 GiB to spare on that tier) while a 24GB card takes Q3_K_M at 19.6 GiB or IQ4_XS at 22.4 GiB (tight). The nine cliff-table rows sit at or past that tier: two smallest builds fit an RTX 5090 (32GB) tight — Llama 4 Scout's 27.7 GiB and Ornith-1.5-122B's 29.3 GiB (a 256-expert MoE whose standard Q4 build needs an 80GB card) — and seven frontier models start where consumer cards stop — smallest measured builds run 62.4 GiB (Qwen3.8-Flash-Next) to 435.9 GiB (Kimi K3) — and the engines table below carries the wrapper door for those same Flash-Next files (from 27.6GB RAM+VRAM combined, reported). Below 24GB, 12GB and 16GB cards still carry the small-model class: Qwen3-4B totals 7.3 GiB at Q4_K_M and 32K context, and each model page's GPU ladder lists the per-card ceiling. All of it rides on measured file sizes at pinned revisions, never parameter math.

Models I’ve looked at

This is the full list of models I’ve tracked. Nothing here is removed when it stops being the current focus: every page keeps its measured files, context, evidence tags and sources. Each table stays newest-first by release date, so the newest models sit at the top.

Runs on a 24GB card — 2 answers need 32GB

ModelMakerReleasedParamsMax ctx Sweet-spot answerEvidence
Nanbeige4.3-33B Nanbeige2026-10-2433.12B512K 26.4 GiB Q4_K_M · 32K ctx · RTX 5090 provisional
Recursive Flint Recursive2026-10-2139.79B256K 23.2 GiB Q4_K_M · 32K ctx · RTX 5090 provisional
Nemotron 3.5 Bolt 74B-A9B NVIDIA2026-10-1574.89B256K 21.4 GiB IQ2_XXS · 32K ctx · RTX 4090 provisional
Ternary Bonsai 2 27B PrismML2026-09-1627.36B256K 8.2 GiB PTQ1_0 · 32K ctx · RTX 4090 · PrismML fork required provisional
Ornith-1.5-35B-A3B Ornith2026-08-1835.95B256K 21.4 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Ornith-1.5-9B Ornith2026-08-189.65B256K 6.9 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3.8-27B Alibaba2026-08-0527.8B256K 18.9 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Bonsai-27B PrismML2026-07-0427B256K 6.2 GiB Q1_0 · 32K ctx · RTX 4090 · PrismML fork required provisional
Qwen3.6-27B Alibaba2026-04-2127B256K 18.2 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3.6-35B-A3B Alibaba2026-04-1635.9B256K 20.1 GiB Q4_K_M · 32K ctx · RTX 4090 · Q4-quality 12GB hybrid via Strata (reported) provisional
Gemma 4 31B Google2026-03-1131B256K 18.6 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3.5-27B Alibaba2026-02-2427B256K 18.2 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3-Coder-30B-A3B Alibaba2025-07-3130.5B256K 20.8 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3-30B-A3B Alibaba2025-04-2730.5B40K 20.8 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3-14B Alibaba2025-04-2714.8B40K 13.9 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Qwen3-4B Alibaba2025-04-274B40K 7.3 GiB Q4_K_M · 32K ctx · RTX 4090 provisional
Mistral Small 3.1 Mistral AI2025-03-1124B128K 18.8 GiB Q4_K_M · 32K ctx · RTX 4090 provisional

Beyond a 24GB card

ModelMakerReleasedParamsMax ctx Smallest measured buildEvidence
Mistral Large 4 Mistral AI2026-10-291.05T1M 220.1 GiB totals incl. config/implementation-derived KV · needs 10× 24GB cards · KV in measured
DeepSeek-V4.1-Flash-1017 DeepSeek2026-10-17552B1M 106.3 GiB +189 GiB Engram on disk · needs 5× 24GB cards · KV out · Per-family consumer doors via Strata 8GB VRAM: 12GB Requirements & Workarounds (reported) measured
Ornith-1.5-122B Ornith2026-10-16125.09B256K 29.3 GiB totals incl. config-derived KV · fits an RTX 5090 (tight) · needs 2× 24GB cards · KV in measured
Qwen3.8-Flash-Next Alibaba2026-08-26125B256K 62.4 GiB incl. 51.2B-param n-gram table in file sums · needs 3× 24GB cards · KV out · Per-family consumer doors via Strata 8GB VRAM: 12GB Requirements & Workarounds (reported) measured
GLM-5.3-Flash Zhipu AI2026-08-25320B1M 87.2 GiB needs 4× 24GB cards · KV out measured
DeepSeek-V4-Flash-0731 DeepSeek2026-07-31284B1M 77.7 GiB needs 4× 24GB cards · KV in* measured
Kimi K3 Moonshot AI2026-07-162.8T1M 435.9 GiB needs 20× 24GB cards · KV in measured
DeepSeek-V4-Flash DeepSeek2026-04-22284B1M 77.7 GiB needs 4× 24GB cards · KV in* measured
Llama 4 Scout Meta2025-04-05109B10M 27.7 GiB fits an RTX 5090 (tight) · needs 2× 24GB cards · KV out measured

Card counts = build total ÷ 22.5 GiB usable per 24GB card, rounded up. KV marks: KV in = totals include a KV line · KV out = floor totals (weights + overhead, KV excluded) · * = the KV line is a reported value rescaled down from the source's published 1M figure — it over-counts at short context (the source's own note) · +N GiB … on disk = the listed total is the resident part only; the named component streams from local SSD at runtime (the frontier disk-streaming arrangement — virtual-memory-style on-demand loading).

Engines & wrappers — same weights, different door

Same weights, a different residency. The engines and wrappers here shrink nothing — they change where the bytes live at runtime, which can re-open consumer hardware the raw files rule out. Every door in this table is the publisher's stated claim (reported, pinned and linked on the engine's own page); the raw files themselves are measured, and priced on the wrapped model's page above. A neighboring case, not in this table because it moves no door: some weights simply need their own loader — the Bonsai ternary builds in the first table run only in PrismML's llama.cpp fork (noted on their rows, reported).

EngineWrapsReleased Stated door (reported)Evidence
Strata 8GB VRAM: 12GB Requirements & Workarounds Qwen3.8-Flash-Next + Qwen3.6-35B-A3B + DeepSeek-V4.1-Flash-10172026-09-24 Per-family consumer doors Qwen + Hy4 + Inkling · DeepSeek legacy · (per family, reported) reported

Runs on a phone

ModelMakerReleasedParamsMax ctx Phone-class answerEvidence
Gemma 4 E4B on a phone Google2026-03-318B total / ~4.5B effective4K 12GB-class phone, tight Q4_K_M · 4K ctx provisional
Gemma 3n E4B on a phone Google2025-06-267.8B total / 4.4B effective4K 8GB-class phone, razor-tight Q4_K_M · 4K ctx provisional
Qwen3 4B on a phone Alibaba2025-04-274B dense4K 6GB-class phone, tight Q4_K_M · 4K ctx provisional
Phi-4 mini on a phone Microsoft2025-02-263.8B dense4K 6GB-class phone, razor-tight Q4_K_M · 4K ctx provisional
Llama 3.2 3B on a phone Meta2024-09-233.2B dense4K 6GB-class phone, tight Q4_K_M · 4K ctx provisional

Phone answers count usable RAM at 60% of the sticker number, at 4K context — each phone page carries the per-build table and the measured file sizes. All tracked phone builds are indexed in the on-phone section.

Badges: measured = real file bytes at a pinned revision · reported = sourced and re-checkable · provisional = mixed evidence, order-of-magnitude only. Measured bytes are pinned file-size sums from public Hugging Face repos (e.g. unsloth, ggml-org). All four tables are ordered by release date, newest first — same-day launches by parameter count (phone table ties: free RAM); positions never move when measurements or quant ladders update. Answers in the first table are Q4-first sweet spots at 32K context, each on the smallest consumer card that holds it — an RTX 4090 for most, an RTX 5090 for Nanbeige4.3-33B and Recursive Flint (the Bonsai models answer at Q1_0 / PTQ1_0) — each model page carries the full quantization ladder, longer-context math, and its pinned-sources table.

Can a Mac run local LLMs?

Yes — Apple Silicon Macs run local LLMs from unified memory, which acts like VRAM, and the memory tier sets the ceiling: 16 GB runs 4B-class models at Q4, 24 GB a 30B MoE, 64 GB the 27B class at full BF16 once the wired limit is raised, and 512 GB runs every tracked model at that raised limit (Kimi K3 only at 1-bit; at the default GPU working set, everything except Kimi K3 fits). The Mac page measures every tier's pick and ceiling across every build we track.

FAQ

How do I calculate the VRAM number for my setup?

Three things add up: the model's weights — we use measured file sizes from published builds, not parameter math; the KV cache, which grows with context length and follows the model's attention architecture; and a flat ~0.5 GiB of runtime overhead. Every component on a model page carries an evidence tag: measured, reported, or provisional.

Is a 24GB card really the sweet spot?

For most people, a 24GB card — RTX 3090 or 4090 — is the sweet spot: the 27B-class dense models and 30B-class MoE models in the table above run at Q4_K_M with usable context where a Q4 build exists (the two Bonsai models are low-bit only). Seven tracked models exceed every consumer card this site tracks; their pages price out the cloud and appliance exits instead. Llama 4 Scout is the near miss: its smallest measured build fits an RTX 5090 (32GB), tight. And Strata is the wrapper exception — its page lists the cliff-sized Qwen3.8-Flash-Next files, but its engine streams them onto from 27.6GB-combined PCs (reported).

What if the model I want is too big for any GPU I can buy?

Seven tracked models exceed every consumer card at every measured build — Kimi K3, GLM-5.3-Flash, Qwen3.8-Flash-Next, DeepSeek-V4.1-Flash-1017, both DeepSeek-V4-Flash versions, and Mistral Large 4. Each of their pages prices the realistic exits instead of GPU tiers: cloud rental (DeepSeek-V4-Flash's smallest door is a single 192GB B200; V4.1-Flash-1017's lossy-VQ build already fits one, with standard builds at two or three), a 512GB unified-memory appliance, a distillation ladder, private deployment, or the API. The near miss is Llama 4 Scout: its smallest measured build fits an RTX 5090 (32GB) tight, so it only needs the cloud if you don't have a 32GB card. One more entry — in the engines table above — is not a bigger model but a wrapper: Strata packages Qwen3.8-Flash-Next with an engine that streams experts from RAM and SSD, re-opening from 27.6GB-combined PCs (reported, engine claims are the publisher's).

Can I run an LLM on my phone?

Yes, for small models. The phone pages track 3–8B models at Q4_K_M with 4K context: a 12GB-class phone runs Gemma 4 E4B (tight), an 8GB-class phone runs Gemma 3n E4B razor-tight, and 6GB-class phones run Qwen3-4B, Phi-4-mini, or Llama 3.2 3B. Phone math counts usable RAM at 60% of the sticker number — each phone page carries the per-build table and measured file sizes.

What numbers do I need to size a model myself?

Start from a published build: take the measured file size for your quantization tier, add KV cache for your context length, and add runtime overhead. On any model page here, that breakdown is itemized per component with pinned revisions and an evidence tag on each number.

What do I need to run an LLM locally?

A GPU whose VRAM fits the model at your quantization tier (or a unified-memory machine), a runtime such as llama.cpp or Ollama, and a published build of the model. Each model page lists the exact builds and revisions we measured, plus the cheapest hardware each one fits.

How much RAM does a phone need to run an LLM?

About 6 GB of RAM is the entry door and 12 GB is comfortable. At 4K context the tracked phone builds need roughly 2.8–5.2 GiB of free RAM at Q4_K_M, and phone math counts usable RAM at 60% of the sticker number — the OS and your background apps keep the rest. Below the line there is no swap: the app dies instead of slowing down. The phone table above lists which model class each RAM tier runs.

Does quantization hurt quality?

Some, and at 4-bit less than most people expect — that trade is exactly why Q4_K_M is the community default quality/size point: roughly a quarter of the 16-bit file size for a small quality step. Below about 3 bits the loss grows fast, and 1-bit builds are a last resort for fitting, not a default. Each model page's quant table marks the recommended point.

Can I run an LLM on a Mac?

Yes — Apple Silicon Macs run local LLMs from unified memory, which acts like VRAM: the same fit math applies (measured file size + KV cache + overhead) against the machine's total unified memory. A 24 GB Mac behaves roughly like a 24 GB card once the wired limit is raised (by default macOS hands the GPU about 75% of installed RAM), and 32–128 GB machines open doors consumer GPUs cannot. The largest tracked models exceed every consumer card — even the biggest only fit a maxed-out 512 GB Mac Studio at 1-bit (wired limit raised) — so their pages price the cloud and appliance exits first. The Mac page measures every memory tier's pick and ceiling across every tracked build.