LLM VRAM Calculator

Does it fit, how fast does it run, and what does it cost on your own hardware, a rented GPU or an API? Pick one of 185 open-weight models and one of 84 GPUs and Macs. Speeds are calibrated against published benchmarks, prices are fetched from the providers.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Model sizes, prices and benchmarks synced 2026-11-30

Full model specs
Alibaba·27B params·Apache 2.0·Max 128K
Hardware profile
1×

One command, runs as a background service. Runs on macOS, Linux, Windows. MLX runs on Apple Silicon only.

Quantization~4.85 bits/param

Best speed-to-quality balance for local inference (~98% quality)

Context window16K tokens
Fits comfortably

3.8 GB headroom left for a longer context or other apps.

SpeedCalibrated
38–52 tok/s
AA Intelligence↗
20.1
Min GPUs
1×
19.0 GBof 22.8 GB usable memory
83% used
Weights16.5 GBKV cache1.0 GBOverhead1.5 GB
3.8 GB free

Weights: file size of qwen3.8:27b. KV cache: approximate for this architecture. Full breakdown for Qwen 3.8 27B on RTX 4090 24GB

500K tokens/day75% input, 25% output

Run local

$7.01 / 1M tokens

$2.32/mo power + $3,700 hardware over 36 months

Do it by hand

Rent a cloud GPU

Lowest cost
$0.50 / 1M tokens

1x RTX 3090 (24 GB) on Vast.ai at $0.18/hr, 1.4 h/day = $7.56/mo

Est. speed
33–45 tok/s
Price synced
2026-11-30

Use the API

$0.54 / 1M tokens

Blended OpenRouter price = $8.03/mo

Input / 1M
$0.06
Output / 1M
$1.96
Open on OpenRouterqwen/qwen3.8-27b

Local beats the API above 9.0M tokens/day.

Best models that fit your NVIDIA GeForce RTX 4090 (24 GB)

Click any model to load it into the calculator above. 28 of 185 models have an Intelligence Index from Artificial Analysis.

