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
~33 GB
range 28-36 GB
Topology
mixed gpu
pcie
Setup difficulty
advanced
speed penalty ~35%
Why effective VRAM is lower than total

Mixed-GPU (asymmetric) configuration. Tensor-parallel doesn't work cleanly because TP requires identical cards — your faster card stalls waiting on the slower one every layer. Use llama.cpp's layer-split with manual --tensor-split tuning to distribute layers by VRAM ratio. Effective capacity ~33 GB after layer-split overhead, but the slowest card (22 GB effective) bottlenecks single-tensor operations.

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.

WORKLOAD PROFILE
FITS
Qwen 2.5 Coder 32B Instruct @ Q4_K_M, 8K context on NVIDIA GeForce RTX 4090
0 GB33 GBVRAM ceiling
Weights19 GB
KV cache2.1 GB
Activations1.0 GB
Runtime1.8 GB
Headroom9.1 GB
ESTIMATED DECODE RATE
29 tok/s
Bandwidth-derived estimate · efficiency 0.55. Real-world rates land within ±20% on well-tuned runtimes.
29 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
Qwen 2.5 Coder 32B Instruct32BQ4_K_M22.1 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 33% headroom.
Mistral Small 3 24B24BQ4_K_M26.7 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 19% headroom.
Dolphin 3.0 Mistral 24B24BQ4_K_M26.7 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 19% headroom.
Codestral 22B22BQ4_K_M24.7 GB8,192No measured row yetFits cleanly at Q4_K_M + 8,192 ctx with 25% 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 24% headroom.
DeepSeek Coder V2 Lite (16B)16BQ4_K_M18 GB8,192No measured row yetComfortable fit with 46% headroom — room to extend context or run alongside other workloads.
DeepSeek MoE 16B Base16BQ4_K_M14 GB4,096No measured row yetComfortable fit with 58% headroom — room to extend context or run alongside other workloads.
StarCoder 2 15B16BQ4_K_M17.4 GB8,192No measured row yetComfortable fit with 47% headroom — room to extend context or run alongside other workloads.
DeepSeek V2 Lite Chat16BQ4_K_M16.9 GB8,192No measured row yetComfortable fit with 49% 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 52% 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 52% 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 29% headroom.
Qwen 3 14B14BQ8_022.8 GB8,192No measured row yetFits cleanly at Q8_0 + 8,192 ctx with 31% headroom.
Phi-4 Reasoning 14B14BQ4_K_M18.7 GB8,192No measured row yetComfortable fit with 43% 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 31% headroom.
GLM-4V 9B14BINT416.2 GB8,192No measured row yetComfortable fit with 51% headroom — room to extend context or run alongside other workloads.
OLMo 2 13B14BQ4_K_M11.6 GB4,096No measured row yetComfortable fit with 65% headroom — room to extend context or run alongside other workloads.
Stable LM 2 12B12BQ4_K_M10.6 GB4,096No measured row yetComfortable fit with 68% headroom — room to extend context or run alongside other workloads.
Gemma 3 12B12BQ8_019.7 GB8,192No measured row yetComfortable fit with 40% headroom — room to extend context or run alongside other workloads.
Mistral Nemo 12B Instruct12BQ8_019.7 GB8,192No measured row yetComfortable fit with 40% headroom — room to extend context or run alongside other workloads.
Pixtral 12B12BQ8_019.7 GB8,192No measured row yetComfortable fit with 40% headroom — room to extend context or run alongside other workloads.
Trendyol LLM Asure 12B12BQ4_K_M10.9 GB8,192No measured row yetComfortable fit with 67% headroom — room to extend context or run alongside other workloads.
Llama 3.2 11B Vision Instruct11BQ8_018.6 GB8,192No measured row yetComfortable fit with 44% headroom — room to extend context or run alongside other workloads.
Llama 3.2 11B Vision11BQ4_K_M13.7 GB8,192No measured row yetComfortable fit with 58% headroom — room to extend context or run alongside other workloads.
Borderline
7 models · tight, may need quant downgrade
ModelParamsQuantVRAM est.ContextEvidenceNote
Yi 1.5 34B34BQ4_K_M29.5 GB4,096No measured row yetTight fit at Q4_K_M — only 11% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Aya Expanse 32B32BAWQ-INT432.8 GB8,192No measured row yetTight fit at AWQ-INT4 — only 1% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Qwen3.8 27B27BQ4_K_M30.8 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.
Qwen 3.6 27B (MTP)27BQ5_K_M33 GB8,192No measured row yetTight fit at Q5_K_M — only 0% headroom. KV cache for longer context will OOM. Cap context tighter or drop one quant level.
Gemma 3 27B27BQ4_K_M30.3 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.
MedGemma 27B27BQ4_K_M30.3 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.
InternVL 2.5 26B26BQ4_K_M29.8 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.
Not practical
16 models · oversize for this build
ModelParamsQuantVRAM est.ContextEvidenceNote
Qwen 3 30B-A3B30BQ4_K_M33.9 GB8,192No measured row yet~33.9 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 3%. Drop quant or move to a larger build.
Gemma 4 31B Dense31BQ4_K_M34.4 GB8,192No measured row yet~34.4 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 4%. Drop quant or move to a larger build.
Omni 31B Turkish Reasoning31BQ4_K_M33.5 GB8,192No measured row yet~33.5 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 1%. Drop quant or move to a larger build.
Qwen 2.5 32B Instruct32BQ4_K_M36 GB8,192No measured row yet~36.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 9%. Drop quant or move to a larger build.
Qwen 3 32B32BQ4_K_M36 GB8,192No measured row yet~36.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 9%. Drop quant or move to a larger build.
QwQ 32B Preview32BQ4_K_M36 GB8,192No measured row yet~36.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 9%. Drop quant or move to a larger build.
DeepSeek R1 Distill Qwen 32B32BQ4_K_M36 GB8,192No measured row yet~36.0 GB needed at Q4_K_M + 8,192 ctx — overshoots effective VRAM by 9%. Drop quant or move to a larger build.
EXAONE 3.5 32B32BAWQ-INT436 GB8,192No measured row yet~36.0 GB needed at AWQ-INT4 + 8,192 ctx — overshoots effective VRAM by 9%. Drop quant or move to a larger build.
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 15%. 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 20%. 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 20%. 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 60%. 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 77%. 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 133%. 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 133%. 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 35%. 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 Qwen 3 30B-A3B. By our estimate, a rented GPU with at least 34 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.