All promotions
GuidesDashboardMCP

Self-host an LLM: the hardware, and what actually runs on it

Cheaper than an API? Almost never. Even Llama 3.2 3B Instruct, the smallest model here, needs ≈ 327M tokens a month before a 24/7 GPU beats the cheapest verified API — bigger models push that into the billions. You self-host for control, privacy, residency and offline use; the calculator prices that decision for your volume. Every figure below is computed from the index and dated.

The hardware

What decides everything is the memory pool a model must sit in — VRAM on a discrete card, unified memory on Apple and DGX. Sticker price is also shown in months of Claude Max ($200/mo, the top tier) as a familiar yardstick — a price reference, not a capability match. Prices are a dated snapshot; the 2026 memory shortage is inflating all of them.

32 GBVRAM · +PC
$3,500≈ 18 mo of Claude Max
Runs up to Command R (35B) · 31 of our models fit

Consumer Blackwell, 32 GB GDDR7. Fastest single-GPU option for models that fit under 32 GB; VRAM is the wall. Price excludes the rest of the PC and is volatile under the 2026 memory shortage.

36 GBunified
$2,499≈ 12 mo of Claude Max
Runs up to Command R (35B) · 31 of our models fit

Entry Mac Studio, 36 GB unified memory shared between CPU/GPU. Whole computer, near-silent, low power. Bandwidth below a discrete GPU but the unified pool lets mid-size models fit cheaply.

96 GBunified
$5,499≈ 27 mo of Claude Max
Runs up to Mixtral 8x22B Instruct (141B) · 51 of our models fit

Base M5 Ultra, 96 GB unified memory. Runs 70B-class models in 4-bit that a 32 GB GPU cannot hold, as one quiet box.

96 GBVRAM · +PC
$8,500≈ 43 mo of Claude Max
Runs up to Mixtral 8x22B Instruct (141B) · 51 of our models fit

Workstation Blackwell, 96 GB GDDR7 — same silicon and bandwidth as the RTX 5090 but 3× the memory, so ~123B-class 4-bit models fit. Street price $8–9k; NVIDIA MSRP was pushed to $16k during the shortage. Excludes host PC.

128 GBunified
$4,699≈ 23 mo of Claude Max
Runs up to Mixtral 8x22B Instruct (141B) · 51 of our models fit

Desktop Grace-Blackwell mini-PC, 128 GB unified LPDDR5X. MSRP raised from $3,999 to $4,699 in early 2026 on memory-supply constraints. CUDA-native, so the software path matches cloud NVIDIA.

256 GBunified
$9,499≈ 47 mo of Claude Max
Runs up to Llama 4 Maverick (400B) · 69 of our models fit

M5 Ultra with the 256 GB unified upgrade (+$4,000 over the 96 GB base). Holds very large MoE models in 4-bit that otherwise need a multi-GPU server; a 512 GB tier exists but Apple had not priced it at verification.

Bare workstation GPUs (RTX 5090, RTX PRO 6000) need a host PC on top; Apple and DGX machines are complete. Electricity and idle time aren't included — a mostly-idle box loses to the API on cost every time.

What fits on what

Every listed open-weight model, grouped by the memory it needs in 4-bit. Pick your memory budget above, then see what runs. Sizes and the smallest single GPU per model are computed from the index; click a model for the full run guide with int8/fp16.

