Architecture and Pricing Logic of Ultra-Large-Scale Sparse Models

    This article breaks down how a new ultra-large-scale sparse model family separates total parameters from activated parameters across two tiers, and how its tiered, cache-aware pricing reshapes application architecture. It covers the engineering implications of sparse capacity, a reusable prompt-prefix layout and cost-estimation code, mixed attention with interleaved compression for long contexts, using reserved control tokens instead of a small-model pipeline, the bandwidth-to-compute ratio for expert-parallel deployment, and practical guidance on routing, observability, and cost control.

    1. What the Release Actually Signals: Capability Tiering Plus Price Restructuring

    A new generation of ultra-large-scale sparse models launched as a preview with open weights. The discussion it triggered is not about a single capability jump, but about two things happening at once: the model is split into composable tiers along a capability-cost axis, and inference pricing is pushed low enough to change application architecture decisions.

    For developers, the real signal is that model selection is shifting from “pick the single strongest model” to “configure a set of models for one business flow.” Routing, caching, and fallback strategies are becoming standard capabilities on the application side rather than later optimizations.

    2. Two-Tier Design: Decoupling Total Parameters from Activated Parameters

    The family ships two tiers, differing mainly in capacity and activation scale:

    • Large-capacity tier: roughly 1.6T total parameters, roughly 49B activated parameters.
    • Lightweight tier: roughly 284B total parameters, roughly 13B activated parameters.

    Both use the same pre-training corpus scale (on the order of 32T tokens). The difference lies in “capacity” and “how many parameters actually participate in computation per token.” This is exactly where the sparse architecture pays off: total parameters set the knowledge ceiling, while activated parameters determine the compute and memory-access cost of a single token.

    Three engineering implications follow:

    1. Memory and throughput are decoupled. Resident weight requirements are driven by total parameters, while compute consumption tracks activated parameters, so batched throughput is often more cost-effective than a dense model with the same activation scale.
    2. The quality-latency curve is smoother. The lightweight tier is not a “one-size-smaller dense model” but a low-activation version under the same data distribution, so distillation and alignment consistency are usually better.
    3. Routing becomes a hard requirement. Since there is a clear cost gradient within the same family, the application layer needs a stable dispatch layer.

    In most interactive products, the most natural mapping is to expose the large-capacity tier as an “expert/deep mode” and the lightweight tier as a “fast/standard mode.”

    3. Pricing Structure: Focus on the Cache-Hit Rate and the Output Rate

    The published tiered pricing shows a clear gradient (in CNY per million tokens):

    • Lightweight tier: cache-hit input about 0.2, output about 2.
    • Large-capacity tier: input about 1, output about 24.

    Note that actual billing is governed by the service provider’s current published rates; this article only discusses how the pricing structure affects architecture:

    • The cache-hit price is far below the regular input price, which makes a “stable prefix” the highest-leverage optimization. System prompts, tool declarations, few-shot examples, and long documents should be placed as early as possible and kept byte-for-byte stable.
    • The output price is typically one to two orders of magnitude above the input price, so “generating less” usually saves more than “inputting less.” Structured output, field trimming, and avoiding restating context pay off directly.
    • The roughly order-of-magnitude gap between the two tiers makes a “lightweight first, escalate later” cascade economically sound.

    A reusable prefix layout:

    1. [Global system instructions] # highly stable, reused across requests
    2. [Tool/function declarations] # stable, versioned changes
    3. [Domain knowledge/long docs] # stable, chunked by knowledge base version
    4. [Conversation history] # semi-dynamic, rolling window
    5. [Current user input] # dynamic, placed at the very end

    With a generic caching abstraction, hit rate and cost become observable:

    1. def build_prompt(system, tools, doc, history, query):
    2. # Fixed order and stable content are prerequisites for a higher prefix cache hit rate
    3. return f"{system}\n{tools}\n{doc}\n{history}\n{query}"
    4. def estimate_cost(in_tok, out_tok, hit_ratio,
    5. p_in=1.0, p_hit=0.2, p_out=24.0):
    6. billable_in = in_tok * (1 - hit_ratio)
    7. return billable_in * p_in + in_tok * hit_ratio * p_hit + out_tok * p_out

    4. Mixed Attention and Interleaved Compression: A Cost Solution for Long Sequences

    The core tension in long context is that the KV cache grows linearly with sequence length while attention computation grows quadratically. This class of models uses a multi-layer mixed attention structure with two interleaved compression paths: one focused on compressed global summaries, the other on high-fidelity information within a local window. They are stacked alternately so different layers take on different responsibilities.

    More important is the low-precision handling at the indexing stage: in the Top-K compressed KV selection step, the Key computation used for scoring and indexing runs at lower precision (for example, on the order of FP4). Because this stage only affects “which blocks get selected” and does not participate in the final numerical accumulation, the error is absorbed by the subsequent high-precision path, substantially reducing memory access and compute on long sequences.

    One counterintuitive design worth noting: the sum of attention weights does not have to be strictly normalized. Conventional wisdom treats normalization as a guarantee of stability, but in a “sparse selection plus multi-path mixing” structure, the total weight itself can carry information (effectively a learnable temperature/gain), and experiments show it converges more easily and is more robust to distribution shift. Such approaches currently rely more on empirical validation than on complete theoretical proof, so in production you should evaluate against your own business test set rather than extrapolating conclusions directly.

    5. Pushing Decisions Upstream: Replacing a Small-Model Pipeline with Special Instructions

    In a conventional pipeline, decisions like “does this need web retrieval, intent classification, domain routing” are usually handled by a small upstream model, at the cost of an extra network hop, extra operations, and one more source of error.

    The idea here is to write control signals into the input: by appending a set of reserved markers (fast instructions) after the user request, the model can decide the next action as it reads, while reusing the same prefix cache and avoiding a second encoding pass. An offline analogy: ordering used to go through a host relaying to a server; now the menu itself is marked “rush/to go,” and the information arrives in one step.

    Example (markers are reserved control bits, concatenated by the server):

    1. User question: Compare the risk points in these two contract clauses
    2. Appended control: <[route:document-analysis]><[retrieval:off]><[format:bullet-list]>

    Weigh benefits and risks together: the benefits are a shorter chain, lower latency, and higher cache reuse; the risk is that control bits couple tightly with business logic, requiring versioned management and regression testing to avoid accidental triggering in the style of prompt injection.

    6. Overlapping Communication and Computation: Turning Bandwidth into a Compute Budget

    Under expert-parallel deployment, All-to-All communication easily becomes the bottleneck. This line of work gives concrete hardware design constraints, including a conversion relationship that is convenient for capacity planning:

    1. C/B <= 2d = 6144 FLOPs/Byte

    The meaning: every 1 GB/s of interconnect bandwidth roughly supports 6.1 TFLOP/s of compute being “hidden” under communication; beyond that threshold, the marginal benefit of adding more bandwidth diminishes. The direct guidance for capacity planning is to first work out the compute demand for the target throughput, then back out the required interconnect bandwidth, avoiding over-investing in bandwidth while compute sits idle.

    At the scheduling level, to achieve tight overlap of communication and computation on the expert model, the engineering implementation introduces formal verification tools (such as SMT/theorem-prover-style solvers) to check the correctness of complex array indices and pipeline dependencies. Using rigorous tools on “seemingly simple but error-prone” indexing and synchronization problems turns concurrency correctness from “hoping stress tests catch it” into something provable.

    7. Selection and Implementation Recommendations

    1. Default to the lightweight tier with a quality gate. Define a pass rate on your business test set, and escalate to the large-capacity tier only when it fails, forming a cascade.
    2. Prioritize prefix stability. Put variable content last, version your templates, and bring the hit rate into monitoring metrics.
    3. Subtract from the output. Constrain format and length and cut unnecessary restatement; this is the most direct cost reduction.
    4. Validate compression gains for long-document scenarios. Low-precision indexing pays off clearly on very long context, but you should verify recall on extractive question answering with your own data.
    5. Back out capacity from the formula. Use the C/B relationship to estimate interconnect bandwidth needs and avoid a bandwidth-compute mismatch.
    6. Make the whole chain observable. Build a dashboard for token usage, cache hits, routing ratio, and escalation rate; only then can cost be governed.

    8. Conclusion

    The significance of this kind of preview and open-weight release is not a leaderboard score, but that it packages “capability tiering + cache friendliness + upstream decision pushdown + hardware co-design” into a replicable engineering paradigm. For adopters, the three most practical actions are: keep the prefix stable, compress the output, and route by difficulty. Running on general-purpose infrastructure with container platforms, object storage, logging, and monitoring and alerting capabilities, such as Baidu AI Cloud, you can also bring cache hit rate, routing ratio, and cost per request into unified observability, turning model selection from a subjective experience into a continuously optimizable engineering metric.