The Real Cost of Local LLM Deployment: A Breakdown by Tier, Quantization, and Hardware
This article breaks down the cost of deploying large language models locally across three capability tiers, from simply loading a model to serving 10 concurrent users at 25 tokens/s each. It explains the hardware thresholds for full-precision trillion-parameter models, why dynamic mixed-precision quantization matters more than raw bit width, how layered offloading works on a 128GB machine, and how to split the bill into hardware, storage, power, and labor. Readers will find practical acceptance-testing steps and decision guidance for hobbyist, single-user, and team production scenarios.
1. Define the Goal First: Three Tiers, Three Cost Profiles
“How much does local deployment cost?” is hard to answer because “getting it running” is not a precise technical target. A more practical engineering approach is to split the goal into three tiers:
- Loadable tier: the model can be read into memory and complete a single inference, with no concern for latency or throughput;
- Single-user usable tier: output speed stays stable at around 25 tokens/s during one-on-one interaction;
- Serving tier: with 10 concurrent streams, each stream still holds above 25 tokens/s, and quantization precision is no lower than a medium level.
The cost gap between tiers does not grow linearly; it jumps in steps. The first tier is bottlenecked by storage and memory capacity, the second by VRAM bandwidth, and the third by total VRAM and interconnect topology. Only when the tiers are clearly defined can procurement and hardware selection rest on a solid basis.
2. The Hardware Threshold for Full Precision: Why Individuals Can Barely Cope
A trillion-parameter-class model, even in a mixed-precision training format with 4-bit weights and 8-bit activations, still occupies hundreds of GB to around 1TB on disk. Using the capacity estimates common in the industry:
- Minimum loadable: 8 accelerator cards in the 80GB class, roughly 640GB of VRAM, with context length strictly limited;
- More complete capability: 8 accelerator cards in the 141GB class, roughly 1.1TB of VRAM, enough to support million-token context;
- Production cluster: 16 cards across two nodes, more than 1.28TB of VRAM, relying on high-speed interconnect, plus more than 2TB of high-speed SSD storage to hold weights, KV cache, and quantized copies.
The conclusion is straightforward: full-precision deployment is an institutional-level investment. An individual developer has to clear even the first hurdle of “how many TB of disk should I prepare.”
3. The Real Value of Quantization: Dynamic Precision Allocation, Not Just Fewer Bits
Community quantization schemes usually compress different layers to the same low bit width, whereas a more mature approach is dynamic mixed precision: keeping critical layers such as attention projections, token embeddings, and the output head at 8-bit, while compressing redundant intermediate layers to 1–2 bits.
The relationship between size and quality can be abstracted into the table below (values are order-of-magnitude illustrations):
| Quantization tier | Size | First-token accuracy | Perplexity |
|---|---|---|---|
| 1-bit lightweight | ~600GB | Low | Noticeably higher |
| 1-bit enhanced | ~650GB | Medium | Slightly lower |
| 2-bit ultra-small | ~710GB | Medium-high | Lower |
| 2-bit XL | ~860GB | High | Low |
| 4-bit XL | ~1.5TB | High | Very low |
| 8-bit XL | ~1.56TB | High | Lowest |
The key observation is this: at the same 1-bit width, perplexity can differ by tens of times depending on the quantization strategy. So selection should not look only at “how many bits,” but at the perplexity and task accuracy that a given tier achieves on public evaluation sets.
4. Memory and Offloading: Can a 128GB Machine Actually Run It
By the rule of thumb, the total memory needed to run the model is roughly 1.05–1.1 times the weight size, plus KV cache. For the 1-bit lightweight tier, total memory (system memory + VRAM/unified memory) of about 610GB is recommended.
If the machine has only 128GB of unified memory, the approach is layered offloading: keep part of the layers resident in memory and put the overflow on a high-speed SSD, with the runtime swapping them in and out on demand.
Layers 0..N1 -> unified memory (resident, hot path)Layers N1..N2 -> memory-mapped file (SSD, cold path)KV cache -> limit context length + paged management
Three implications:
- It runs: you can load the model, chat with it, and try out features;
- It is not fast: cold-path weights sit on disk, so generation speed drops significantly;
- It gets smoother: the experience improves markedly once total memory approaches the 600GB range.
5. Quantifying the Cost: Split the Bill into Four Parts
- One-time hardware: a full accelerator-card server > a large-memory workstation > a high-memory laptop plus external high-speed storage;
- Storage: multiple weight copies plus checkpoints, 2TB as a starting point, with 4TB recommended for planning;
- Power and cooling: a thousand-card scale is out of the question here; 3–6kW per machine is a common range, and long-term electricity bills cannot be ignored;
- Labor: quantization, inference-framework tuning, load testing, and operations, usually the most underestimated item.
If you would rather not buy your own hardware, general-purpose cloud compute is an option: on-demand instances for validation, container platforms for environment reproducibility, object storage for weights, and monitoring, alerting, and logging services to observe throughput and error rates, releasing resources after use to turn fixed costs into variable costs.
6. Concurrency and Throughput: The Real Constraint Behind 25 tps
A single stream at 25 tokens/s is mainly determined by VRAM bandwidth; keeping 25 tokens/s per stream under 10 concurrent streams requires total throughput above 250 tokens/s, at which point the constraint shifts to VRAM capacity and batch scheduling. KV cache grows linearly with context length, and long contexts quickly eat up the remaining headroom.
Recommended acceptance procedure:
# 1) Benchmark with fixed input and output lengths# 2) Ramp up concurrency step by step, recording per-stream tps and first-token latency# 3) Watch VRAM usage and page-swap counts to determine the safe watermark
Pass criteria: per-stream tps meets the target at the desired concurrency, first-token latency is acceptable, and there is no frequent swapping.
7. Decision Guidance
- Just want to try it out: a 128GB-class unified-memory machine plus large-capacity external high-speed SSD, choosing the 1-bit enhanced tier;
- Daily single-user use: raise total memory to 512–640GB first, then talk about speed;
- Team production: go with a multi-card cluster or elastic cloud compute, keep quantization no lower than 4-bit, and run a full load test.
Overall, the cost of deploying ultra-large-scale models locally is essentially paying for “capacity” and “bandwidth.” Define the tier first, then the quantization level, and finally tally the hardware and operations bills, and the budget will not spiral out of control.