Runs on a consumer GPU≤ 32 GB in 4-bit — a single RTX 5090 or an entry Mac Studio · 31 models
ModelParamsVRAM (int4)Smallest single GPUAPI /1M
Llama 3.2 3B Instruct (Parasail)3B1.8RTX 3090 (24 GB)$0.38
Ministral 3 3B 2512 (Mistral)3B1.8RTX 3090 (24 GB)$0.2
Granite 4.2 8B (DeepInfra)8B4.8RTX 3090 (24 GB)$0.25
Llama 3.1 8B (Groq)8B4.8RTX 3090 (24 GB)$0.06
Ministral 3 8B 2512 (Mistral)8B4.8RTX 3090 (24 GB)$0.3
Qwen3 VL 8B Instruct (Alibaba)8B4.8RTX 3090 (24 GB)$0.572
Qwen3.5-9B (SiliconFlow)9B5.4RTX 3090 (24 GB)$0.25
Mistral Nemo (DeepInfra)12B7.2RTX 3090 (24 GB)$0.038
Ministral 3 14B 2512 (Mistral)14B8.4RTX 3090 (24 GB)$0.4
Qwen3 14B (DeepInfra)14B8.4RTX 3090 (24 GB)$0.32
GPT-OSS 20B (Groq)20.9B · 3.6B act12.5RTX 3090 (24 GB)$0.12
Mistral Small 3.2 24B (DeepInfra)24B14.4RTX 3090 (24 GB)$0.275
Voxtral Small 24B 2507 (Mistral)24B14.4RTX 3090 (24 GB)$0.4
Gemma 4 26B A4B (DeepInfra)26B · 4B act15.6RTX 3090 (24 GB)$0.26
Gemma 3 27B (DeepInfra)27B16.2RTX 3090 (24 GB)$0.24
Qwen3.5-27B (Alibaba)27B16.2RTX 3090 (24 GB)$2.25
Qwen3.6 27B (Chutes)27B16.2RTX 3090 (24 GB)$2.25
Qwen3.8 27B (Groq)27B16.2RTX 3090 (24 GB)$1.289
Muse Glimmer 30B (Meta)29.78B17.9RTX 3090 (24 GB)$1.5
GLM 4.7 Flash (Venice)30B · 3B act18RTX 3090 (24 GB)$0.46
Nemotron 3 Nano 30B A3B (Crusoe)30B · 3B act18RTX 3090 (24 GB)$0.25
Nemotron 3.5 Lightning (DeepInfra)30B · 3B act18RTX 3090 (24 GB)$0.181
Qwen3 30B A3B Instruct 2507 (SiliconFlow)30B · 3B act18RTX 3090 (24 GB)$0.241
Qwen3 Coder 30B A3B Instruct (Novita)30B · 3B act18RTX 3090 (24 GB)$0.34
Qwen3 VL 30B A3B Instruct (Alibaba)30B · 3B act18RTX 3090 (24 GB)$0.75
Qwen3 VL 30B A3B Thinking (Alibaba)30B · 3B act18RTX 3090 (24 GB)$1.29
Gemma 4 31B (DeepInfra)31B18.6RTX 3090 (24 GB)$0.38
Qwen3 32B (DeepInfra)32B19.2RTX 3090 (24 GB)$0.36
Command R (Cohere)35B21RTX 3090 (24 GB)$0.75
Qwen3.5-35B-A3B (DeepInfra)35B · 3B act21RTX 3090 (24 GB)$1.14
Qwen3.6 35B A3B (AkashML)35B · 3B act21RTX 3090 (24 GB)$1
Needs a workstation or a large unified box33–128 GB — RTX PRO 6000, Mac Studio Ultra, or DGX Spark · 20 models
ModelParamsVRAM (int4)Smallest single GPUAPI /1M
Llama 3.1 70B Instruct (DeepInfra)70B42A100 (80 GB)$0.8
Llama 3.3 70B (Groq)70B42A100 (80 GB)$0.42
Qwen 2.5 72B (DeepInfra)72B43.2A100 (80 GB)$0.76
Qwen3 Coder Next (Parasail)80B · 3B act48A100 (80 GB)$0.92
Qwen3 Next 80B A3B Instruct (DeepInfra)80B · 3B act48A100 (80 GB)$0.878
Qwen3 Next 80B A3B Thinking (Google)80B · 3B act48A100 (80 GB)$1.35
GLM 4.5 Air (Novita)106B · 12B act63.6A100 (80 GB)$0.98
GLM 4.5V (Novita)106B · 12B act63.6A100 (80 GB)$2.4
GLM 4.6V (Novita)106B63.6A100 (80 GB)$1.2
Llama 4 Scout (DeepInfra)109B · 17B act65.4A100 (80 GB)$0.4
Command A (Cohere)111B66.6A100 (80 GB)$12.5
GPT-OSS 120B (Groq)116.8B · 5.1B act70.1A100 (80 GB)$0.18
Mistral Small 4 (Mistral)119B · 6.5B act71.4A100 (80 GB)$0.75
Nemotron 3 Super (DeepInfra)120B · 12B act72A100 (80 GB)$0.485
Nemotron 3.5 Super VL (NVIDIA)120B · 12B act72A100 (80 GB)$0.5
Qwen3.5-122B-A10B (SiliconFlow)122B · 10B act73.2A100 (80 GB)$2.34
Ling 3.0 Flash (Novita)124B · 5.1B act74.4A100 (80 GB)$0.24
Ling 3.0 Flash VL (inclusionAI)124B · 5.5B act74.4A100 (80 GB)$0.24
Ling 3.0 Flash Fin (inclusionAI)124B · 5.1B act74.4A100 (80 GB)$0.295
Mixtral 8x22B Instruct (Mistral)141B · 39B act84.62× H100 (160 GB)$8
Multi-GPU or datacenter only> 128 GB in 4-bit — beyond a single consumer machine · 44 models
ModelParamsVRAM (int4)Smallest single GPUAPI /1M
MiniMax M2.1 (Novita)229B · 10B act137.42× H100 (160 GB)$1.5
MiniMax M2.5 (Venice)229B · 10B act137.42× H100 (160 GB)$1.22
MiniMax M2.7 (DeepInfra)229B · 10B act137.42× H100 (160 GB)$1.05
MiniMax M2 (Minimax)230B · 10B act1382× H100 (160 GB)$1.275
Qwen3 235B A22B Instruct 2507 (GMICloud)235B · 22B act1412× H100 (160 GB)$0.438
Qwen3 235B A22B Thinking 2507 (Alibaba)235B · 22B act1412× H100 (160 GB)$2.53
Qwen3 VL 235B A22B Instruct (DeepInfra)235B · 22B act1412× H100 (160 GB)$1.08
Qwen3 VL 235B A22B Thinking (Alibaba)235B · 22B act1412× H100 (160 GB)$4.4
Inkling Small (Thinking Machines)276B · 12B act165.64× H100 (320 GB)$1.65
DeepSeek V4 Flash 0731 (DeepSeek)284B · 13B act170.44× H100 (320 GB)$0.21
DeepSeek V4 Flash Vision Exp (DeepInfra)284B · 13B act170.44× H100 (320 GB)$0.862
DeepSeek V4 Flash 0423 (DeepSeek)284B · 13B act170.44× H100 (320 GB)$0.21
Hunyuan 3 (Tencent)295B · 21B act1774× H100 (320 GB)$0.66
GLM 5.3 Flash (Relace)320B · 18B act1924× H100 (320 GB)$0.189
GLM 4.6 (Venice)357B214.24× H100 (320 GB)$2.18
GLM 4.7 (DeepInfra)358B214.84× H100 (320 GB)$2.15
Qwen3.5 397B A17B (Alibaba)397B · 17B act238.24× H100 (320 GB)$3.45
Llama 4 Maverick (DeepInfra)400B · 17B act2404× H100 (320 GB)$1
MiniMax M3 (CoreWeave)427B · 23B act256.24× H100 (320 GB)$1.19
MiniMax M1 (Minimax)456B · 45.9B act273.64× H100 (320 GB)$2.6
Qwen3 Coder (Google Vertex)480B · 35B act2884× H100 (320 GB)$1.3
Nemotron 3 Ultra (DeepInfra)550B · 55B act3308× H100 (640 GB)$2.7
DeepSeek V4.1 Flash (DeepSeek)552B · 16B act331.28× H100 (640 GB)$0.468
DeepSeek V4.1 Flash 1017 (DeepSeek)552B · 16B act331.28× H100 (640 GB)$0.392
Ling 3.1 Flash (Novita)560B · 25B act3368× H100 (640 GB)$0.3
DeepSeek Chat671B · 37B act402.68× H100 (640 GB)$1.21
DeepSeek V3 0324 (DeepInfra)671B · 37B act402.68× H100 (640 GB)$1.14
DeepSeek V3.1 (DeepInfra)671B · 37B act402.68× H100 (640 GB)$1.2
DeepSeek R1 (DeepInfra)671B · 37B act402.68× H100 (640 GB)$2.65
DeepSeek V3 (DeepInfra)671B · 37B act402.68× H100 (640 GB)$1.21
DeepSeek V3.1 Terminus (SiliconFlow)671B · 37B act402.68× H100 (640 GB)$1.27
DeepSeek V3.2 (DeepInfra)671B · 37B act402.68× H100 (640 GB)$0.518
DeepSeek V3.2 Exp (SiliconFlow)671B · 37B act402.68× H100 (640 GB)$0.336
Mistral Large 3 (Mistral)675B · 41B act4058× H100 (640 GB)$2
GLM 5 (GMICloud)744B · 40B act446.48× H100 (640 GB)$2.52
GLM-5.2 (DeepInfra)753B451.88× H100 (640 GB)$2.362
GLM-5.3 (DeepInfra)753B451.88× H100 (640 GB)$2.36
GLM 5.1 (Baidu)754B452.48× H100 (640 GB)$4.002
Muse Spark Open (Meta)816B · 42B act489.68× H100 (640 GB)$5.5
Inkling (Thinking Machines)975B · 41B act5858× H100 (640 GB)$5
Kimi K2 Thinking (Google)1000B · 32B act6008× H100 (640 GB)$3.1
Kimi K2.5 (SiliconFlow)1000B · 32B act6008× H100 (640 GB)$2.7
Kimi K2.6 (DeepInfra)1000B · 32B act6008× H100 (640 GB)$2.4
Kimi K2.7 Code (DeepInfra)1000B · 32B act6008× H100 (640 GB)$3.712

