Deploying a Trillion-Parameter LLM Locally: GPU Memory Budget and Cost Estimate

    This article examines whether a trillion-parameter mixture-of-experts (MoE) model can run locally, starting from its GPU memory requirements. It estimates memory from the model's native 4-bit weights and runtime overhead, compares three deployment scenarios from single-user use to 10 concurrent requests, and estimates cloud costs. It closes with practical checks to run before choosing between self-hosting and a cloud API.

    1. The Short Answer: This Is Not a Consumer-Hardware Problem

    Many developers, on seeing an open-weight model release, first ask whether a few high-end consumer GPUs can run it. For a trillion-parameter MoE model, the answer is clear: no. Even the modest goal of “just getting it to run” pushes the hardware requirements to server-rack scale.

    This article only covers technical feasibility. It does not cover how to procure data-center-class GPUs.

    The model’s key specifications are:

    • Total parameters: about 2.8 trillion, using an MoE architecture;
    • About 104 billion parameters activated per token, which is why its inference efficiency is relatively good;
    • All weights must reside fully in GPU memory. MoE sparse activation reduces compute, but it does not reduce memory.

    2. How the Memory Requirement Is Calculated

    1. Weight footprint

    The model natively uses the MXFP4 format. Its 4-bit weights are the official design precision, not a compromise made by quantizing FP16 weights down to 4 bits. Precision loss is therefore manageable, and memory can be estimated directly at 4 bits per weight.

    1. Weight memory ≈ total parameters × 4 bits ÷ 8
    2. ≈ 2.8 trillion × 0.5 byte
    3. ≈ 1.4 TB

    2. Runtime overhead

    Weights are only the base. Inference also adds:

    • Activations: these scale with batch size and sequence length;
    • Runtime overhead: the inference framework itself, CUDA or ROCm contexts, and communication buffers;
    • KV cache and state space: in long-context scenarios, these grow linearly with concurrency and are often the largest variable that exhausts memory.

    Overall, a single-user setup needs about 1.5 TB of GPU memory to run stably. All the configuration estimates below build on this figure.

    3. Three Deployment Scenarios

    Scenario 1: Runs at any speed

    Theoretical capacity: about 19 previous-generation flagship GPUs with 80 GB-class memory, or 11 previous-generation GPUs with 141 GB-class HBM. These two GPU generations do not natively support MXFP4 computation, so the inference framework must dequantize weights at runtime. In other words, fitting in memory and running well are different things. Dequantization consumes extra compute and bandwidth.

    A more realistic minimum: 8 current-generation data-center GPUs, such as flagship cards with 288 GB-class memory. The official blogs of mainstream open-source inference frameworks also describe 8-GPU parallel deployments for this model.

    Conclusion: Even the minimum requires a single 8-GPU server. This is far beyond a typical workstation.

    Scenario 2: 25 tokens/s for a single user

    The hardware starting point is still 8 current-generation data-center GPUs.

    The reason is simple. The first constraint is not compute. The 1.4 TB of weights must fit in memory before anything else. You cannot scale down to two or three cards just because only one person uses the system, because memory capacity is a hard limit.

    Can 8 GPUs stably reach 25 tokens/s? There is no public benchmark data for this, so no guarantee can be made. Based on industry experience, single-stream LLM inference typically runs at tens of tokens per second, so 25 tokens/s is a reasonable target. Run stress tests with your actual context lengths before going live. KV cache growth directly reduces available memory and bandwidth.

    Scenario 3: 10 concurrent requests at 25 tokens/s each

    This means the system must sustain 250 tokens/s of aggregate throughput.

    Memory does not necessarily need to increase over Scenario 2. By estimate, one 8-GPU node can theoretically handle about 40 concurrent requests. If context lengths stay below the million-token range, the number of requests that can stay resident in memory is even higher.

    Ten concurrent requests will not force a second server. The real challenge is scheduling and throughput: can each of the 10 requests keep 25 tokens/s while all are generating at once? This is a throughput and scheduling metric. It depends on the inference framework’s continuous batching efficiency, memory bandwidth, and KV cache management strategy. It must be measured, not inferred from memory capacity.

    4. Cost Estimate: Cloud Is the Only Realistic Option

    These GPUs are data-center products, so individuals and small to mid-sized businesses can generally access them only through cloud platforms. Using the public pricing of a major overseas cloud provider’s GPU instances as a reference:

    • Current-generation flagship GPU, 12-month reserved price: about USD 4.76 per GPU per hour;
    • An 8-GPU machine: about USD 38 per hour.

    The monthly cost works out as follows:

    1. 38 USD/hour × 24 h × 30 days ≈ 27,360 USD/month

    Even at the 12-month reserved price, which already includes a discount, the annual cost is about USD 330,000. On-demand billing would be higher. For most use cases, calling a cloud API is far more economical than self-hosting, unless you have strict data compliance requirements or very large call volumes.

    5. Practical Recommendations

    1. Calculate memory first, then performance. The weight footprint is a hard threshold. If the weights do not fit, nothing else matters.
    2. Confirm that your hardware natively supports the quantization format. Runtime dequantization significantly reduces efficiency.
    3. Treat long context and concurrency as hidden memory consumers. Size capacity for peak load.
    4. Compare self-hosting with cloud APIs. Put the annual cost of reserved instances and API call fees in the same table before deciding.
    5. Benchmark before launch. Verify tokens/s, time to first token, and throughput degradation under concurrency using real production traffic.

    Summary: Deploying a trillion-parameter model locally depends less on technical skill than on whether the economics add up. The key numbers are 1.5 TB of GPU memory, an 8-GPU minimum, and cloud costs of tens of thousands of dollars per month. Work through these three numbers before deciding whether to self-host or call an API.