A Practical Launch Evaluation Guide for Large-Scale MoE Models

    This guide explains how to evaluate a large-scale Mixture-of-Experts (MoE) model before production launch. It clarifies why activated parameters do not determine GPU memory requirements, outlines the four components of memory planning, and shows why a 1M context window should not be exposed as a default service tier. It also distinguishes max-model-len from max-num-seqs, defines the four questions a POC must answer beyond a startup screenshot, and recommends driving model selection and capacity planning with real task distributions.}

    1. First, a common misconception: activated parameters are not memory requirements

    The ultra-large-scale Mixture-of-Experts (MoE) architecture is one of the mainstream directions for today’s large models. Take an MoE model with roughly 744B total parameters and about 40B activated parameters. Many teams see “40B activated” and immediately conclude that memory requirements are modest. That is a typical misreading.

    Activated parameters describe the number of parameters that actually participate in computation during a single forward pass. They determine compute cost and memory access intensity. GPU memory usage, however, depends on the complete set of weights, because the routing mechanism activates different experts for different tokens, so all expert weights must either stay resident or be swappable in quickly.

    Memory planning must cover at least four areas:

    • Complete model weights (including all experts);
    • KV Cache (grows linearly with context length and concurrency);
    • Runtime overhead (framework context, communication buffers, temporary activation tensors);
    • Peak stacking from concurrent requests.

    A simplified illustrative calculation:

    1. Weight memory ≈ total parameters × bytes per parameter
    2. KV Cache ≈ 2 × num_layers × num_kv_heads × head_dim × sequence_length × concurrency × bytes per element
    3. Available headroom = per-GPU memory - weight shard - KV Cache - runtime reserve

    Following publicly discussed deployment approaches in the industry, a single node with 8 GPUs at the 141GB memory class can serve as an entry-level reference for FP8 precision. If full 1M context capability is required, a higher-memory platform at the 180GB per-GPU class usually needs to be evaluated first. Meanwhile, 4-bit quantization can significantly lower the hardware barrier for the POC stage. Note that these are only resource-tier judgments, not launch conclusions. Whether a deployment can actually go to production depends on real task distribution and production constraints.

    2. A 1M context is not a “default service window”

    Long context capability is often turned all the way up as a selling point, yet in practice it is the easiest thing to overload a service with. The reason is simple: the cost of long context falls mainly on the KV Cache. The longer the input, the longer the output, and the higher the concurrency, the greater the pressure on memory and bandwidth. A single request approaching 1M can hit memory and the scheduling queue about as hard as dozens of 128K requests.

    A more reliable approach is to first measure the request length distribution, then offer tiered service:

    Request length range Recommended strategy
    Within 32K Main shared service pool, combined with retrieval augmentation and cache reuse
    32K–128K Set quotas, queuing, and timeout limits
    Above 128K Dedicated long-context service group with isolated resources
    Approaching 1M Low-concurrency dedicated queue, enabled on demand

    The benefits of this tiering are clear: short requests are not blocked by long ones, and tail latency stays controllable; long requests have independent resource boundaries and will not trigger a global collapse; capacity planning shifts from guesswork to allocation based on the actual distribution.

    3. max-num-seqs is not the number of online users

    Misreading deployment parameters is common, and two frequently used parameters must be stated clearly:

    • max-model-len: the maximum context window the service allows, a length limit;
    • max-num-seqs: the number of active sequences in a single continuous batching schedule, a concurrency batch width.

    Neither equals the “number of online users” on the business side. Real business concurrency is also affected by request length, output length, queue policy, rate-limiting thresholds, and continuous batching efficiency.

    The tuning principles can be summarized as:

    1. When long requests make up a large share, max-num-seqs usually needs to be lowered to avoid the KV Cache exhausting memory;
    2. When short requests dominate and memory has headroom, gradually raise it while watching TTFT and P99 changes;
    3. Change only one variable at a time, keep a baseline, and validate with real traffic replay;
    4. Parameters must be bound to a task profile; tuning detached from the task is meaningless.

    4. A POC cannot be just a startup test

    Providing only a screenshot of the service starting up cannot support any production decision. A proper POC must answer at least four questions:

    1) Is the output quality stable
    Look at task completion rate, human rating distribution, failure type clustering, tool call success rate, and information recall and instruction-following degradation under long context.

    2) Does performance meet the target
    Look at time to first token (TTFT), time per output token (TPOT), P95/P99 tail latency, and end-to-end task duration, rather than averages alone.

    3) Where is the capacity boundary
    Stress-test the concurrency ceiling at different context lengths while observing memory watermarks, host memory, local cache disks, and network throughput, and find the inflection point rather than a single point.

    4) Can it recover from failures
    Cover service restarts, errors and over-length requests, node failures, version rollback, log tracing and request path localization, and confirm that failures are observable and recoverable.

    5. Implementation recommendations

    On the container platform and the monitoring and alerting system, turn the above metrics into a standing dashboard; use object storage and logging services to accumulate stress-test and production samples into a continuously regression-testable evaluation set. The essence of model selection and capacity planning is using real task distribution to drive resource allocation, rather than making marketing-style judgments based on parameter scale or context limits.