If you’re interested in building a home large language model server, I’ve got you. Try my calculator to estimate costs based on popular hardware options. Keep in mind, frontier models are basically subsidized by investors today so in terms of raw cost, they’ll often work out cheaper than a home build (now), especially if electricity is expensive in your area. But if you like owning your pipeline and hardware, experimenting, an decentralization, then home is a great option.

I’ve included budget builds using legacy equipment, such as older motherboards that use DDR4 RAM (slower than DDR5 but a quarter the price during today’s memory shortage), and dream builds using more modern hardware. I was lucky to have acquired a 5090 and 192gb DDR5 RAM to run my local models before the bloviated prices expanded into unrealistic home server territory. If you’re late to the game, this planning tool should get you started quickly. Remember, do your own research, and always vet online sellers before giving them your money – many are scammers!!!

Local LLM build calculator

Pick an AI model and see which hardware runs it, how fast it writes, what the build costs and whether it beats paying for a subscription. Start from a ready-made build or choose every part yourself.

Ready-made builds and prices

BuildTotal est.GPU or systemSet up forResult
Starter: used RTX 3060 12GB desktop$1,038RTX 3060 12GBQwen3 8B, Q4_K_MRuns well 35 tok/s
Bargain 48GB: 2x Tesla P40$1,6592 x Tesla P40 24GB (passive, needs fan)Llama 3.3 70B, Q4_K_MRuns, slower (partly in RAM) 2.3 tok/s
Budget 24GB: used RTX 3090$2,124RTX 3090 24GBMistral Small 24B, Q4_K_MRuns well 33 tok/s
New parts 32GB: 2x RTX 5060 Ti 16GB$2,2312 x RTX 5060 Ti 16GBQwen3 32B, Q4_K_MRuns well 11 tok/s
Compact 128GB unified: Strix Halo mini PC$2,246AMD Ryzen AI Max+ 395 mini PC (Strix Halo), 128GBgpt-oss 120B (MoE), MXFP4Runs well 39 tok/s
Mac Studio M4 Max 128GB$3,958Mac Studio M4 Max, 128GB unified memoryLlama 3.3 70B, Q4_K_MRuns well 6.8 tok/s
Enthusiast 48GB: 2x RTX 3090$4,3662 x RTX 3090 24GBLlama 3.3 70B, Q4_K_MRuns, slower (partly in RAM) 5.1 tok/s
Consumer 32GB: RTX 5090 + X870E Tomahawk, 7950X, 192GB$7,902RTX 5090 32GBgpt-oss 120B (MoE), MXFP4Runs, slower (partly in RAM) 23 tok/s
Consumer 32GB: RTX 5090 + X870E Tomahawk, 9950X3D2, 192GB$8,351RTX 5090 32GBgpt-oss 120B (MoE), MXFP4Runs, slower (partly in RAM) 23 tok/s
Workstation 96GB: 4x RTX 3090 on EPYC$8,7524 x RTX 3090 24GBgpt-oss 120B (MoE), MXFP4Runs well 123 tok/s
EPYC + CMP 170HX 64GB$9,711CMP 170HX unlocked 64GBQwen3 30B-A3B (MoE), Q4_K_MRuns well 60 tok/s
Dream unified: Mac Studio M3 Ultra 512GB$10,164Mac Studio M3 Ultra, 512GB unified memoryDeepSeek V3 / R1 671B (MoE, MLA), Q3_K_MRuns well 26 tok/s
EPYC + CMP 170HX 80GB (PCIe 4.0 x16)$12,172CMP 170HX unlocked 80GB, PCIe 4.0 x16Qwen3 30B-A3B (MoE), Q4_K_MRuns well 60 tok/s
Dream MoE server: EPYC 9005 + 768GB DDR5 + RTX PRO 6000$24,289RTX PRO 6000 Blackwell 96GBDeepSeek V3 / R1 671B (MoE, MLA), Q4_K_MRuns, slower (partly in RAM) 17 tok/s
Dream workstation: 2x RTX PRO 6000 + Threadripper PRO$30,3452 x RTX PRO 6000 Blackwell Max-Q 96GB (300W)Qwen3 235B-A22B (MoE), Q4_K_MRuns well 62 tok/s

Totals include a 7.0% slush fund for cables, risers and shipping. Speeds are estimates for one user.

Parts list: Budget 24GB: used RTX 3090

Store links are affiliate links: I may earn a commission at no cost to you. Prices are estimates.

Scam warning: eBay, Facebook Marketplace, Alibaba and other auction, classified and overseas marketplaces all have scammers. Listed prices may be inaccurate and may not include tariffs, import duties, taxes or shipping. You are completely responsible for vetting sellers before any purchase.

Browse every part in the catalog

How to plan a local LLM build

How much VRAM do you need?

Memory is the first question, because a model that does not fit in GPU memory either runs slowly or not at all. Its size is the number of parameters times the bits per weight, divided by 8. Quantization shrinks it: Q4_K_M stores about 4.85 bits per weight, so a 32B model needs about 20 GB instead of 64 GB at full precision, with little loss in quality. Add room for the KV cache, the memory that holds the conversation, which grows with context length.

Model sizeQ4_K_M, 8K contextTypical hardware
8Babout 6 GBAny 8 to 12 GB gaming GPU
14Babout 10 GBA 12 to 16 GB GPU
32Babout 21 GBOne 24 GB GPU, such as an RTX 3090
70Babout 44 GBTwo 24 GB GPUs, or a 64 GB Mac
120B MoEabout 66 GBOne 24 GB GPU plus 64 GB of RAM, or a 96 GB card

