Quick answer. If you already own a 16GB+ PC or Mac, start there — running a Q4 model in Ollama costs nothing. To buy dedicated hardware, the cheapest VRAM-per-dollar path is a used 24GB GPU: a Tesla P40 (~$240–$480 used) or an RTX 3090 (~$850–$1,200 used). For occasional use, renting a cloud GPU (roughly $0.20–$0.70/hour) beats buying.
The economics of running a model on your own hardware shifted sharply by mid-2026. A structural memory shortage pushed RAM and storage prices up substantially, which dragged the cost of a "cheap" local AI box up with it. This guide is cost-first: it ranks the cheapest viable ways to run a local large language model right now, in dollars, and ends with an honest verdict on what a beginner on a budget should actually buy.
If you want a performance comparison of high-end machines instead, read our local LLM hardware showdown — that piece benchmarks $2,000–$10,000 systems. This one stays at the budget end and focuses on value-per-dollar, and intentionally skips that workstation tier.
What actually happened to hardware prices in 2026?
By mid-2026, the memory market had tightened severely. Manufacturers (Samsung, SK Hynix, Micron) redirected wafer capacity toward high-bandwidth memory (HBM) for AI data-center accelerators, leaving consumer DDR5 and DDR4 undersupplied. Analysts framed the impact in stark terms: Gartner projected a roughly 130% rise in combined DRAM and SSD pricing through 2026, and IDC documented a structural shortage. HP said memory and storage rose from roughly 15–18% of its PC bill of materials to about 35%. On the retail side, multiple trackers reported DDR5 kits more than doubling versus their 2024–2025 lows, with some kits up several-fold.
Two caveats worth stating plainly, because the picture is messy:
- The magnitude varies a lot by source and by week, and some figures are forecasts. Reported retail increases range from "doubled" to "up several-fold" depending on the kit and the tracker; the headline percentages are often analyst projections, not a single observed retail reality. Treat any number as approximate and check live prices before you buy.
- Most analysts don't expect meaningful relief before late 2027. If you're waiting for prices to fall, the consensus says that's a long wait — which is part of why buying used hardware that ships with memory already attached is suddenly more attractive than building fresh.
One clarification on the title: the sharpest, best-documented spike is in memory and storage (DRAM and NAND). GPU prices felt secondary pressure — newer cards use pricier memory (GDDR7 on the RTX 50-series), and the same data-center demand that drained DRAM supply keeps GPU prices firm — but the GPU side is less dramatic than the RAM crunch. The practical takeaway is the same: the spike hit system RAM hardest. That penalizes the "buy a cheap box and stuff it with 128GB" plan and rewards paths where the memory is already paid for — used GPUs with VRAM soldered on, used Macs with unified memory, or cloud rental where someone else absorbs the hardware cost.
What's the cheapest hardware path overall?
There are five realistic budget paths. None is universally "best" — the right one depends on whether you already own a capable machine, how often you'll run models, and how much patience you have for tinkering.
1. Used 24GB GPU (cheapest VRAM-per-dollar)
The single most cost-effective way to get real GPU acceleration is a used 24GB card. Two options dominate the budget conversation:
- NVIDIA Tesla P40 (24GB): used listings commonly run roughly $240–$480. It's a 2016 Pascal data-center card with no tensor cores, so it's slow on modern inference optimizations — but for offline/batch work it gets you 24GB of VRAM for the price of a mid-range consumer card. The catch: it's a passive card with no fan, so you must add forced airflow (a 3D-printed shroud + fan) or it throttles hard. This is a DIY path, not plug-and-play.
- NVIDIA RTX 3090 (24GB): used listings commonly run roughly $850–$1,200, with the occasional lower local deal. It's the value king for local AI because it pairs 24GB of VRAM with usable Ampere compute — fast enough for interactive chat. A used 3090 is comfortable for everyday use on 27B–32B Q4 models; expect throughput in the tens of tokens/second, with the exact number varying heavily by model, context length, runtime, and quant format.
The rule of thumb: the P40 is the absolute floor on price if you can tolerate slow speed and DIY cooling; the 3090 is the floor on price for a card you'll actually enjoy using daily.
2. Used Apple Silicon Mac (unified memory does the heavy lifting)
Apple Silicon Macs share one memory pool between CPU, GPU, and Neural Engine, so the "RAM" is also the "VRAM." That sidesteps the usual VRAM bottleneck and means a Mac's listed memory is the number that matters. Used/refurbished entry points reported in 2026:
- A used base M1 with 16GB can land around the high-$300s — enough for small (7B-class) models.
- Used M1/M1 Pro machines with 16–32GB sometimes fall in the ~$400–$900 range — enough for most practical 7B–22B models with headroom.
- M2 Pro/Max with 32GB more often runs ~$1,000+ depending on the model, SSD, and condition.
- For 70B-class quantized models, 64GB+ of unified memory is the safer target; 48GB can work only with tighter quants and shorter context. Either way the price climbs steeply.
The big advantage: if you already own a recent Mac, your incremental cost to run local models is effectively zero. For deeper setup details on the Mac path, see our Apple Silicon LLMs guide.
3. CPU + existing RAM for MoE models (where active params are tiny)
Mixture-of-Experts (MoE) models are unusually CPU-friendly because only a small fraction of their parameters activate per token. A model like Qwen3-Coder-Next is ~80B total but only ~3B active per token — so the compute per token is small even though the model is large.
The honest catch, and it's a big one: all the parameters still have to fit in memory, even if only a few activate. So an 80B MoE still needs roughly 46GB+ of RAM at 4-bit. Post-spike, that much RAM is no longer cheap — which undercuts the old "just buy lots of cheap RAM" pitch. CPU-only inference is also slow: expect single-digit to low-double-digit tokens/second versus 30–60+ on a GPU. This path makes sense mainly if you already have a machine with a lot of RAM, or you're running small models and value zero GPU cost over speed.
4. Cloud GPU rental (cheapest if you run models occasionally)
If your usage is bursty — a few hours a week — renting almost always beats buying. Pricing splits by provider type:
- Marketplace providers (Vast.ai and similar): consumer-class 24GB GPUs can dip into roughly $0.17–$0.35/hour, since you're renting spare capacity from individual hosts.
- Managed/community providers (e.g. RunPod): public pricing tends to run higher — roughly $0.46/hour for an RTX 3090 and ~$0.69/hour for an RTX 4090 — in exchange for more reliability and easier setup.
The rent-vs-buy break-even is simple arithmetic. Take a used 3090 at ~$900: at a cheap ~$0.25/hour marketplace rate that's about 3,600 hours before owning pays off; at a ~$0.50/hour managed rate it's about 1,800 hours. If you run models a few hours a week, renting wins for years. If you run them several hours a day, owning pays for itself in months. Renting also dodges the price spike entirely, since you're not buying any memory.
5. Aggressive quantization (stretch whatever you already own)
Quantization is the multiplier that makes every path above cheaper. Running a model at 4-bit (Q4_K_M is the common default) roughly quarters its memory footprint versus 16-bit, and good 4-bit quants often retain most of the original quality — though the exact loss varies by model, benchmark, and quant method, so verify on your own workload. In practice, Q4 is what lets a 24GB card run a 30B-class model at all, and what lets a 16GB Mac run a 7B model comfortably. Always reach for a good Q4 before you reach for your wallet.
How much does each budget path cost?
Approximate, used/street prices as of mid-2026. Verify live before buying — the memory market moves week to week.
| Budget path | Approx. upfront cost | What you can run | Tradeoffs |
|---|---|---|---|
| Used Tesla P40 (24GB) | ~$240–$480 | Up to ~32B at Q4 | Slow (Pascal, no tensor cores); DIY cooling required |
| Used RTX 3090 (24GB) | ~$850–$1,200 | 27B–32B at Q4, tens of tok/s | Best daily-use value; needs a PSU/case that fits it |
| Used Mac M1/M2 (16–32GB) | ~$400–$1,000+ | 7B–22B (more RAM = bigger models) | Quiet, low-power, easy setup; less raw speed than a 3090 |
| CPU + existing RAM (MoE) | $0 if you own it | Small dense or MoE models | All params must fit in RAM; single-digit tok/s |
| Cloud GPU rental | ~$0.17–$0.70/hr | Anything, sized on demand | No upfront cost; pay forever; data leaves your machine |
Which models give the best value per dollar in 2026?
Cheap hardware only pays off if the models you run on it are good. The best value-per-dollar today comes from the small-to-mid open-weight models that punch above their size:
- Qwen3-class models in the ~27B–35B range are the sweet spot for a used 24GB GPU at Q4 — strong coding and reasoning, fast enough for interactive use.
- MoE variants (e.g. ~3B-active models) are the value pick for memory-rich, GPU-poor setups, since the low active-parameter count keeps compute cheap.
- 7B–8B models remain the right call for 16GB Macs and modest hardware — they run smoothly and handle most everyday coding and writing tasks.
For a curated list of the software side, see our roundup of the best free local LLM tools — Ollama and LM Studio both handle CPU-only and GPU inference and make Q4 GGUF models a one-command download.
What should a budget beginner actually buy in 2026?
An honest, opinionated verdict:
- If you already own a recent Mac or a 16GB+ PC: buy nothing. Install Ollama or LM Studio, pull a Q4 7B model, and see how far that gets you before spending a cent. For most people, it's further than they expect.
- If you want to spend as little as possible and don't mind tinkering: a used Tesla P40 plus a DIY cooling solution is the cheapest route to 24GB of VRAM — but only if slow, offline batch work is acceptable.
- If you want the best balance of price and a machine you'll enjoy: a used RTX 3090 is the standout. It's the cheapest card that runs 30B-class models at comfortable speeds, and it holds its resale value.
- If your usage is occasional: skip the hardware entirely and rent a cloud GPU by the hour. It sidesteps the price spike completely and you only pay when you're actually using it.
The one thing the price spike makes clearly uneconomical right now: building a fresh PC and loading it with brand-new high-capacity RAM specifically for local AI. Used hardware that ships with its memory already attached — GPU or Mac — is where the value is.
Frequently asked questions
What is the absolute cheapest way to run a local LLM?
If you already own a computer with 16GB of RAM or more, the cheapest way is free: install Ollama or LM Studio and download a Q4-quantized 7B model. To buy dedicated hardware, a used Tesla P40 (~$240–$480) is the lowest-cost route to 24GB of VRAM, with the tradeoff of slow speed and DIY cooling.
Did the 2026 RAM price spike make local LLMs more expensive?
It made the build-from-scratch with lots of new RAM path more expensive, because system memory prices rose sharply. It changed the math in favor of paths where the memory is already paid for: used GPUs (VRAM attached), used Macs (unified memory), and cloud rental. Exact price increases vary widely by source — treat reported figures as approximate.
Is it cheaper to rent a cloud GPU or buy one?
It depends on usage. A used RTX 3090 (~$900) breaks even against cloud rental at roughly 1,800–3,600 hours of use, depending on whether you rent a cheap marketplace GPU (~$0.25/hr) or a managed one (~$0.50/hr). If you run models only a few hours a week, renting is far cheaper. If you run them daily, buying pays off in months.
Can I run a large MoE model cheaply on CPU and RAM?
Partly. MoE models activate only a few parameters per token, so CPU compute is manageable — but every parameter must still fit in memory. An 80B MoE needs roughly 46GB+ of RAM at 4-bit, and post-spike that RAM is no longer cheap. It works best if you already own a high-RAM machine and accept single-digit tokens/second.
Does quantization hurt model quality?
Minimally, for well-made 4-bit quants. Q4_K_M-style quantization roughly quarters the memory footprint versus 16-bit while retaining most of the original quality on many tasks. The exact loss varies by model, benchmark, and quant method, so it's worth verifying on your own workload — but it remains the single biggest lever for fitting a capable model onto cheap hardware.
How much VRAM do I need for a usable local LLM?
For comfortable daily use, 24GB is the budget sweet spot — it runs 30B-class models at Q4. For smaller 7B–8B models, 8–16GB is enough, which is why a 16GB Mac or an older 12–16GB GPU can be a perfectly good entry point.
Running models locally is mostly a hardware-budget problem once you know the software, and in 2026 the cheapest viable path is usually used hardware that already ships with its memory attached. If your team is weighing self-hosted AI against managed options and wants a hand sizing the setup or the build, Codersera can help you find vetted developers who've shipped it before.