Qwen 3.8 27B
Alibaba·27BSpecs
Fits comfortably20.119.0 GB38–52 tok/s
$0.06 / $1.96
Inkling 2 Mini (26B MoE)3.4B active
Thinking Machines·26.39BSpecs
Fits comfortably20.018.8 GB113–189 tok/s
$0.06 / $0.24
LFM3 1.7B
Liquid AI·1.73BSpecs
Fits comfortably6.02.0 GB265–441 tok/s
$0.08 / $0.20:free available
Gemma 4 E4B
Google·8BSpecs
Fits comfortably4.87.3 GB94–127 tok/s—
Gemma 4 31B
Google·31BSpecs
Tight fit4.422.6 GB32–43 tok/s
$0.20 / $0.40:free available
Gemma 4 26B A4B (MoE)4B active
Google·26BSpecs
Tight fit4.019.5 GB124–207 tok/s
$0.08 / $0.26:free available
Qwen 3 0.6B
Alibaba·0.75BSpecs
Fits comfortably—3.0 GB359–598 tok/s—
Granite 4.0 H Tiny 7B A1B (MoE)1B active
IBM·6.94BSpecs
Fits comfortably—5.0 GB272–565 tok/s—
Llama 3.2 1B Instruct
Meta·1.24BSpecs
Fits comfortably—2.0 GB305–509 tok/s—
Gemma 3 1B
Google·1BSpecs
Fits comfortably—1.6 GB305–509 tok/s—
SmolLM2 1.7B
Hugging Face·1.71BSpecs
Fits comfortably—3.3 GB270–450 tok/s—
LFM2.5 8B A1B (MoE)1.5B active
Liquid AI·8.47BSpecs
Fits comfortably—6.0 GB231–479 tok/s—
DeepSeek R1 Distill Qwen 1.5B
DeepSeek·1.78BSpecs
Fits comfortably—2.3 GB262–437 tok/s—
Qwen 3 1.7B
Alibaba·2.03BSpecs
Fits comfortably—3.8 GB235–392 tok/s—
Gemma 2 2B
Google·2.61BSpecs
Fits comfortably—3.2 GB259–350 tok/s—
SmolLM3 3B
Hugging Face·3.08BSpecs
Fits comfortably—3.7 GB241–326 tok/s—
Qwen 2.5 3B
Alibaba·3.09BSpecs
Fits comfortably—3.2 GB240–324 tok/s—
Qwen 3.5 2B
Alibaba·2.27BSpecs
Fits comfortably—2.8 GB239–323 tok/s—
Granite 4.0 H Micro 3B
IBM·3.19BSpecs
Fits comfortably—2.8 GB239–323 tok/s—
Llama 3.2 3B Instruct
Meta·3.21BSpecs
Fits comfortably—4.5 GB233–315 tok/s
$0.05 / $0.33
LFM3 Omni 2B
Liquid AI·2.17BSpecs
Fits comfortably—2.9 GB230–312 tok/s—
Granite 4.2 3B
IBM·3.66BSpecs
Fits comfortably—4.2 GB217–294 tok/s—
DeepSeek Coder V2 Lite (16B MoE)2.4B active
DeepSeek·15.7BSpecs
Fits comfortably—11.3 GB165–343 tok/s—
LFM2.5 24B A2B (MoE)2.45B active
Liquid AI·24BSpecs
Fits comfortably—15.2 GB161–335 tok/s
$0.05 / $0.70
Phi-3 Mini 3.8B
Microsoft·3.82BSpecs
Fits comfortably—9.1 GB208–281 tok/s—
ERNIE 4.5 21B A3B (MoE)3B active
Baidu·21.9BSpecs
Fits comfortably—14.6 GB179–298 tok/s—
Phi-4 Mini 3.8B
Microsoft·3.84BSpecs
Fits comfortably—5.2 GB202–273 tok/s—
Qwen 3 4B Instruct 2507
Alibaba·4.02BSpecs
Fits comfortably—5.4 GB201–272 tok/s—
gpt-oss-20b (MoE)3.6B active
OpenAI·21BSpecs
Fits comfortably—14.6 GB207–243 tok/s
$0.07 / $0.30
Nemotron 3 Nano 4B
NVIDIA·3.97BSpecs
Fits comfortably—3.8 GB184–249 tok/s—
GLM-4.7 Flash (30B-A3B MoE)3B active
Z.ai·31.2BSpecs
Tight fit—20.1 GB159–265 tok/s
$0.06 / $0.40
Ministral 3 3B
Mistral·3.85BSpecs
Fits comfortably—5.3 GB179–242 tok/s
$0.10 / $0.10
Molmo 3 4B
Allen AI·4.88BSpecs
Fits comfortably—6.0 GB175–236 tok/s—
Qwen 3.5 35B A3B (MoE)3B active
Alibaba·36BSpecs
Tight fit—22.5 GB153–256 tok/s
$0.14 / $1.00
Qwen 3 30B A3B (MoE)3.3B active
Alibaba·30.5BSpecs
Tight fit—20.3 GB153–254 tok/s
$0.12 / $0.50
Qwen 3 Coder 30B A3B3.3B active
Alibaba·30.5BSpecs
Tight fit—20.3 GB153–254 tok/s
$0.07 / $0.28
Phi-4 Mini Reasoning 3.8B
Microsoft·3.84BSpecs
Fits comfortably—5.8 GB170–230 tok/s—
Qwen 3 VL 30B A3B (MoE)3.3B active
Alibaba·31.1BSpecs
Tight fit—21.4 GB148–246 tok/s
$0.15 / $0.60
Qwen 3.5 4B
Alibaba·4.66BSpecs
Fits comfortably—4.5 GB163–221 tok/s—
MedGemma 4B
Google·4.3BSpecs
Fits comfortably—4.4 GB163–221 tok/s—
Gemma 3 4B
Google·4.3BSpecs
Fits comfortably—4.4 GB163–220 tok/s
$0.04 / $0.05
MedGemma 2 26B A4B (MoE)3.8B active
Google·25.81BSpecs
Tight fit—19.5 GB128–213 tok/s—
Code Llama 7B Instruct
Meta·6.74BSpecs
Fits comfortably—12.7 GB140–189 tok/s—
Mistral 7B Instruct v0.3
Mistral·7.25BSpecs
Fits comfortably—7.0 GB132–179 tok/s—
Olmo 3 7B Think
Allen AI·7.3BSpecs
Fits comfortably—8.6 GB130–176 tok/s—
Olmo 3 7B Instruct
Allen AI·7.3BSpecs
Fits comfortably—8.6 GB130–176 tok/s—
Falcon3 7B Instruct
TII·7.46BSpecs
Fits comfortably—7.0 GB127–172 tok/s—
Gemma 4 E2B
Google·5.12BSpecs
Fits comfortably—5.3 GB127–172 tok/s—
Qwen 2.5 Coder 7B
Alibaba·7.6BSpecs
Fits comfortably—6.2 GB125–169 tok/s—
Qwen 2.5 7B
Alibaba·7.62BSpecs
Fits comfortably—6.2 GB125–169 tok/s—
DeepSeek R1 Distill Qwen 7B
DeepSeek·7.62BSpecs
Fits comfortably—6.2 GB125–169 tok/s—
EXAONE 3.5 7.8B Instruct
LG AI Research·7.82BSpecs
Fits comfortably—7.4 GB123–167 tok/s—
EXAONE Deep 7.8B
LG AI Research·7.82BSpecs
Fits comfortably—7.4 GB123–167 tok/s—
Granite 3.3 8B
IBM·8.17BSpecs
Fits comfortably—8.1 GB120–162 tok/s—
Hermes 3 Llama 3.1 8B
Nous Research·8.03BSpecs
Fits comfortably—7.6 GB118–160 tok/s—
Aya Expanse 8B
Cohere·8.03BSpecs
Fits comfortably—6.7 GB117–159 tok/s—
Qwen 3 8B
Alibaba·8.2BSpecs
Fits comfortably—8.1 GB114–154 tok/s—
DeepSeek R1 Distill Llama 8B
DeepSeek·8.03BSpecs
Fits comfortably—7.8 GB114–154 tok/s—
CodeGemma 7B
Google·8.54BSpecs
Fits comfortably—9.4 GB112–152 tok/s—
Granite 4.2 8B
IBM·8.79BSpecs
Fits comfortably—8.4 GB112–152 tok/s
$0.06 / $0.15
InternLM3 8B Instruct
InternLM·8.8BSpecs
Fits comfortably—6.7 GB112–151 tok/s—
Molmo 3 8B
Allen AI·8.7BSpecs
Fits comfortably—8.3 GB111–150 tok/s—
Llama 3.1 8B Instruct
Meta·8.03BSpecs
Fits comfortably—7.5 GB118–138 tok/s
$0.05 / $0.08
Llama 3 8B Instruct
Meta·8.03BSpecs
Fits comfortably—6.5 GB118–138 tok/s—
Gemma 2 9B
Google·9.24BSpecs
Fits comfortably—9.0 GB105–142 tok/s—
Qwen 2.5 VL 7B
Alibaba·8.29BSpecs
Fits comfortably—7.4 GB102–138 tok/s—
Ministral 3 8B
Mistral·8.92BSpecs
Fits comfortably—8.7 GB101–137 tok/s
$0.15 / $0.15
Qwen 3 VL 8B
Alibaba·8.77BSpecs
Fits comfortably—9.0 GB99–134 tok/s
$0.25 / $0.75
GLM-4 9B Chat
Z.ai·9.4BSpecs
Fits comfortably—7.5 GB98–133 tok/s—
Falcon3 10B Instruct
TII·10.3BSpecs
Fits comfortably—9.4 GB98–132 tok/s—
Nemotron Nano 9B v2
NVIDIA·8.89BSpecs
Fits comfortably—7.3 GB95–128 tok/s—
Qwen 3.5 9B
Alibaba·9.65BSpecs
Fits comfortably—7.6 GB94–128 tok/s
$0.07 / $0.11
MiMo V2.6 Distill Qwen 9B
Xiaomi·9.41BSpecs
Fits comfortably—7.6 GB94–128 tok/s—
MedGemma 2 E4B
Google·8BSpecs
Fits comfortably—7.3 GB93–126 tok/s—
Granite 4.0 H Small 32B A9B (MoE)9B active
IBM·32.2BSpecs
Tight fit—20.0 GB81–134 tok/s—
Mistral Nemo 12B
Mistral·12.2BSpecs
Fits comfortably—10.5 GB84–114 tok/s
$0.03 / $0.03
Llama 3.2 11B Vision Instruct
Meta·10.7BSpecs
Fits comfortably—10.9 GB81–109 tok/s—
Gemma 3n E2B
Google·5.44BSpecs
Fits comfortably—8.5 GB81–109 tok/s—
Gemma 4 12B
Google·12BSpecs
Fits comfortably—9.1 GB79–107 tok/s—
Gemma 3 12B
Google·12.2BSpecs
Fits comfortably—10.0 GB78–105 tok/s
$0.05 / $0.15
Code Llama 13B Instruct
Meta·13BSpecs
Tight fit—20.9 GB76–103 tok/s—
Phi-3 Medium 14B
Microsoft·14BSpecs
Fits comfortably—12.2 GB75–101 tok/s—
DeepSeek R1 Distill Qwen 14B
DeepSeek·14.8BSpecs
Fits comfortably—12.5 GB72–97 tok/s—
Qwen 2.5 14B
Alibaba·14.8BSpecs
Fits comfortably—12.5 GB72–97 tok/s—
Qwen 2.5 Coder 14B
Alibaba·14.8BSpecs
Fits comfortably—12.5 GB72–97 tok/s—
Phi-4 14B
Microsoft·14.7BSpecs
Fits comfortably—12.7 GB71–96 tok/s
$0.07 / $0.14
Ministral 3 14B
Mistral·14BSpecs
Fits comfortably—12.1 GB71–96 tok/s
$0.20 / $0.20
Qwen 3 14B
Alibaba·14.8BSpecs
Fits comfortably—12.3 GB70–94 tok/s
$0.12 / $0.24
Gemma 3n E4B
Google·7.85BSpecs
Fits comfortably—10.4 GB66–90 tok/s—
Phi-4 Reasoning Plus 14B
Microsoft·14.7BSpecs
Fits comfortably—14.7 GB59–80 tok/s—
Phi-4 Reasoning 14B
Microsoft·14.7BSpecs
Fits comfortably—14.7 GB59–80 tok/s—
Codestral 22B
Mistral·22.2BSpecs
Fits comfortably—17.2 GB50–68 tok/s—
Devstral Small 24B
Mistral·23.6BSpecs
Fits comfortably—17.2 GB47–63 tok/s—
Magistral Small 24B
Mistral·23.6BSpecs
Fits comfortably—17.2 GB47–63 tok/s—
Mistral Small 3.2 24B
Mistral·24BSpecs
Fits comfortably—18.0 GB44–60 tok/s
$0.07 / $0.20
Devstral Small 2 24B
Mistral·24BSpecs
Fits comfortably—18.0 GB44–60 tok/s—
Mistral Small 3.1 24B
Mistral·24BSpecs
Fits comfortably—18.3 GB43–59 tok/s
$0.35 / $0.56
MedGemma 27B
Google·27.4BSpecs
Fits comfortably—19.3 GB39–53 tok/s—
Gemma 3 27B
Google·27.4BSpecs
Fits comfortably—19.4 GB39–53 tok/s
$0.08 / $0.16
Qwen 3.5 27B
Alibaba·27.8BSpecs
Fits comfortably—18.8 GB39–52 tok/s
$0.26 / $2.60
Gemma 2 27B
Google·27.2BSpecs
Tight fit—19.8 GB39–52 tok/s
$0.65 / $0.65
Qwen 3.6 27B
Alibaba·27.8BSpecs
Fits comfortably—19.0 GB38–52 tok/s
$0.32 / $3.20
Granite 4.2 30B
IBM·29.3BSpecs
Tight fit—22.0 GB36–49 tok/s—
Olmo 3.1 32B Instruct
Allen AI·32.2BSpecs
Tight fit—21.5 GB33–45 tok/s—
GLM-4 32B 0414
Z.ai·32.6BSpecs
Tight fit—20.9 GB33–45 tok/s—
Command R 35B
Cohere·32.3BSpecs
Tight fit—22.5 GB33–44 tok/s
$0.15 / $0.60
Aya Expanse 32B
Cohere·32.3BSpecs
Tight fit—21.3 GB33–44 tok/s—