LLM VRAM calculator

Estimate GPU memory for a model file, context length and simultaneous requests.

Find models for my GPU · Check a specific model

Context and concurrency

Will this model fit on my GPU?

Choose your model and GPU, then adjust context and concurrency.

You opened Qwen3.5 9B from a published speed record. This memory calculation uses the exact GGUF file listed here; it may differ from the benchmark file. The GPU family is preserved; this does not certify the benchmark's exact board variant. Choose your total context and conversation count; benchmark context depth is an existing prefix, not the server context allocation.

llama.cpp · Text inference · One GPU · FP16 KV cache

Model coverage: 37 verified profiles

The model menu contains every profile this GPU-fit checker can calculate. The general hardware estimator has a different model list and uses broader planning assumptions.

Missing your model? A result for a similarly sized model is not a substitute. This checker needs the exact GGUF file size, attention configuration and context limit before it can estimate memory.

The menu now includes full-attention, Qwen hybrid and Gemma/gpt-oss sliding-window profiles. Models outside the menu remain unavailable. The general VRAM reference uses broader weight-based estimates.

CPU offload, multiple GPUs, speculative decoding and image/audio/video inputs are outside this checker. See measured Qwen3 4B memory on a GTX 1660 Ti and NVIDIA T4.

Context includes the prompt, conversation history, and generated response. Each conversation gets its own full cache budget.

Formats come from verified published files. Qwen3 0.6B and 1.7B offer Q8_0 only. Changing models preserves your format when available and caps context at that model’s supported limit.

Adjust runtime allowance and reserved memory

The 1 GiB allowance and 10% reserve are adjustable planning assumptions. Driver, display, prefill, and runtime buffers can need more.

Calculated estimate. No matching memory test is published for these inputs.

Within your chosen memory budget

6.59 GiBestimated demand / 14.40 GiB budget10% reserved from 16 GiB of GPU memory

Model file / weight allowance
5.29 GiB
KV cache + FP32 recurrent state
0.30 GiB
Runtime allowance
1.00 GiB
Remaining in budget
7.81 GiB

0.05 GiB is fixed FP32 recurrent state for 1 slot. KV quantization does not compress it.

Estimated context ceiling: 262,144 tokens per conversation at 1 concurrent conversation.

Estimated memory fit. Verify the actual allocation in your runtime before relying on this configuration.

Choose hardware for this scenario

RTX 5070 Ti meets this memory estimate with your 10% reserve.

Scenario parts: Ryzen 7 9700X, 32 GB RAM, ASUS ROG Crosshair X670E Hero. Estimated PSU target: 700 W, with 30% power headroom.

Open RTX 5070 Ti parts in Builder →
Host RAM, storage and CPU assumptions

RAM planning target: 15.29 GiB = 5.29 GiB for one model-file staging copy + 8 GiB for OS/apps + 2 GiB request allowance. The parts list rounds up to a catalog kit. This is a conservative planning policy, not measured host-RAM use or a CPU-offload estimate.

Keep at least 31 GiB free: two copies of the selected files plus 20 GiB for runtime/download workspace. Add your datasets separately. The 2 TB catalog drive is a starting component, not this model’s minimum requirement.

Ryzen 7 9700X is the selected host tier for 1 conversation slot. The 8/12/16-core tiers are service-planning choices, not measured tokens/second requirements. CPU offload, retrieval pipelines and other concurrent applications need separate sizing.

Builder checks encoded platform and power constraints. Check the exact GPU dimensions, PSU connectors, case clearance, cooler support, airflow, RAM QVL and BIOS before ordering.

New kit sources: Kingston 32 GB · Kingston 64 GB. Profile speeds require board/CPU support; kit watts remain a planning allowance.

Memory fit does not establish runtime support or speed. Builder checks the parts list; case, cooling and exact board support still need review.

Other GPUs within this memory budget