Dense models, mixture of experts and flash streaming

A dense model, such as Llama 3.3 70B, reads every weight for every word it writes, so its speed depends on fitting entirely in fast GPU memory. A mixture-of-experts (MoE) model, such as gpt-oss-120b or Qwen3 235B, reads only a few experts per word. It still needs memory for all its weights, but it stays usable when part of it sits in system RAM, which costs far less than VRAM.

Flash-streaming engines such as Strata go a step further: experts that do not fit in RAM stay on a fast NVMe SSD and load as needed. That runs very large MoE models on an ordinary PC, slowly. It works only for MoE models and the models each engine supports.

Speed: why memory bandwidth matters

Writing each word means reading the active weights from memory once, so generation speed is about memory bandwidth divided by the active model size. An RTX 3090 reads about 936 GB/s, so a 20 GB model writes roughly 25 to 30 tokens per second. Reading the prompt is limited by compute instead, which is why long documents take a moment before the answer starts.

Buying used parts

Used GPUs and server parts are the cheapest way to get a lot of VRAM and RAM. Buy from sellers with a track record and a return policy, ask for photos of the actual item, test it the day it arrives, and walk away from prices far below the market. Passive server cards need fans, and older cards may not work with every engine.

Frequently asked questions

How much VRAM do I need to run an LLM locally?

Roughly the model size in billions of parameters times the bits per weight divided by 8, plus a few gigabytes for the conversation. At the common Q4_K_M quantization, an 8B model needs about 6 GB, a 32B model about 21 GB and a 70B model about 44 GB. Longer conversations need more.

Is one big GPU better than two smaller ones?

For fitting a model, total VRAM is what counts, so two used 24 GB cards can run what one 48 GB card runs, often for less money. One card is simpler, quieter and uses less power. Speed with two cards is close to one card when the model is split by layers.

What is a mixture-of-experts (MoE) model?

A model made of many smaller expert networks, of which only a few run for each word. It needs memory for all of its weights but reads only the active ones, so it runs much faster than a dense model of the same size and still works well when part of it sits in system RAM.

What is flash streaming?

Engines such as Strata keep the experts of a mixture-of-experts model that do not fit in memory on a fast NVMe SSD and load them as needed, caching the busy ones in RAM. Very large models then run on an ordinary PC, more slowly than from VRAM. It does not help dense models.

How fast will a local LLM run?

Generation speed is close to memory bandwidth divided by the size of the active weights. A model that fits in GPU memory usually writes faster than you can read. Once part of it runs from system RAM, speed drops sharply. The calculator estimates speed for each build.

Is a local LLM server cheaper than ChatGPT or Claude subscriptions?

It depends on how much you use it. Light users rarely save money, because a subscription costs less than the hardware and electricity. Heavy users, teams, and anyone running agents all day can pay off a server in a year or two. Privacy, offline use and no rate limits are the other reasons people build one.

Is it safe to buy used GPUs?

Often, yes, and used cards are the cheapest VRAM. Buy from sellers with a history and a return policy, ask for photos of the actual card, test it as soon as it arrives, and be wary of prices far below the market. Auction, classified and overseas marketplaces all have scammers.

Terms explained
Quantization
Storing weights with fewer bits. Q4_K_M uses about 4.85 bits per weight, so a 32B model needs about 20 GB instead of 65 GB at FP16.
KV cache
Memory that holds the conversation so far. It grows with context length and can exceed the model size at very long context.
Prefill
Reading the prompt. It is compute-bound, so it scales with GPU TFLOPS. Generation is memory-bound, so it scales with bandwidth.
MoE
Mixture of experts. Only a few experts run per token, so a 120B MoE can generate faster than a dense 32B model, but it still needs memory for all its weights.
Offloading
When the model does not fit in VRAM, the rest runs from system RAM. It works, but speed drops toward system RAM bandwidth.
SSD streaming (flash MoE)
Engines such as Strata keep the MoE experts that do not fit in memory on the SSD and read them as needed, caching the busy ones in RAM. Very large MoE models then run on modest hardware, slowly.
GPU bridge
NVLink (RTX 3090 and some workstation cards) and AMD Infinity Fabric Link connect cards directly. It mainly helps tensor parallel, where the cards exchange data on every token.
Unified memory
Macs, Strix Halo and DGX Spark share one memory pool between CPU and GPU, which allows very large models in a small, quiet, low-power box at lower bandwidth than high-end GPUs.
Method and limitations

Memory need = weights (parameters x bits per weight / 8) + KV cache (layers x KV values x context x precision) + about 0.6 GB per device. Generation speed = bandwidth x efficiency / bytes read per token, with offloaded weights read at system RAM speed and SSD-streamed experts at SSD speed after the engine cache. Prefill = about 35% of FP16 TFLOPS / (2 x active parameters). Local cost = (hardware + slush fund - resale + maintenance + electricity) / lifetime output. Pay-off time = hardware cost / (cloud monthly cost - local running cost). Estimates ignore batching, speculative decoding and engine differences beyond efficiency. No data leaves your browser.

Beyond cost: a local server keeps your data private, works offline, has no rate limits and can run uncensored or fine-tuned models. Cloud models may still be stronger for hard tasks.

Shop my recommended AI hardware on Amazon

As an Amazon Associate I earn from qualifying purchases. Some other links on this page are also affiliate links, which means I may earn a commission at no extra cost to you. Prices and specifications are estimates and may be out of date, so verify them with the seller before you buy.