MoE LLM Deployment Hardware Selection: Why Memory Bandwidth Matters More Than Compute

    Local deployment hardware selection for large language models is shifting from raw compute performance toward GPU memory capacity and bandwidth. This is especially important for trillion-parameter Mixture-of-Experts models. This article explains how to estimate weight and KV cache memory, clarifies the roles of bandwidth and compute during inference, compares suitable GPU tiers, and provides a practical pre-purchase validation checklist.

    1. Estimate GPU Memory Before Choosing Hardware

    Weight memory

    An MoE model activates only a subset of its experts during inference. However, the active experts are not known in advance, so standard deployments usually keep the weights of all experts in GPU memory. The weights can be distributed across multiple GPUs.

    A rough estimate is:

    Weight memory ≈ Total parameter count × Bytes per parameter

    For a 671B-parameter model, FP8 requires approximately 671 GB, while INT4 requires approximately 336 GB. These figures represent lower-bound estimates. Quantization scales, embedding layers, framework runtime overhead, and memory fragmentation require additional capacity, so the actual requirement is normally higher.

    If CPU or NVMe offloading and expert sharding are not used, all weights must remain resident in GPU memory. Offloading can reduce GPU memory requirements, but every access to offloaded weights must pass through PCIe or a storage path, which can significantly reduce latency and throughput.

    KV cache memory

    The KV cache stores key and value vectors for generated tokens. Its size is directly related to the number of concurrent requests and the context length. For a model using grouped-query attention (GQA), a rough estimate is:

    KV cache ≈ 2 × Number of layers × Number of KV heads × Head dimension × Sequence length × Batch size × Bytes per element

    The factor of 2 represents the separate key and value caches. In general, KV cache usage grows linearly with batch size and sequence length. Models using compressed attention structures such as multi-head latent attention (MLA) have different cache layouts, so their actual model configuration should be used instead.

    Assume a model has 60 layers, 8 KV heads, a head dimension of 128, and stores the cache in FP16. With a sequence length of 32K and a batch size of 8, the KV cache requires approximately 64 GB in decimal units. This does not include model weights. In long-context, high-concurrency workloads, the KV cache can therefore exhaust GPU memory faster than the weights.

    Paged memory management, such as vLLM’s PagedAttention, can reduce memory fragmentation but does not reduce the total amount of cache required.

    2. What Memory Bandwidth and Compute Each Handle

    LLM inference consists of two main stages.

    Prefill processes the entire input prompt at once and relies primarily on large matrix multiplications. It is therefore more sensitive to compute capacity.

    Decode generates tokens one at a time. For each generated token, the system must read model weights from GPU memory, making decode performance more dependent on memory bandwidth.

    A rough upper-bound estimate for decode speed is:

    Theoretical limit for a single request (tokens/s) ≈ Memory bandwidth ÷ Bytes that must be read per token

    This estimate ignores multi-GPU communication, KV cache reads, and scheduling overhead, so it should be treated only as an upper-bound reference. It nevertheless illustrates an important point: in decode-heavy workloads, increasing memory bandwidth is often more effective than simply adding compute.

    The importance of prefill depends on the workload. Long-input RAG and document-analysis tasks spend more time in prefill, increasing the value of compute performance. Conversational workloads with short inputs and long outputs depend more heavily on memory bandwidth and capacity.

    3. Suitable Workloads for Three GPU Tiers

    The specifications below are approximate and based on publicly available vendor information. Always verify the official specifications before purchasing.

    Tier Example model Memory capacity Approx. memory bandwidth Suitable workloads Main risks
    Data center GPU NVIDIA H200 141 GB HBM3e 4.8 TB/s High-concurrency production services and long-context inference Long procurement cycles and high cost
    High-memory professional workstation GPU RTX PRO 6000 Blackwell 96 GB GDDR7 1.8 TB/s Moderate concurrency, private local deployments, and development environments requiring substantial memory Multi-GPU communication usually relies on PCIe and may become a bottleneck
    Flagship consumer GPU RTX 4090 24 GB GDDR6X 1.0 TB/s Single-user interaction, smaller models, or quantized models Limited memory makes long contexts and high concurrency difficult

    Data center GPUs offer advantages in memory capacity, bandwidth, and interconnect capabilities. They are suitable for production environments with stable high-concurrency demand, but procurement and operating costs are significantly higher.

    Professional workstation GPUs provide more memory than typical consumer cards and can reserve more capacity for the KV cache. They are suitable for moderate-scale deployments with substantial memory requirements. Their bandwidth is lower than that of data center GPUs, and multi-GPU systems commonly depend on PCIe, so communication overhead must be measured.

    Consumer GPUs offer strong compute performance at a lower price, but their memory capacity is limited. When a model fits entirely in GPU memory, they can work well for single-user scenarios. As context length or concurrency increases, memory capacity quickly becomes the limiting factor.

    4. Choosing for Concurrent or Single-User Workloads

    High-concurrency workloads

    For high-concurrency services, the key metric is stable throughput. Two factors deserve particular attention:

    • Whether sufficient headroom remains for the KV cache
    • Whether throughput declines during extended load testing

    When GPU memory becomes constrained, the scheduler may reduce batch size or trigger preemption, causing throughput to fall. Hardware should therefore be evaluated with a workload model that reflects the intended service, rather than relying on a single vendor number or an isolated third-party benchmark.

    Single-user workloads

    Single-user scenarios generally require less KV cache. When the entire model fits in GPU memory, a card with higher compute performance may deliver better time to first token (TTFT).

    As the context grows, memory bandwidth and capacity become increasingly important. Test short- and long-context workloads separately, measuring both TTFT and generation speed to understand how performance changes with context length.

    5. Supporting System Configuration

    Multi-GPU interconnects

    When a model does not fit on one GPU, tensor parallelism or another multi-GPU strategy may be required. Inter-GPU communication speed directly affects inference performance.

    If the platform supports NVLink, it should be evaluated first. If communication is limited to PCIe, testing must determine how much time is spent on communication and which parallelism strategy is most appropriate.

    System memory and storage

    There is no universal multiplier for determining system RAM capacity. The requirement depends on the model-loading method, whether CPU offloading is used, and how much memory the operating system needs for page caching.

    When CPU offloading is enabled, system memory must accommodate the offloaded weights and related caches. For storage, an NVMe SSD can reduce model-loading time and shorten service cold-start delays.

    6. Hybrid Deployment and Cloud Coordination

    Workloads with highly variable demand can leave a purely local deployment underutilized during off-peak periods while lacking capacity during traffic spikes.

    A hybrid model can be considered: keep frequent or sensitive workloads on local infrastructure and use cloud resources to absorb temporary increases in traffic.

    A cloud container platform can support centralized scheduling, while object storage can be used to distribute model weights and manage versions. These are general architectural examples, not recommendations for any specific product. The actual design should account for data-compliance requirements, network bandwidth, and total cost.

    7. Pre-Purchase POC Checklist

    Before placing an order, validate the following with a representative workload:

    1. Confirm the model version, quantization method, inference framework, and framework version.
    2. Measure the distribution of input and output lengths, including P50 and P95 values rather than only averages.
    3. Define target concurrency, TTFT, time per output token (TPOT), and other service-level objectives.
    4. Run load tests using the intended batching strategy and context lengths, and record warm-up time and measurement methodology.
    5. Perform sustained testing for at least several hours while monitoring memory usage, throughput variation, and error rates.
    6. Test recovery time after a single-GPU failure or process failure.
    7. Calculate total cost, including hardware, electricity, cooling, data center space, and operational labor.

    The test report should document the GPU model, driver version, framework version, quantization configuration, batch size, sequence length, concurrency, and statistical methodology. Performance figures without these conditions are difficult to compare across environments.

    Conclusion

    For local deployment of trillion-parameter MoE models, GPU memory capacity and bandwidth are often more important than raw compute performance. Start by estimating the memory required for weights and the KV cache. Then select a GPU tier based on concurrency and context length, and make the final decision using POC results from representative workloads.

    This process produces a hardware platform with a better chance of meeting performance, stability, and cost objectives at the same time.