First three catalog matches by memory capacity. This is not a price or performance ranking.

  • RTX 507012 GiB · 4.21 GiB remaining in budget
  • RTX 4070 SUPER12 GiB · 4.21 GiB remaining in budget
  • ASUS Dual RTX 3060 12GB V2 OC12 GiB · 4.21 GiB remaining in budget
Compare GPU specifications →

Speed evidence for this GPU family and file path

No matching publisher speed record is available for this GPU family and selected file path. No speed is inferred from memory capacity or a different model.

Browse all attributed GPU benchmarks →

Run this configuration

Text inference with llama.cpp b11658, one CUDA GPU, Flash Attention on and a 512-token microbatch. The command allocates 8,192 tokens per slot × 1 slots. Flags are checked against the pinned source; this is not a new GPU test.

Download every file below into a models folder beside your terminal. Install the official runtime and put llama-server on PATH. The command uses GPU 0; check llama-server --list-devices first. It does not detect your hardware.

  • Qwen3.5-9B-Q4_K_M.gguf
    File hash and size

    5,680,522,464 bytes · SHA256 03b74727a860a56338e042c4420bb3f04b2fec5734175f4cb9fa853daf52b7e8

The Python 3.11+ setup downloads the named files, verifies SHA256 and prints this command. Add --run to launch after it verifies the runtime commit. Check the startup log for GPU layers, cache allocation and context per slot before relying on a result.

Sources, calculation, and limits

All figures use GiB (2³⁰ bytes). Model allowance uses the published GGUF file size as a memory proxy; loaded GPU allocations can differ. Cache uses each layer group’s K/V dimensions and selected GGML block format. Full-attention cells grow with context; rolling-window cells include the 512-token microbatch and 256-cell padding. Qwen recurrent state is FP32 and scales with slots, independently of KV precision.

37 supported profiles across the families in the model menu. Architecture configurations and GGUF files are pinned to the source revisions linked below. Each model uses its own layer count, KV heads, head dimension and context cap. Llama 3.1 and NeMo include their published native extended context settings; user-added context extension is outside this calculation.

The menu lists every supported model and format. Full DeepSeek R1, image/audio/video input, CPU offload, speculative decoding and multiple GPUs are outside this planner. DeepSeek profiles cover the listed distilled models. No MTP/projector is loaded. Runtime allocation and measured peaks can exceed a file-size proxy plus allowances.

Selected Q4_K_M artifact: Published file

Qwen3.5 4B: architecture config · model card · quantized files — Source-checked November 5, 2026. qwen35: 8 full-attention, 0 sliding-window and 24 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Qwen3.5 9B: architecture config · model card · quantized files — Source-checked November 5, 2026. qwen35: 8 full-attention, 0 sliding-window and 24 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Qwen3.6 27B: architecture config · model card · quantized files — Source-checked November 5, 2026. qwen35: 16 full-attention, 0 sliding-window and 48 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Qwen3.6 35B-A3B: architecture config · model card · quantized files — Source-checked November 5, 2026. qwen35moe: 10 full-attention, 0 sliding-window and 30 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Qwen3.8 27B: architecture config · model card · quantized files — Source-checked November 5, 2026. qwen35: 16 full-attention, 0 sliding-window and 48 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Qwen3-Coder 30B-A3B: architecture config · model card · quantized files — Source-checked November 5, 2026. qwen3moe: 48 full-attention, 0 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Qwen3-VL 8B (text only): architecture config · model card · quantized files — Source-checked November 5, 2026. qwen3vl: 36 full-attention, 0 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Gemma 4 12B (text only): architecture config · model card · quantized files — Source-checked November 5, 2026. gemma4: 8 full-attention, 40 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Gemma 4 26B-A4B (text only): architecture config · model card · quantized files — Source-checked November 5, 2026. gemma4: 5 full-attention, 25 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Gemma 4 31B (text only): architecture config · model card · quantized files — Source-checked November 5, 2026. gemma4: 10 full-attention, 50 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

gpt-oss 20B: architecture config · model card · quantized files — Source-checked November 5, 2026. gpt-oss: 12 full-attention, 12 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

