AI hardware calculator
Choose an open-weight model, how fast you want it, and your budget. Get matching GPU builds with a full parts list (including power and cooling), and see when owning the hardware beats paying for a closed API.
Memory needed
Everything has to fit in GPU memory (VRAM) for full speed.
2. Recommended builds
Click a build to see its parts and running costsParts list: 2 x NVIDIA RTX 3090 24GB (used)
Peak draw about 905 W · idle 133 W| Part | Item | Qty | Price | |
|---|---|---|---|---|
| GPUGPU | NVIDIA RTX 3090 24GB (used) | 2 | $1,500 | Check price |
| PlatformCPU | AMD Ryzen 9 9950X | 1 | $550 | Check price |
| Motherboard | X870E board with x8/x8 PCIe split | 1 | $380 | Check price |
| RAM | 128 GB DDR5 (4x32) | 1 | $380 | Check price |
| Storage | 4 TB NVMe Gen4 SSD | 1 | $250 | Check price |
| Case | Full-tower case (8+ expansion slots) | 1 | $180 | Check price |
| PowerPSU | 1200 W ATX 3.1 PSU (80+ Platinum) | 1 | $240 | Check price |
| CoolingCPU cooler | 360 mm AIO liquid cooler | 1 | $120 | Check price |
| Case fans | 6 x 140 mm high static pressure fans | 1 | $75 | Check price |
| Total (estimate) | $3,675 | |||
- This card is mostly sold used. Buy from sellers with returns, and stress-test it on arrival.
- Multi-GPU speed assumes tensor parallelism (vLLM, SGLang or llama.cpp split-mode row). Simple layer splitting is slower: expect roughly single-card speed.
- Cooling tier "AIO liquid + high-airflow" was chosen for about 905 W of heat. Prices are estimates from Nov 2026; check live prices before buying.
3. Running cost and break-even vs a closed API
The models and the software stack (Ollama, llama.cpp, vLLM, Open WebUI) are free. Your real costs are hardware, electricity, cooling and someone's time.
Upfront hardware
$3,675
Electricity / month
$54
316 kWh
Total local / month
$256
incl. $102 hardware write-off
Closed API / month
$1,000
100M tokens at $10.00/M
Pays for itself in about 4.3 months. After that you save roughly $846 a month compared with the API. Your effective cost is $2.56 per million tokens over 36 months.
Heads up: at 20 tok/s for 8 h/day this build produces about 17.9M tokens a month, less than the 100M you entered. Add hours, users with batching, or more GPUs.
How this calculator works
- Memory = weights (parameters x bits per weight) + KV cache (2 x layers x KV heads x head size x context x users, at FP16 or 8-bit) + about 2% plus 0.6 GB per GPU of runtime buffers. We assume a headless server can use 97% of each card's VRAM. If a build is within a gigabyte or two of the limit it will work, but with little room to spare.
- Speed is for one chat stream while generating. Generating text is limited by memory bandwidth: each token reads every active weight once. We assume engines reach about 62% (NVIDIA) or 50% (AMD) of the rated bandwidth, and each extra GPU adds 85% of its ideal share. Mixture-of-Experts models get 60% of that, and every layer adds a small fixed delay per token, which is what limits small and MoE models.
- Prompt processing (reading long documents before answering) is compute-bound and usually much faster. It is not modelled here.
- Power: PSUs are sized with 30% headroom. Electricity is counted at 90% PSU efficiency, peak draw during busy hours and idle draw otherwise. Room air conditioning adds about a third more.
- Estimates are typically within ±25% of real-world results. Driver versions, engine choice and settings move the numbers.
All figures are estimates for planning, not a guarantee of price or performance. Have a qualified electrician check your circuit and power setup before running a multi-GPU build. See the terms of use.