Break-even calculator

Pick a model, set your volume and GPU hours. The throughput field is yours to fill — we publish no tokens/s we haven't measured, so feasibility stays unknown until you enter your own. Hardware only, electricity excluded.

Option$/montheffective $/1MReading

Why self-host, when the API is cheaper

Put the other way: Mac Studio M5 Ultra (256 GB unified) costs ≈ 47 months of Claude Max, and it runs open-weight models, not Claude. What earns self-hosting its place never shows up in a break-even:

Sovereignty is your call, not a number we could honestly compute — the calculator prices the decision, it doesn't make it.

Method

VRAM ≈ params(B) × bytes/param × 1.2 (overhead: KV cache + activations + CUDA context). bytes/param: int4=0.5 · int8=1 · fp16=2. Break-even = cost of a GPU running 24/7 at the on-demand rate ÷ API price (blended $/1M): the monthly token volume above which a dedicated GPU is cheaper than the lowest-priced API. Table figures assume continuous use; real throughput (tokens/s) caps what the hardware can actually deliver — the break-even calculator models that cap from a throughput YOU measure and enter (we publish no tokens/s we haven't measured ourselves).

Model sizes verified 2026-09-10 (stated in each model's name/card, or an established published spec). GPU rates verified 2026-10-19 — on-demand, cheapest reliable tier: runpod · lambda · vast.

Machine purchase prices verified 2026-10-19: dgx_spark · mac_studio · rtx_5090 · rtx_pro_6000. Months of Claude Max = purchase price ÷ $200/mo (Claude Max 20x, the top tier), a price yardstick only.

FAQ

Is self-hosting an LLM cheaper than using an API?

Almost never, on cost alone. Commodity APIs are so cheap per token that a dedicated GPU only breaks even at very high, sustained volume. As of 2026-10-23, even a small model like Llama 3.2 3B Instruct (Parasail) needs on the order of 327M tokens/month before a 24/7 GPU beats the cheapest API. You self-host for control, privacy, data residency, offline use and no rate limits — not for the bill.

What decides whether a model fits on my machine?

The memory pool, not the compute. A model must sit entirely in memory — VRAM on a discrete GPU, unified memory on Apple or DGX. Rule of thumb: memory needed ≈ parameters (in billions) × bytes per parameter × 1.2 overhead, where bytes per parameter are 0.5 for int4, 1 for int8, 2 for fp16. A 70B model in int4 needs roughly 42 GB.

Does a box worth months of Claude Max give me Claude at home?

No — and that's the honest catch. The hardware price is shown in months of Claude Max only as a familiar yardstick. What you actually run at home is open-weight models (Llama, Qwen, Mistral, Gemma…), not frontier Claude or GPT. Self-hosting buys you control and privacy over those open models, not frontier quality for less.