Free · no sign-up · data verified weekly

Which local LLM should you run on your hardware?

Pick your GPU, Mac or RAM. Get models that fit (weights + KV cache), a speed figure labelled measured, scaled or estimated, and a copy-paste command for llama.cpp or Ollama.

VRAM fit mathMoE offload flagsReal benchmarksOpen data
1 · Hardware type
2 · Use case
Context length

KV cache type

Sort & filter

Order

How these numbers are made

Fit

GGUF file size (read from Hugging Face) + KV cache (computed from each model's config; sliding-window and linear-attention layers handled) + ~1 GB overhead per GPU.

Speed

Memory bandwidth × efficiency ÷ bytes read per token. Efficiency is calibrated against real runs. Real results vary with backend, drivers and context.

Long context

Each model is capped at its verified maximum context. Beyond it, only models whose card documents YaRN are offered, flagged extended. Speed at depth and time-to-first-token are always estimates (penalty fitted to measured runs up to 128k; beyond that it is extrapolated). Long context needs flash attention and lots of memory.

Badges

measured median of real runs.
scaled from measured a same-size or same-model-other-quant run, scaled by bytes read.
estimated bandwidth formula, not a benchmark.

Ranking

Fits and is fast enough first, then bigger. A heuristic, not a quality benchmark. Assumptions are listed in hardware.json.

Browse by hardware, memory or model

The advisor above is interactive; these pages list the same numbers as plain, linkable tables.

Hardware

RTX 3090 24GB · RTX 4090 24GB · RTX 5090 32GB · RTX 3060 12GB (32GB RAM) · 8GB VRAM class (RTX 4060 8GB, 32GB RAM) · 16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) · RTX 5070 12GB · RTX 4070 12GB · RTX 5070 Ti 16GB · RTX 5080 16GB · AMD RX 7900 XTX 24GB · AMD Ryzen AI Max+ 395 (Strix Halo) 128GB · NVIDIA DGX Spark 128GB · Mac Studio (2025) M3 Ultra 96GB · MacBook Pro 14/16 (2024) M4 Max 128GB · Mac mini / iMac M4 16GB · Mac mini (2024) M4 Pro 64GB · 2x RTX 3090 (48GB total) · RTX PRO 6000 96GB · Mac Studio M5 Ultra 256GB · Mac Studio M5 Ultra 512GB (ships late Oct 2026) · Mac Studio M5 Max 128GB · MacBook Pro 14/16 M5 Max 128GB · MacBook Pro 14/16 M5 Pro 48GB · Mac mini M6 32GB · MacBook Air M5 32GB

By memory

8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 64 GB · 96 GB · 128 GB · 192 GB · 256 GB · 512 GB · compare tiers

Models

Gemma 4 26B-A4B · Gemma 4 31B · Gemma 4 12B · Qwen3.6 27B · Qwen3.6 35B-A3B · Qwen3.5 9B · Qwen3.5 4B · gpt-oss 20B · gpt-oss 120B · Qwen3-Coder 30B-A3B · Mistral Small 3.2 24B · Qwen3-VL 8B · GLM-4.5-Air · all models

Guides

8GB GPU · 12GB GPU · 16GB GPU · 24GB GPU · 16GB Mac · 24GB Mac · 32GB Mac · RTX 5060 Ti vs RTX 3060 · Strata vs llama.cpp · all guides

Data

Benchmark leaderboard (sortable, CSV download) · Sources & attribution

FAQ

What is the best local LLM for a 16GB GPU?

Of the models in our dataset, LFM2.5 24B-A2B Q4_K_M is the largest that fits fully in 16GB at 16k context (~266 tok/s, scaled from measured). See the 16GB VRAM guide for the full table, including 8, 12 and 24GB GPUs.

Can I run a local LLM on a 16GB, 24GB or 32GB Mac?

Yes. Unified memory is shared with the system, so less than the advertised size is usable. See the guides for a 16GB Mac, 24GB Mac and 32GB Mac.

What do measured, scaled and estimated speeds mean?

measured is a median of real runs. scaled from measured starts from a similar run and scales by bytes read. estimated uses a bandwidth formula, not a benchmark.

Should I use Strata or llama.cpp?

Strata can be faster when a MoE model is too big for VRAM, because it keeps experts in system RAM. When the model fits fully on the GPU, llama.cpp is often faster. See the measured Strata vs llama.cpp comparison.

The model I want does not fit. What can I do?

Try a smaller quant, a shorter context, or a compressed KV cache (q8_0 or q4_0). You can also offload experts or layers to system RAM, or Rent instead: Vast.ai / RunPod. We may earn a referral credit if you sign up through these links..

Data changelog

Hardware pages: all configs · Submit your benchmark · Data sources & attribution