Editorial

Local LLM VRAM Guide: How Much GPU Memory You Need in 2026

Estimate VRAM for local LLMs by model size, quantization, context length, and workload, with examples for 8B, 20B, 27B, 32B, and 70B models.

JJyoti Ranjan SwainUpdated
GPU memory planning chart for local LLM model sizes and quantization choices

Running a local LLM is mostly a memory planning problem. People argue about model names, but VRAM decides whether the thing runs smoothly, slowly, unreliably or not at all.

This guide covers how much GPU memory local models need in 2026, why quantization changes the answer, and why a model that "fits" can still crash once context length or workload type is counted. For exact numbers, put your model size, quantization, context length, users and inference or training mode into the ToolMintX AI VRAM Calculator.

Quick VRAM planning table

Treat this as a starting point and calculate your exact setup afterwards.

Model classCommon examplesRough comfortable memory target
2B-4BGemma edge variants, Phi-class mini models4-8 GB
7B-8BQwen, Llama, DeepSeek distills, Gemma small models6-12 GB
12B-14BMid-size chat and coding models10-16 GB
20B-21Bgpt-oss-20b class, compact reasoning models16-24 GB
26B-32BGemma 4 26B/31B, Qwen3.6-27B, Qwen3 32B24-40 GB
35B MoEQwen3.6-35B-A3B class24-48 GB depending on quant/runtime
70BLarge local chat and reasoning models48-80 GB
120B+ MoEgpt-oss-120b class80 GB+

These are bands, not guarantees. The real requirement depends on quantization, KV cache, context length, batch size, concurrent users, GPU offload, and whether you are doing inference, LoRA, QLoRA or full fine-tuning.

What decides VRAM use

Model size is only one of four inputs.

Model weights

Weights are the model's stored parameters. A 7B model has around seven billion of them and a 27B model around twenty-seven billion. Bigger models need more memory, but quantization shrinks how much each parameter takes:

  • FP16 uses about 2 bytes per parameter.
  • INT8 uses about 1 byte per parameter.
  • Q4-style quantization uses around half a byte per parameter plus overhead.

So a 27B model in FP16 and the same model in Q4 sit in different memory classes.

Quantization

Quantization compresses the weights so the model runs in less memory. Docker's llama.cpp documentation lists common GGUF quantization levels from Q2_K through Q8_0 and notes Q4_K_M as a common balance point for quality and memory.

For most desktop users, Q4_K_M or a similar 4-bit quant is the default starting point. If you want better quality and have memory to spare, Q5 or Q6 is better. If the model barely fits, Q3 is fine for experiments, though output quality can suffer.

KV cache and context length

Many people miss this one. As a model reads or generates tokens, it stores attention cache data, and that cache grows with context length until it is a large share of memory.

A model that fits at 4K context may not fit at 64K. A coding model that handles short prompts can run out of memory when you paste a full repository plan, long logs or several documents. If you are picking a model for coding, research or document analysis, calculate memory at the context length you plan to use.

Workload type

Inference is the lightest common workload. Fine-tuning needs more memory, and full training needs much more again.

  • Inference: chat, writing, code help, extraction, summarization.
  • LoRA or QLoRA fine-tuning: adapting a model with less memory than full training.
  • Full fine-tuning: usually not realistic on consumer GPUs for larger models.
  • Multi-user serving: more cache and batching pressure than one local chat.

The AI VRAM Calculator has separate inference and training modes, so you don't end up comparing unlike workloads.

Gemma 4

Gemma 4 spans small edge models and larger workstation models. The effective 2B and 4B variants suit laptops. The 26B MoE and 31B dense models are far more capable, but they need a serious GPU or a lot of unified memory.

Use the small variants for a light local assistant. Look at 26B or 31B if you want stronger reasoning, multimodal behavior and agent-style workflows.

Qwen3.6-27B

Qwen3.6-27B is a dense 27B model aimed at coding and multimodal reasoning. Dense models are simpler to serve and benchmark than many MoE models, which is part of the appeal.

Memory depends heavily on quantization, but it is not an 8 GB GPU model if you want a comfortable experience. Treat 24 GB as the starting tier for good local testing, and use a calculator if you want long context.

Qwen3.6-35B-A3B

Qwen3.6-35B-A3B is a 35B total parameter MoE model with around 3B active parameters per token. It can be efficient at inference time, but you still have to load the whole model and deal with runtime-specific behavior.

Two users can report very different memory use depending on GGUF quant, CPU offload, MLX, llama.cpp, vLLM, SGLang or Apple unified memory. The active-parameter count alone doesn't predict VRAM.

LFM2.5-24B-A2B

Liquid AI's LFM2.5-24B-A2B (October 2026) is a 24B MoE with 2.45B active parameters, and its layer layout counts for as much as its parameter count. Only 10 of its 40 layers keep a KV cache, so a token costs 20 KiB at FP16 and the full 131K context adds just 2.50 GiB. The Q4_K_M GGUF is 13.53 GiB, so a 16 GB card runs it at 32K, or at 128K with a q8_0 cache. The full working is in our LFM2.5-24B-A2B VRAM and cost breakdown.

DeepSeek-R1-0528

The full DeepSeek-R1-0528 model is infrastructure-grade for most users, so local builders usually test distilled or quantized variants. Their memory needs follow the base model size, not the R1 name.

