Custom build engine

Describe your build — any GPUs, CPU, RAM, OS, runtime, use case. We'll compute effective VRAM honestly, recommend a runtime, and tell you which models fit comfortably, which are borderline, and which aren't practical.

Total VRAM ≠ pooled VRAM. We never sum VRAM unless the silicon truly pools (Apple unified memory). We always explain why effective is lower than total.

Calculations follow the RunLocalAI Will-It-Run Framework: effective VRAM, model working set, runtime constraints, fit tiers, and measured-vs-estimated evidence labels.

Describe your build

Add GPUs, set CPU/RAM/OS, optionally pick a runtime + use case. URL updates as you change fields — share a build by copying the URL.

Build summary

Total VRAM
48 GB
Effective VRAM
~37 GB
range 35-38 GB
Topology
single node multi gpu
pcie
Setup difficulty
intermediate
speed penalty ~18%
Why effective VRAM is lower than total

2× NVIDIA GeForce RTX 4090 = 48 GB total VRAM, but without NVLink, cross-card bandwidth is PCIe-bound (~32 GB/s vs NVLink ~112 GB/s). With tensor-parallelism, each card holds ~1/2 of the model weights and replicates activations + KV cache. After 15% TP overhead, effective model capacity is ~37 GB. Largest single tensor on one card is ~22 GB.

Measured evidence on this hardware

Publicly inspectable measured rows for the selected hardware slug(s). Exact measured rows calibrate the fit table instead of leaving it as pure VRAM estimation.

No publicly inspectable benchmark rows are attached to this exact hardware yet. The engine will still calculate fit and runtime, but speed rows will remain estimated.

Recommended runtime

Best engine for this topology + skill level + use case.

WORKLOAD PROFILE
FITS
Yi 1.5 34B @ Q4_K_M, 4K context on NVIDIA GeForce RTX 4090
0 GB37 GBVRAM ceiling
Weights20 GB
KV cache8.5 GB
Activations1.0 GB
Runtime1.8 GB
Headroom5.7 GB
ESTIMATED DECODE RATE
28 tok/s
Bandwidth-derived estimate · efficiency 0.55. Real-world rates land within ±20% on well-tuned runtimes.
28 tokens per second02550100150

Models that fit your build

177 models considered. Categorized by headroom at the recommended quant + a sensible context for your use case.

