Deploying Trillion-Parameter MoE Models Locally: Hardware Requirements and Costs

    A 2.8-trillion-parameter mixture-of-experts model can activate only a fraction of its parameters per token while still requiring roughly 1.4 TB of weight storage. This article examines GPU memory requirements, hardware configurations for different performance targets, and cloud operating costs, with practical guidance on benchmarking, concurrency, and deployment planning.

    As large language models grow, mixture-of-experts (MoE) architectures have become an important way to limit computation without limiting total parameter count. However, deploying these models locally or in a private cloud still presents substantial hardware and engineering challenges.

    Consider a representative MoE model with 2.8 trillion total parameters and approximately 104 billion parameters activated per token. Its active parameter count helps explain its computational requirements, but its total parameter count determines the weight-storage burden.

    This article examines the hardware needed to deploy such a model, the performance targets that shape configuration choices, and the costs of running it.

    1. The Core Challenge: From Parameter Count to GPU Memory

    In a fully GPU-resident MoE deployment, only some experts participate in each inference step, but all expert weights must remain available in GPU memory for routing. GPU memory capacity, rather than compute alone, therefore becomes the first major deployment constraint.

    Weight Precision and Memory Calculation

    The example model uses native MXFP4, a 4-bit floating-point format. Its weights are designed for this format rather than obtained by forcibly compressing an FP16 model. This distinction matters when assessing precision preservation and the need for runtime format conversion.

    The baseline weight-storage calculation is:

    • Total parameters: 2.8 trillion
    • Weight precision: 4 bits
    • Bytes per parameter: 4 ÷ 8 = 0.5 bytes
    • Weight storage: 2.8 trillion × 0.5 bytes ≈ 1.4 TB

    This is a baseline estimate for the weights alone, not the complete memory footprint of a running inference instance.

    Runtime Overhead and Total Memory Requirements

    Inference also requires memory for activations, the key-value cache (KV cache) or state-space storage, and framework overhead.

    Allowing for a single user’s context and basic runtime requirements, approximately 1.5 TB of aggregate GPU memory is a practical planning baseline for one instance. Actual requirements depend on the workload and runtime configuration.

    A consumer GPU with 24 GB of memory cannot come close to holding these weights. Deployment requires a multi-GPU server or a cluster-level configuration.

    2. Hardware Configurations for Different Performance Targets

    With an approximately 1.5 TB memory baseline, hardware planning can be divided into three levels: basic operation, responsive single-user inference, and concurrent serving.

    Level 1: Getting the Model to Run

    If inference speed is not a strict requirement, a capacity-only calculation suggests roughly:

    • 19 GPUs with 80 GB of memory each, or
    • 11 GPUs with 141 GB of memory each

    These counts describe aggregate capacity, not a validated deployment configuration.

    There is also an important compatibility issue: the older-generation GPUs considered in these configurations do not natively support MXFP4 computation. The inference framework must therefore perform runtime dequantization or format conversion, adding computation and potentially causing substantial performance losses.

    Fitting the model into memory does not mean it will run efficiently.

    For the deployment approach discussed here, a more practical starting point is an eight-GPU node using newer-generation data-center hardware with sufficient memory and native format support. The model-specific deployment approach described in the source material is also based on an eight-GPU node.

    Even a minimal deployment is therefore a server-level project, not an ordinary workstation setup.

    Level 2: A Responsive Single-User Experience at 25 Tokens per Second

    For a single user targeting approximately 25 tokens per second, the starting point remains an eight-GPU node using the latest-generation hardware considered here.

    The reason is straightforward: the roughly 1.4 TB of weights must fit before performance can be evaluated. Serving fewer users does not eliminate this storage requirement, so the GPU count cannot simply be reduced to two or three cards.

    Can an eight-GPU node consistently deliver 25 tokens per second? Single-stream decoding is often constrained by GPU memory bandwidth, making generation rates in the tens of tokens per second a reasonable expectation rather than a guarantee.

    Before deployment, benchmark the system using realistic context lengths. Longer contexts increase cache requirements and memory traffic, which can reduce generation speed. A short-context demonstration is not enough to establish production performance.

    Level 3: Multiple Users and the Throughput Challenge

    For 10 concurrent users, each requiring 25 tokens per second, the system must sustain:

    10 × 25 = 250 tokens per second of aggregate output throughput.

    GPU memory requirements do not necessarily grow in direct proportion to the user count. Efficient batching allows requests to share the same resident model weights.

    The example deployment assumes that an eight-GPU node can accommodate approximately 40 concurrent requests when context lengths are moderate. This should be treated as a workload-dependent capacity estimate, not a guarantee that every request will achieve a particular generation rate.

    Ten concurrent requests therefore do not automatically require a second server.

    The more difficult question is scheduling: when all 10 requests are generating simultaneously, can the system avoid long-tail latency and maintain 25 tokens per second for each user?

    That depends heavily on the inference framework’s continuous batching, memory management, and scheduling behavior. Adding GPU memory alone does not resolve these throughput and latency challenges.

    3. Deployment Costs and Cloud-Based Validation

    The required hardware is data-center class. Availability, procurement channels, and export restrictions can also complicate access to newer high-memory GPUs, depending on the location and supplier.

    Purchasing a server outright can tie up substantial capital before its suitability for the workload has been established. Cloud GPU instances are therefore a practical option for initial validation and, in some cases, ongoing deployment.

    Using the pricing assumptions in this example, high-end data-center GPUs cost approximately $4–$5 per GPU-hour. An eight-GPU node is estimated at about $38 per hour, placing continuous monthly operation in the tens of thousands of dollars.

    These figures are planning estimates, not a current price quote. Provider availability and actual pricing must be checked before committing to a deployment.

    Cost Optimization Options

    1. Reserved capacity and spot instances

      For stable, long-running workloads, reserved or committed-use capacity can reduce hourly costs. For offline inference that does not require uninterrupted real-time service, spot instances may offer lower-cost compute.

    2. Elastic infrastructure

      Cloud-native container platforms and serverless orchestration can scale GPU nodes according to request-queue depth. The objective is to reduce idle spending during low-demand periods.

    3. Inference framework optimization

      Provider-supplied acceleration images or optimized open-source inference frameworks can improve hardware utilization. Techniques such as PagedAttention can reduce KV-cache fragmentation and increase the number of requests served on the same hardware, lowering the cost per request.

    These measures address different parts of the cost problem: capacity pricing, idle time, and serving efficiency. They should be evaluated together rather than treated as interchangeable solutions.

    4. Deployment Recommendations

    Deploying a trillion-parameter MoE model is a systems-engineering task. For the 2.8-trillion-parameter example, the weights alone require approximately 1.4 TB of storage, with around 1.5 TB of aggregate GPU memory serving as the baseline for the fully GPU-resident deployment discussed here.

    An eight-GPU node using suitable newer-generation hardware is the practical starting configuration in this scenario. GPU count alone is not enough: each node must provide adequate memory capacity, and the hardware and inference runtime must support the model’s native precision efficiently.

    Deployment planning should focus on three questions:

    • Can the complete model and runtime state fit in memory?
    • Does the hardware efficiently support MXFP4?
    • Can the serving stack meet per-user latency and aggregate throughput targets under realistic load?

    For enterprises, buying hardware or signing a long-term cloud commitment before testing is risky. Start with on-demand cloud capacity and benchmark the actual workload, including representative context lengths, concurrency, and generation requirements.

    Once the relationship between throughput and latency is clear, choose an appropriate mix of committed capacity and flexible instances. Careful memory management, efficient scheduling, and elastic scaling are essential to making ultra-large MoE models operationally useful without losing control of costs.