LLM VRAM calculator

By OCTOO AI. Method, FAQ and the German and Spanish versions: octooai.com/llm-vram-calculator

Calculator

Model and file
Load

1k = 1,024 tokens. Answers being written at once, not users in total.

Engine

vLLM’s default is 0.92; our server runs 0.75.

KV cache precision

fp8 in vLLM, q8_0 in llama.cpp

Card and extras

Other processes, a desktop, CUDA graphs.

Result

Needs 12.6 GiB. At 0.75, vLLM reserves 15.0 GiB of your 20 GB card and turns 4.9 GiB of it into KV cache (31,920 tokens): enough for 3.90 requests of 8,192 tokens at once.

Smallest card in the table that fits: 20 GB.

Weights
9.3 GiB
KV cache
2.5 GiB
Runtime
850 MiB
Unused KV pool
2.4 GiB
Outside vLLM’s share
5.0 GiB
  • Weights: 9.98 GB file on Hugging Face (Qwen/Qwen3-14B-AWQ) = 9.3 GiB
  • KV cache: 160 KiB per token × 8,192 tokens × 2 requests = 2.5 GiB
  • Runtime: 400 MiB + 450 MiB for activations, scaled by hidden size 5,120 = 850 MiB
  • vLLM: 0.75 × 20,475 MiB = 15.0 GiB reserved; pool 4.9 GiB = 31,920 tokens, 3.90× at 8,192.

    Start command for this setup

    vllm serve Qwen/Qwen3-14B-AWQ \
      --max-model-len 8192 \
      --max-num-seqs 2 \
      --max-num-batched-tokens 2048 \
      --gpu-memory-utilization 0.75 \
      --enforce-eager
    Back to our server’s setup

    Every GPU size at your settings

    CardAt your settingsKV poolLargest context, 2 at onceRequests of 8,192 tokens
    8 GB too big4.1 GiB shortno room0
    12 GB too big1.1 GiB shortno room0
    16 GB fewer at once1.9 GiB6k1.50×
    20 GBHetzner GEX44 · our server fits4.9 GiB15k3.90×
    24 GBHetzner GEX45 · Helsinki only fits7.9 GiB25k6.30×
    32 GB fits13.9 GiB40k (model max)11.10×
    48 GB fits25.9 GiB40k (model max)20.70×
    80 GB fits49.9 GiB40k (model max)39.90×
    96 GBHetzner GEX131 · Falkenstein fits61.6 GiB40k (model max)49.26×

    Hetzner GPU servers: GEX44 (20 GB, our server; Hetzner’s overview no longer lists it), GEX45 (24 GB, Helsinki only), GEX131 (96 GB, Falkenstein). Prices change; the dated list is in our vLLM setup.