gpt-oss 120B: architecture config · model card · quantized files — Source-checked November 5, 2026. gpt-oss: 18 full-attention, 18 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

GLM-4.5-Air: architecture config · model card · quantized files — Source-checked November 5, 2026. glm4moe: 46 full-attention, 0 sliding-window and 0 recurrent layers. Text-only; no projector, speculative decoding, CPU offload or user-added context extension. Cache allocation follows pinned llama.cpp b11658; this is not a measured peak.

Mistral Small 3.2 24B Instruct: architecture config · model card · quantized files — Mistral's text_config has 40 full-attention layers, eight KV heads, 128-wide heads and no sliding window. Text-only inference; vision/projector inputs are excluded. GGUF files are published by bartowski and may differ from a benchmark publisher's file. Sources checked October 30, 2026; this is a calculation, not a new GPU measurement.

Qwen2.5 Coder 7B Instruct: architecture config · model card · quantized files — Architecture and GGUF files published by Qwen. The 32,768-token cap excludes user-added YaRN extension. Checked October 13, 2026.

Qwen2.5 Coder 14B Instruct: architecture config · model card · quantized files — Architecture and GGUF files published by Qwen. The 32,768-token cap excludes user-added YaRN extension. Checked October 13, 2026.

DeepSeek R1 Distill Llama 8B: architecture config · model card · quantized files — Architecture published by DeepSeek; GGUF files published by bartowski. Checked October 13, 2026.

Qwen3 0.6B: architecture config · model card · quantized files — Architecture and quantized files published by Qwen.

Qwen3 1.7B: architecture config · model card · quantized files — Architecture and quantized files published by Qwen.

Qwen3 4B: architecture config · model card · quantized files — Architecture and quantized files published by Qwen.

Qwen3 8B: architecture config · model card · quantized files — Architecture and quantized files published by Qwen.

Qwen3 14B: architecture config · model card · quantized files — Architecture and quantized files published by Qwen.

Qwen3 32B: architecture config · model card · quantized files — Architecture and quantized files published by Qwen.

Llama 3.1 8B Instruct: architecture config · model card · quantized files — Architecture config published by Unsloth for the Meta model; GGUF files published by bartowski.

Llama 3.1 70B Instruct: architecture config · model card · quantized files — Architecture config published by Unsloth for the Meta model; GGUF files published by bartowski.

Mistral 7B Instruct v0.3: architecture config · model card · quantized files — Architecture config published by the model author; GGUF files published by bartowski.

Mistral NeMo 12B Instruct: architecture config · model card · quantized files — Architecture config published by the model author; GGUF files published by bartowski.

DeepSeek R1 Distill Qwen 7B: architecture config · model card · quantized files — Architecture config published by the model author; GGUF files published by bartowski.

DeepSeek R1 Distill Qwen 14B: architecture config · model card · quantized files — Architecture config published by the model author; GGUF files published by bartowski.

DeepSeek R1 Distill Qwen 32B: architecture config · model card · quantized files — Architecture config published by the model author; GGUF files published by bartowski.

Qwen2.5 7B Instruct: architecture config · model card · quantized files — Architecture published by Qwen; GGUF files published by Qwen. Source revisions and file hashes checked October 26, 2026. Full-attention FP16 cache estimate; runtime buffers remain an explicit allowance.

Qwen2.5 14B Instruct: architecture config · model card · quantized files — Architecture published by Qwen; GGUF files published by Qwen. Source revisions and file hashes checked October 26, 2026. Full-attention FP16 cache estimate; runtime buffers remain an explicit allowance.

Qwen2.5 32B Instruct: architecture config · model card · quantized files — Architecture published by Qwen; GGUF files published by Qwen. Source revisions and file hashes checked October 26, 2026. Full-attention FP16 cache estimate; runtime buffers remain an explicit allowance.

Qwen3 4B Instruct 2507: architecture config · model card · quantized files — Architecture published by Qwen; GGUF files published by unsloth. Source revisions and file hashes checked October 26, 2026. Full-attention FP16 cache estimate; runtime buffers remain an explicit allowance.

