Hardware Requirements for Running a Full 671B Large Language Model Locally
This guide breaks down the hardware needed to self-host a full-precision 671B parameter large language model. It explains how to define "full" model loading, how to estimate memory and VRAM capacity, and compares three deployment routes: GPU-only, CPU-only, and hybrid CPU-GPU inference. It also covers the extra resources required for LoRA and full-parameter fine-tuning, plus cloud alternatives for teams that cannot support the hardware on-premises.
1. Defining What “Full” Actually Means
Before discussing hardware, it helps to settle on a shared definition of a “full” model deployment. In practice, this means loading all 671 billion parameters at 8-bit precision (8-bit weight storage), with no structural pruning and no permanently dropped expert paths.
This definition rules out two common misunderstandings. The first is treating a distilled, smaller-parameter version as an equivalent-capability model. The second is assuming that activating only a subset of parameters is the same as loading the complete model.
For very large models built on a sparse Mixture-of-Experts (MoE) architecture, two numbers must be calculated separately:
- Total parameter count determines the memory and VRAM footprint.
- The number of parameters actually activated in a single forward pass determines compute consumption.
2. How to Estimate Memory and VRAM Capacity
Capacity estimation is the starting point for every hardware decision. A conservative, general-purpose formula is:
M = (P × 4) / (32 / Q) × 1.2
Where M is the required memory capacity in GiB, P is the parameter count in units of 1B, Q is the precision bit width, and the 1.2 factor covers model replicas, context caching, and runtime overhead.
Plugging in P = 671 and Q = 8 yields roughly 805 GiB. At 4-bit quantization, the requirement drops to about 403 GiB.
Keep in mind that this formula gives the lower bound for simply fitting the model, not the recommended value for running it comfortably. In long-context scenarios, the key-value cache grows linearly with sequence length, and concurrent requests amplify that overhead further. Production environments should reserve headroom above this baseline.
3. GPU-Only Inference: Server Configurations
If all weights stay resident in VRAM, divide the total capacity by per-card VRAM, round up, and then group the cards into whole servers.
Using 80GB-class cards as a reference:
- 8-bit precision requires roughly two 8-card servers.
- 48GB-class cards require about three servers.
- 24GB-class consumer cards require five or more servers.
At 4-bit precision, the requirement is roughly halved. A single 6-card server with 80GB-class cards is enough.
The cost of multi-node deployment is more than just the card count. Cross-node tensor parallelism adds communication hops and becomes sensitive to network bandwidth and latency. Prioritizing single-node multi-card setups, with as much inter-card interconnect bandwidth as possible, is the safer engineering tradeoff.
4. CPU-Only Inference: Is It Viable?
Another route is to use a general-purpose server with large memory capacity to hold all the weights. At 8-bit precision, this requires at least a dual-socket server platform paired with around 1TB of memory. At 4-bit precision, the memory configuration can be reduced accordingly.
The advantage is a lower procurement barrier: memory expansion costs far less than VRAM. The drawbacks are equally clear. Memory bandwidth and parallel compute become hard bottlenecks. A model of this scale leaves no compute headroom, so output speed is generally only suitable for offline batch processing or low-frequency question answering. Attempting training or fine-tuning on top of this setup produces throughput too low to be practical.
5. Hybrid CPU-GPU Inference: A New Approach
The sparse expert architecture opens up new room for cost reduction. Place the small set of expert weights that every generation round is guaranteed to need into VRAM, keep the remaining experts resident in memory, and let the CPU handle scheduling and preprocessing while the GPU focuses on high-throughput matrix operations.
This hybrid approach can run inference with a single professional GPU plus large-capacity memory, pushing the hardware barrier down to a fraction of the previous options.
The tradeoff is that time-to-first-token and throughput will fluctuate as experts are swapped in and out. It is therefore better suited to internal knowledge bases, code assistance, and similar scenarios with low concurrency and higher latency tolerance. If stable service quality is required, the full-VRAM-resident route is still necessary.
6. Fine-Tuning and Training Multiply the Requirements
Enough resources for inference does not mean enough for training.
With parameter-efficient fine-tuning such as Low-Rank Adaptation (LoRA), VRAM requirements are roughly on the same order as inference, because the backbone weights stay frozen and only a small number of side matrices are updated.
Full-parameter fine-tuning typically needs 6 to 10 times the inference VRAM, on top of optimizer states, gradients, and activation caches.
Training from scratch is even more constrained by inter-card communication bandwidth. Consumer-grade or inference-oriented cards show clear efficiency decay when scaling across multiple nodes, requiring higher-bandwidth accelerators and high-speed interconnect networks.
7. Practical Recommendations and Cloud Alternatives
Overall, hardware selection should be tiered by need:
- Inference only, with a sensitive budget: prioritize the hybrid inference architecture.
- Stable concurrency and low latency: choose a single-node multi-card, full-VRAM setup.
- Fine-tuning required: budget separately for the LoRA and full-parameter tiers.
If a local data center cannot support the power, cooling, and operations load, on-demand cloud general-purpose compute instances are an option. Pairing them with object storage, container platforms, and monitoring and alerting capabilities handles environment orchestration and runtime observability while avoiding a large one-time capital investment.
Whichever path you take, it is worth bringing up the inference pipeline with a small quantized version first, then working toward the full configuration step by step. This verifies whether the capacity estimates and performance expectations actually match.