Comfortable
24 models · ≥15% headroom
ModelParamsQuantVRAM est.ContextEvidenceNote
Yi 1.5 34B34BQ4_K_M29.5 GB4,096No measured row yetFits cleanly at Q4_K_M + 4,096 ctx with 20% headroom.
Qwen 2.5 Coder 32B Instruct32BQ4_K_M22.1 GB8,192No measured row yetComfortable fit with 40% headroom — room to extend context or run alongside other workloads.
Gemma 3 27B27BQ4_K_M30.3 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 18% headroom.
MedGemma 27B27BQ4_K_M30.3 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 18% headroom.
InternVL 2.5 26B26BQ4_K_M29.8 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 19% headroom.
Mistral Small 3 24B24BQ4_K_M26.7 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 28% headroom.
Dolphin 3.0 Mistral 24B24BQ4_K_M26.7 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 28% headroom.
Gemma 4 Turkish 26B (4B active)20BQ4_K_M25.2 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 32% headroom.
DeepSeek Coder V2 Lite (16B)16BQ4_K_M18 GB8,192No measured row yetComfortable fit with 51% headroom — room to extend context or run alongside other workloads.
DeepSeek MoE 16B Base16BQ4_K_M14 GB4,096No measured row yetComfortable fit with 62% headroom — room to extend context or run alongside other workloads.
StarCoder 2 15B16BQ4_K_M17.4 GB8,192No measured row yetComfortable fit with 53% headroom — room to extend context or run alongside other workloads.
DeepSeek V2 Lite Chat16BQ4_K_M16.9 GB8,192No measured row yetComfortable fit with 54% headroom — room to extend context or run alongside other workloads.
DeepSeek R1 Distill Qwen 14B14BQ4_K_M15.8 GB8,192No measured row yetComfortable fit with 57% headroom — room to extend context or run alongside other workloads.
Qwen 2.5 Coder 14B Instruct14BQ4_K_M15.8 GB8,192No measured row yetComfortable fit with 57% headroom — room to extend context or run alongside other workloads.
Qwen 2.5 14B Instruct14BQ8_023.5 GB8,192No measured row yetFits cleanly at Q8_0 + 8,192 ctx with 37% headroom.
Qwen 3 14B14BQ8_022.8 GB8,192No measured row yetFits cleanly at Q8_0 + 8,192 ctx with 38% headroom.
Phi-4 Reasoning 14B14BQ4_K_M18.7 GB8,192No measured row yetComfortable fit with 50% headroom — room to extend context or run alongside other workloads.
Phi-4 14B14BQ8_022.8 GB8,192No measured row yetFits cleanly at Q8_0 + 8,192 ctx with 38% headroom.
GLM-4V 9B14BINT416.2 GB8,192No measured row yetComfortable fit with 56% headroom — room to extend context or run alongside other workloads.
OLMo 2 13B14BQ4_K_M11.6 GB4,096No measured row yetComfortable fit with 69% headroom — room to extend context or run alongside other workloads.
Stable LM 2 12B12BQ4_K_M10.6 GB4,096No measured row yetComfortable fit with 71% headroom — room to extend context or run alongside other workloads.
Gemma 3 12B12BQ8_019.7 GB8,192No measured row yetComfortable fit with 47% headroom — room to extend context or run alongside other workloads.
Mistral Nemo 12B Instruct12BQ8_019.7 GB8,192No measured row yetComfortable fit with 47% headroom — room to extend context or run alongside other workloads.
Pixtral 12B12BQ8_019.7 GB8,192No measured row yetComfortable fit with 47% headroom — room to extend context or run alongside other workloads.
Borderline
12 models · tight, may need quant downgrade
ModelParamsQuantVRAM est.ContextEvidenceNote
Aya Expanse 32B32BAWQ-INT432.8 GB8,192No measured row yetTight fit at AWQ-INT4 — only 11% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Qwen 2.5 32B Instruct32BQ4_K_M36 GB8,192No measured row yetTight fit at Q4_K_M — only 3% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Qwen 3 32B32BQ4_K_M36 GB8,192No measured row yetTight fit at Q4_K_M — only 3% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
QwQ 32B Preview32BQ4_K_M36 GB8,192No measured row yetTight fit at Q4_K_M — only 3% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
DeepSeek R1 Distill Qwen 32B32BQ4_K_M36 GB8,192No measured row yetTight fit at Q4_K_M — only 3% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
EXAONE 3.5 32B32BAWQ-INT436 GB8,192No measured row yetTight fit at AWQ-INT4 — only 3% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Gemma 4 31B Dense31BQ4_K_M34.4 GB8,192No measured row yetTight fit at Q4_K_M — only 7% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Omni 31B Turkish Reasoning31BQ4_K_M33.5 GB8,192No measured row yetTight fit at Q4_K_M — only 10% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Qwen 3 30B-A3B30BQ4_K_M33.9 GB8,192No measured row yetTight fit at Q4_K_M — only 8% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Qwen3.8 27B27BQ6_K36.6 GB8,192No measured row yetTight fit at Q6_K — only 1% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Qwen 3.6 27B (MTP)27BQ5_K_M33 GB8,192No measured row yetTight fit at Q5_K_M — only 11% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Codestral 22B22BQ8_035.2 GB8,192No measured row yetTight fit at Q8_0 — only 5% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Not practical
16 models · oversize for this build
ModelParamsQuantVRAM est.ContextEvidenceNote
Phind CodeLlama 34B v234BQ4_K_M38 GB8,192No measured row yet~38.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 3%. Drop quant or move to a larger build.
Command R 35B35BQ4_K_M39.6 GB8,192No measured row yet~39.6 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 7%. Drop quant or move to a larger build.
Aya 23 35B35BQ4_K_M39.6 GB8,192No measured row yet~39.6 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 7%. Drop quant or move to a larger build.
Mixtral 8x7B Instruct47BQ4_K_M52.9 GB8,192No measured row yet~52.9 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 43%. Drop quant or move to a larger build.
Jamba 1.5 Mini52BQ4_K_M58.6 GB8,192No measured row yet~58.6 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 58%. Drop quant or move to a larger build.
DeepSeek R1 Distill Llama 70B70BQ4_K_M77 GB8,192No measured row yet~77.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 108%. Drop quant or move to a larger build.
Llama 3.1 70B Instruct70BQ4_K_M77 GB8,192No measured row yet~77.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 108%. Drop quant or move to a larger build.
Llama 3.3 70B Instruct70BQ4_K_M44.7 GB8,192No measured row yet~44.7 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 21%. Drop quant or move to a larger build.
Hermes 3 Llama 3.1 70B70BQ4_K_M77 GB8,192No measured row yet~77.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 108%. Drop quant or move to a larger build.
OpenBioLLM Llama 3 70B70BQ4_K_M79.1 GB8,192No measured row yet~79.1 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 114%. Drop quant or move to a larger build.
Tulu 3 70B70BQ4_K_M80.2 GB8,192No measured row yet~80.2 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 117%. Drop quant or move to a larger build.
Llama 3.1 Nemotron 70B Instruct70BQ4_K_M79.6 GB8,192No measured row yet~79.6 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 115%. Drop quant or move to a larger build.
Qwen 2.5 72B Instruct72BQ4_K_M79.1 GB8,192No measured row yet~79.1 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 114%. Drop quant or move to a larger build.
Qwen 2.5 Math 72B72BQ4_K_M61.1 GB4,096No measured row yet~61.1 GB needed at Q4_K_M + 4,096 ctx — overshoots effective VRAM by 65%. Drop quant or move to a larger build.
Qwen 2.5-VL 72B72BAWQ-INT480.1 GB8,192No measured row yet~80.1 GB needed at AWQ-INT4 + 8,192 ctx — overshoots effective VRAM by 117%. Drop quant or move to a larger build.
Molmo 72B72BF32325.7 GB4,096No measured row yet~325.7 GB needed at F32 + 4,096 ctx — overshoots effective VRAM by 780%. Drop quant or move to a larger build.
Rent instead
Not enough VRAM for this model? Rent a GPU by the hour

This build can't hold Phind CodeLlama 34B v2. By our estimate, a rented GPU with at least 38 GB runs it now, without buying new hardware.

Referral links: RunLocalAI may earn a commission or account credits if you sign up and rent, at no extra cost to you. Hourly rates and which GPUs are listed change all the time, so check the provider's page before you start. How we make money.

Shopping a full build instead of a single card?

If you're sizing a fresh AI build (not just a card to drop into an existing system), the build-budget walkthroughs cover the whole BOM honestly: AI PC build under $1,000 or AI PC build under $2,000 cover the realistic 2026 budget tiers.

Vertical-fit shopping? AI PC for students covers the budget + portability tradeoffs; AI PC for developers covers the coding workflow specifics; AI PC for small business covers the document-RAG / always-on machine.

Form-factor first? See best laptop for local AI, best Mac for local AI, best mini PC for local AI, or best used GPU for local AI.