How Much Does It Cost to Deploy a Trillion-Parameter LLM On-Premises?
Deploying a 2.8-trillion-parameter mixture-of-experts model locally requires roughly 1.5 TB of memory, making it a data-center infrastructure project rather than a workstation deployment. This article breaks down the memory requirements, GPU architecture considerations, performance targets, concurrency requirements, and cloud-based cost estimates for running such a model.
Deploying a Trillion-Parameter LLM On-Premises: A Complete Analysis of Memory, Hardware, and Cost
1. The Bottom Line: This Is Not a Consumer-Hardware Project
As large language models continue to improve, many teams are considering local or private deployments of flagship models to gain better data control, more predictable availability, and long-term cost visibility. Before purchasing hardware, however, one basic question must be answered:
Can a single server actually fit the model?
Take a next-generation flagship mixture-of-experts (MoE) model as an example. Its total parameter count has reached approximately 2.8 trillion. The immediate consequence is that even if your only goal is to start the model and generate output, its memory requirements exceed those of any single workstation. A few high-end consumer GPUs will not be enough.
This article does not cover procurement channels for data-center hardware. Instead, it focuses on three practical dimensions: memory capacity, system architecture, and cost.
2. Why MoE Reduces Compute but Not Memory Requirements
A common misunderstanding about MoE models is that, because only a portion of the parameters is activated for each token, only the active parameters need to be stored in GPU memory.
That is not the case.
This type of model may contain approximately 2.8 trillion total parameters, while activating around 104 billion parameters during the forward pass for each token. Sparse activation significantly reduces the compute required for each inference step, which is the core advantage of the MoE architecture. However, because the routing mechanism may select any expert for the next token, all model weights must remain resident in memory. They cannot simply be loaded on demand or kept partially in memory.
In other words, MoE reduces computation, measured in FLOPs, but not storage requirements. Memory planning must be based on the model’s full 2.8-trillion-parameter size.
3. Quantifying the Memory Requirements
One important technical detail is that the model natively uses a 4-bit floating-point format for storing its weights. This is not the result of users forcibly compressing FP16 weights after training. It is the model’s intended precision, with the effects of quantization taken into account during training.
That makes deployment more straightforward: users do not need to separately debate whether post-training 4-bit quantization will cause unacceptable quality loss.
The raw weight storage can be estimated as follows:
- 2.8 trillion parameters × 4 bits ÷ 8 bits per byte ≈ 1.4 TB
However, weights are only part of the memory budget. Actual inference also requires space for:
- Activations: Intermediate results generated during the forward pass. Their size increases with concurrency and context length.
- KV cache: The historical key-value pairs used by the attention mechanism. This can consume substantial memory in long-context scenarios.
- Runtime overhead: Inference frameworks, communication buffers, CUDA contexts, and other system-level allocations.
Taken together, a single-user deployment requires approximately 1.5 TB of total GPU memory in practice. This figure is the foundation for the rest of the hardware planning process.
4. Hardware Requirements for Three Deployment Targets
Tier 1: Make It Run, Without Prioritizing Speed
Based purely on capacity, approximately 19 previous-generation data-center GPUs with 80 GB of memory each would be required. A higher-memory variant with 141 GB per GPU would require approximately 11 cards.
There is, however, an important issue that is easy to overlook: the match between the model’s weight format and the hardware’s native support.
The model uses a relatively new 4-bit floating-point format. Previous-generation GPUs do not provide native execution support for this format and may need to dequantize the weights to a higher precision at runtime before computation. The model may fit, but every inference step incurs additional format-conversion overhead. This reduces both inference speed and energy efficiency.
“Can run” and “runs effectively” are two different things.
A more realistic minimum configuration is a current-generation data-center GPU with native support for the model’s precision format, using an eight-GPU configuration as the standard deployment design. Official deployment references from mainstream inference frameworks also use an eight-GPU node for this model, providing a useful point of comparison.
In other words, even the minimum goal of simply starting the model already requires a server-level deployment. This is not a workstation project.
Tier 2: 25 Tokens per Second for a Single User
It may seem reasonable to reduce the hardware footprint when serving only one user. In practice, that does not solve the main problem.
As discussed above, the first bottleneck is the need to keep approximately 1.4 TB of model weights resident in memory. This requirement is largely independent of the number of users. An eight-GPU node cannot be reduced to two or three GPUs simply because there is only one user; with insufficient memory, the model cannot even be loaded.
Therefore, the starting point for a single-user deployment remains an eight-GPU, current-generation data-center system.
There is currently no authoritative public benchmark confirming that an eight-GPU system can consistently deliver 25 tokens per second for this specific model. It would be irresponsible to guarantee that performance without testing. Based on common experience with single-stream large-model inference, however, a throughput level in the tens of tokens per second is a reasonable expectation, and 25 tokens per second falls within a potentially achievable range.
Before production launch, the system must be benchmarked with the context lengths used in the target workload. Decoding speed can vary by several times between short- and long-context requests. Capacity planning based only on estimates is therefore risky.
Tier 3: Ten Concurrent Users at 25 Tokens per Second Each
Ten concurrent users require an aggregate generation rate of at least 250 tokens per second. At first glance, this appears to require a proportional increase in hardware. The actual situation is more nuanced.
The memory configuration may not need to be larger than that of Tier 2. Based on an eight-GPU node, a typical context length may allow approximately 40 concurrent requests to remain resident in the KV cache. If extremely long contexts—such as million-token contexts—are not required, the number of supported resident requests may be even higher.
As a result, ten concurrent users do not automatically require a second server.
The real risk is whether the scheduler can maintain 25 tokens per second for every request while ten requests are generating simultaneously. This is a throughput and scheduling problem affected by batching strategy, competition for compute resources, communication overhead, and other factors.
It cannot be inferred from memory capacity alone and must be validated through benchmarking.
If testing shows that a single node cannot meet the required service-level agreement (SLA), the deployment can then be expanded horizontally across multiple nodes, with a load balancer distributing requests between them.
5. Cost Analysis: Why Cloud Rental Is the Practical Reference
Because these GPUs are all data-center products, individuals and small organizations generally do not have a realistic path to purchasing them at retail prices. Cost estimates must therefore rely on public-cloud rental rates.
Using the published price of a current-generation data-center GPU instance from a cloud provider, with a 12-month reserved commitment, the estimated price is approximately $4.76 per GPU-hour.
For an eight-GPU node:
- Hourly cost: 4.76 × 8 ≈ $38 per hour
- Continuous operation for 30 days: approximately $27,000 per month
This includes only the GPU instance itself. A production deployment must also account for storage, network bandwidth, monitoring and alerting, redundancy, backups, and other infrastructure costs.
A practical decision framework is therefore:
- Testing and validation: Rent cloud instances by the hour to validate the deployment process and benchmark performance while keeping the initial investment under control.
- Long-term stable usage: Compare annual cloud pricing with the total cost of ownership (TCO) of self-built hardware, including facilities, electricity, and operations staff.
- Compliance and data-security requirements: If private deployment is mandatory, include the cost of the operations team in the calculation. In many cases, personnel costs can exceed hardware depreciation.
6. Recommendations for Teams Planning a Self-Hosted Inference Deployment
- Do the capacity math before discussing procurement: Weight memory equals parameter count × bit width ÷ 8. This is a fundamental capacity requirement. First verify that the model can fit on the target node.
- Confirm native support for the model’s weight format: Runtime dequantization can significantly reduce performance. Verify that the selected GPUs natively support the low-precision format used by the model.
- Benchmark with realistic workloads instead of relying on estimates: Context length, concurrency, and batching strategy can all have a major effect on per-request speed.
- Leave room for future expansion: Choose an inference framework that supports tensor parallelism, continuous batching, and distributed scheduling so that the architecture does not need to be redesigned when additional nodes are added.
Conclusion
Deploying a 2.8-trillion-parameter MoE model locally is fundamentally a systems-engineering project in which memory capacity comes first, compute comes second, and scheduling determines the final service quality.
An eight-GPU node built with current-generation data-center GPUs is a realistic starting point, with monthly costs in the tens of thousands of dollars. For most teams, the lowest-risk approach is to first validate the business value and workload requirements using cloud instances, then decide whether a capital-intensive private deployment is justified.