"DeepSeek-R1-Distill-Qwen-8B" should be planned as an 8B-class model. A 32B distill is a 32B-class model.

gpt-oss

OpenAI gives unusually clear memory guidance here: gpt-oss-20b is designed to run with 16 GB of memory, and gpt-oss-120b targets an 80 GB memory class. That makes the family useful for planning even if you end up choosing another model.

gpt-oss is text-only. If your workflow needs image understanding, pick a multimodal model.

Kimi K2.6

Kimi K2.6 is a multimodal agentic model that belongs in the heavy infrastructure category for most people. Treat it as a serving project, not a desktop model, unless you use a smaller community quantization and accept the tradeoffs.

VRAM by hardware tier

Student or casual user

Start with a 4B to 8B model. Responses are faster, memory surprises are rarer, and quality is enough for summaries, simple writing, study notes and everyday chat. The hardware target is 8-12 GB VRAM, or modern Apple Silicon with enough unified memory.

Developer on a 16 GB GPU

Try 8B to 14B models first. gpt-oss-20b class models are worth testing if the runtime and quantization are built for that memory target, but leave room for context and system overhead. This tier handles short coding prompts, small-file edits, log analysis and structured output.

Developer on a 24 GB GPU

Local AI starts to feel serious here. You can test many 20B to 35B quantized models, including Qwen3.6-27B and efficient MoE models, though long-context coding still needs careful settings. Typical uses are repository analysis, local coding agents, document extraction and private technical notes.

Creator or analyst with 48 GB unified memory

Larger models and longer context windows fit more comfortably. On Apple Silicon, still watch speed, thermals and whether the runtime is optimized for Metal or MLX. Good fits are long PDFs, research folders, content transformation, batch summarization and heavier multimodal tests.

Team or lab with 80 GB GPUs

This is the tier for gpt-oss-120b and larger self-hosted inference. The question stops being whether it runs and becomes throughput, batching, latency, monitoring and safety controls. Typical uses are internal assistants, private coding agents, RAG services and evaluation harnesses.

Why a model can fit and still feel bad

Loading into VRAM is only the first test. A model can load and still disappoint for these reasons:

  • It has almost no memory headroom, so long prompts fail.
  • The context length is too high for your GPU.
  • CPU offload makes it much slower than expected.
  • The quantization is too aggressive for the quality you need.
  • The runtime isn't optimized for your GPU or Apple Silicon chip.
  • You tested one chat but are serving multiple users.
  • The model scores well on benchmarks but is weak on your actual task.

Small experiments are the reliable way to choose. Start with a smaller model, confirm the workflow, then move up.

Choosing a local model step by step

  1. Pick the task: chat, code, document reasoning, vision or fine-tuning.
  2. Pick the hardware limit: 8 GB, 16 GB, 24 GB, 48 GB or 80 GB.
  3. Pick a model size, starting below your maximum.
  4. Choose a quantization: Q4 for balance, Q5 or Q6 for quality if memory allows.
  5. Enter the exact plan into the AI VRAM Calculator.
  6. Test with real prompts, not benchmark-style questions.
  7. Raise context length only after the model is stable.

This avoids the most common mistake in local AI, which is downloading the biggest model first and then trying to make the hardware cope.

Starting points by hardware

Your hardwareStart here
8 GB VRAM4B-8B Q4 model, short context
12 GB VRAM8B Q4/Q5 model or 14B Q3/Q4 experiment
16 GB VRAM14B Q4 or gpt-oss-20b class model if the runtime is optimized
24 GB VRAMQwen3.6-27B or Gemma 4 26B/31B class at careful quantization
48 GB memory32B-70B experiments with longer context
80 GB GPUgpt-oss-120b class, larger local serving, production evaluation

If you're unsure, take the smaller model. A fast 14B model you use every day beats a 70B model you launch once because it eats the whole machine.

FAQ

How much VRAM do I need for a 7B model?

For a 7B or 8B model, 6-12 GB is a reasonable planning range depending on quantization and context length. Very small contexts and aggressive quantization can go lower, but the experience may be limited.

Is 24 GB VRAM enough for Qwen3.6-27B?

It can be, depending on quantization and context length. Treat 24 GB as a starting point, not a guarantee, and calculate the full workload before assuming it fits. As a rule, 16 GB is a strong tier for 8B-14B models and some 20B-class models, but it is not comfortable for every 27B or 32B model, especially with long context.

Which quantization should I choose?

Start with Q4_K_M or a similar 4-bit balanced quant. Move to Q5 or Q6 if you have memory and want quality. Go lower only if getting the model to fit is worth more to you than output quality.

Do I need VRAM for QLoRA fine-tuning?

Yes, and the amount depends far more on your sequence length than on the model. Llama 3.1 8B at rank 16 needs 6.12 GiB at 512 tokens and 18.49 GiB at 8,192 tokens, because activation memory scales with tokens while the 4-bit weights stay at 4.19 GiB. Full fine-tuning of the same model needs about 135 GiB. The arithmetic behind those figures, including each card's real sequence-length ceiling, is in Every QLoRA VRAM Table Leaves Out Sequence Length. Use a training-aware calculator mode instead of estimating from model size alone.

Sources

Tools In This Article

Browser-based, no sign-up. Try them while the topic is fresh.

More From ToolMintX

Other Blog Posts