OUTIL GRATUIT

Calculateur VRAM GPU LLM

Estimez la VRAM FP16 / INT8 / Q4_K_M et le KV-cache en auto-hébergement.

1. Matériel & Mémoire

Nombre de GPU
VRAM physique totale24 GB

2. Modèle, Quantification & Contexte

Fast, low-cost model ideal for structured extraction
Quantification (GGUF)
Fenêtre de contexte (KV Cache)
Mémoire Totale Estimée
23.4 GB/ 24.0 Go disponibles (98%)
Juste (0.6 Go de marge)
Répartition Mémoire
Poids (18.1 Go)KV Cache (4.0 Go)Surcharge CUDA/Metal (1.3 Go)
Poids du Modèle
18.1 GB
32B @ 4.85 bpw
KV Cache (16K)
4.0 GB
FP16 GQA
Surcharge Runtime
1.3 GB
CUDA + activations
Vitesse Est.
~40 tok/s
32B poids actifs
Besoin de 24 Go+ VRAM dans le cloud ? Comparez RunPod, Vast.ai, Lambda et AWS.Comparer les tarifs GPU Cloud

Comment ça marche

  1. 1Select your target GPU (RTX 4090, RTX 5090, A100, H100, or Apple Silicon Unified Memory) and GPU count (1x–8x).
  2. 2Pick an open-weight model preset (DeepSeek V4 Pro, DeepSeek V4.1 Flash, Llama 4 Maverick/Scout, Mistral Large 4, Qwen3.8 Flash, GLM 5.3) or slide custom parameters from 3B to 405B.
  3. 3Choose a GGUF/weight quantization level (FP16 down to Q3_K_M) and target context window (4K to 128K).
  4. 4Review exact VRAM allocation across weights, KV cache, and runtime overhead, plus an estimated tokens/sec decode speed.

Questions Fréquentes

Why does context length increase VRAM requirements so much?

Every token in your active context window stores Key and Value tensors across all transformer layers (the KV cache). At 128K context, a 70B model's FP16 KV cache alone can require ~40 GB of VRAM on top of the model weights.

Which GGUF quantization should I pick for local inference?

Q4_K_M (~4.85 bits/param) is the standard sweet spot—cutting FP16 memory by nearly 4× with minimal quality loss. Use Q5_K_M or Q6_K for coding/math workloads if you have spare VRAM.

How much Unified Memory can macOS allocate to local LLMs?

By default, macOS reserves roughly 20–25% of Unified Memory for the OS and window server, leaving ~75–80% wired to the GPU. On a 64 GB M3/M4 Max, aim for models under ~51 GB total footprint.

Why is DeepSeek V4 or Llama 4 faster than a dense model of the same size?

Mixture-of-Experts (MoE) models store all 109B–671B parameters in VRAM, but only read active expert weights (17B–37B) per generated token. Decode speed is memory-bandwidth bound on the active weights, not total weights.

Tous les calculateurs & outils

Utilitaires gratuits →