Free Tools/LLM Hardware

Local LLM Hardware Calculator

Calculate the exact GPU, VRAM, and system requirements to run Llama, Qwen, Mistral, DeepSeek, and 20+ other open-source models locally.

Model

Llamachat2024

Quantization

Quality loss: Noticeable on some tasks · Most common for consumer GPUs

Runtime Settings

8K
2K128K
1
132
Required VRAM
11.2 GB
Consumer GPU

VRAM Breakdown

Model weights4.00 GB
KV cache (context × batch)6.79 GB
Activations & overhead410 MB
32 GB
System RAM
100 GB
Disk space

Compatible GPU Options

RTX 4060 Ti 16GB
consumer
16 GB
$500
RTX 4070 Ti Super 16GB
consumer
16 GB
$800
RTX 4080 Super 16GB
consumer
16 GB
$1,000
RTX 4090 24GB
consumer
24 GB
$1,800
RTX 5090 32GB
consumer
32 GB
$2,500
Expected speed: ~90 tok/s on RTX 4060 Ti 16GB

Estimates assume inference only (not training). KV cache grows linearly with context and batch size. For training, multiply VRAM by ~4-8× for gradients, optimizer state, and activations.

Compare cloud alternatives
Browse managed LLM providers in our directory

Frequently asked questions

What is quantization and why does it matter?+

Quantization reduces the precision of model weights — for example, from 16-bit floats (FP16) down to 4-bit integers (Q4). This cuts VRAM requirements by 2-4× with modest quality loss. Q4 is the most popular choice for running large models on consumer GPUs.

How is the VRAM estimate calculated?+

The calculator sums three components: model weights (params × bits / 8), KV cache (grows with context length and batch size), and activation overhead (~10% of model size). For training, you'd need 4-8× more for gradients and optimizer state.

Can I split a model across multiple GPUs?+

Yes. Tools like vLLM, Ollama, and llama.cpp support tensor parallelism across multiple GPUs. VRAM adds together (2× 24GB = 48GB effective), but you get bandwidth penalties. For inference, multi-GPU works well; for training, NVLink or InfiniBand is important.

Why does context length affect VRAM?+

Each token in the context requires storage for keys and values in the attention mechanism (the KV cache). KV cache grows linearly with context length, so a 128K context can easily use as much VRAM as the model weights themselves for large models.

What about Mac / Apple Silicon?+

Apple Silicon uses unified memory, so the GB requirement roughly equals your total RAM (minus overhead for macOS). An M3 Max with 128GB can run 70B models at Q4. For rough conversion, halve the VRAM estimate for Apple Silicon since there's no KV cache separation penalty.