Qwen3 30B A3B Instruct 2507: architecture config · model card · quantized files — Architecture published by Qwen; GGUF files published by unsloth. Source revisions and file hashes checked October 26, 2026. All experts remain in the resident-weight estimate; active parameters do not determine stored weights.

Granite 3.3 2b instruct: architecture config · model card · quantized files — Architecture published by ibm-granite; GGUF files published by ibm-granite. Source revisions and file hashes checked October 26, 2026. Full-attention FP16 cache estimate; runtime buffers remain an explicit allowance.

Granite 3.3 8b instruct: architecture config · model card · quantized files — Architecture published by ibm-granite; GGUF files published by ibm-granite. Source revisions and file hashes checked October 26, 2026. Full-attention FP16 cache estimate; runtime buffers remain an explicit allowance.

Expanded profile proof: pinned publisher configs, file hashes and GGUF headers. Cache allocation and command target: llama.cpp b11658.

llama.cpp context, parallel slots, and cache-type documentation

Find other model files for your GPU

What can my GPU run?

Choose your GPU and context. See which verified model files fit the same memory budget.

You opened Qwen3.5 9B from a published speed record. This memory calculation uses the exact GGUF file listed here; it may differ from the benchmark file. The GPU family is preserved; this does not certify the benchmark's exact board variant. Choose your total context and conversation count; benchmark context depth is an existing prefix, not the server context allocation.

10% GPU reserve and 1 GiB runtime allowance. Every result uses your context, concurrency and format. Models with shorter native limits or no verified file in that format are excluded. File size is not a quality ranking; memory fit does not certify speed or backend support.

21 model files fit. Showing 12.

VRAM estimates for 4B, 7B, 8B and 14B models

See what 8K and 32K context cost on a 16 GB card.

Calculated for llama.cpp text inference on one GPU, with FP16 KV cache, a 1 GiB runtime allowance and 10% of GPU memory reserved. The allowance is adjustable; these are not measured runtime peaks or speed results.

Exact-file memory estimates. Context includes prompt, history and generated tokens.
Model / formatGPU memoryTokens / conversationConcurrent conversationsRequired / usable GiBResult and scenario
Qwen3 4B
Q4_K_M
Other 8 GiB GPU (memory budget only)8,19214.45 / 7.20Within budget
Reproduce these inputs
Qwen2.5 7B Instruct
Q4_K_M
ASUS Dual RTX 3060 12GB V2 OC8,19215.80 / 10.80Within budget
Reproduce these inputs
Qwen3 8B
Q4_K_M
Other 8 GiB GPU (memory budget only)8,19216.81 / 7.20Within budget
Reproduce these inputs
Qwen3 8B
Q4_K_M
Other 8 GiB GPU (memory budget only)32,768110.18 / 7.20Exceeds memory
Reproduce these inputs
Qwen3 14B
Q4_K_M
RTX 3090 Founders Edition8,192110.63 / 21.60Within budget
Reproduce these inputs
Qwen3 14B
Q8_0
RTX 3090 Founders Edition8,192116.87 / 21.60Within budget
Reproduce these inputs

What the result includes

Required memory equals published GGUF file bytes, the selected KV cache and recurrent state for each conversation, and your runtime allowance. Full, hybrid and sliding-window models use their own cache layout. Usable memory is GPU capacity after your reserve. GGUF bytes are a weight-allocation proxy; runtime allocation can differ.

Shortening context or reducing simultaneous requests reduces cache memory. Weight quantization changes file size; it does not automatically change KV-cache precision. Mixture-of-experts estimates include the full published file, not only active parameters.

What needs a runtime test

Prefill, display use, drivers and runtime buffers can exceed the allowance. This tool does not certify speed, CPU offload, multi-GPU splitting, training, multimodal input or unsupported attention architectures.

Read our measured Qwen3 4B context-memory results · Compare broader VRAM planning targets · Estimate a complete hardware configuration