Extremely Sparse MoE and Hybrid Attention: Inside Low-Cost LLM Architectures

    This article analyzes the architecture behind a new “Flash”-positioned large language model that combines an extremely sparse MoE design, hybrid linear/sparse attention, multi-stream residual connections, and native multimodal pretraining. It explains how these choices reduce parameter, attention, and KV cache costs while preserving capability, and why architecture efficiency is becoming a decisive factor for coding and agent applications. Readers will gain a technical framework for evaluating low-cost, high-performance LLM designs beyond benchmark scores alone.

    1. Background: Lightweight Flagship Models Become a New Focus

    Recently, a Chinese LLM vendor released a new-generation model positioned as a “Flash” offering, drawing widespread discussion in developer communities. Public information suggests that the model is not a simple iteration of its predecessor but a fully retrained architecture: a MoE structure with about 320B total parameters and only about 18B activated per token. While its API price dropped to roughly one-tenth of the previous flagship, its comprehensive benchmarks surpassed the previous generation and approached the level of current top closed-source models on coding and agent tasks.

    This deserves closer analysis: it signals that the main battleground for large models is shifting from “more parameters and more compute” to “architecture efficiency.” This article sets aside product-specific details and examines the architectural design logic behind this class of low-cost, high-performance models from a general technical perspective.

    2. Extremely Sparse MoE: Decoupling Active and Total Parameters

    The model’s core parameter configuration is about 320B total parameters, about 18B activated per token, and an activation rate of only about 5.6%. Structurally, it contains 288 routed experts, selects 8 of them per token, and keeps the first three layers dense.

    This design reflects several important engineering trade-offs:

    1. Benefits of extreme sparsity: The essence of MoE is to trade a larger parameter count for greater knowledge capacity while controlling computation through sparse activation. When the activation rate is pushed below 6%, the actual floating-point workload during inference is comparable to that of a dense model in the teens of billions of parameters. This directly determines the lower bound of inference cost.

    2. Intent behind dense shallow layers: Keeping the first three layers dense is usually because the bottom layers perform general feature extraction, where input representations have not yet fully differentiated. Routing too early can cause uneven expert load and training instability. This is an experience repeatedly validated in current MoE practice.

    3. Trade-off in expert count: Compared with earlier designs that used a small number of large experts, 288 fine-grained experts allow the expressive space of routing combinations to grow combinatorially. However, they also place higher demands on routing balance strategies, memory scheduling, and parallel communication.

    It is worth noting that, according to official statements, this model with only 18B active parameters has base capabilities close to those of an earlier model in the same family with about 40B active parameters. This suggests that improvements in sparse efficiency come not only from scale but also from co-optimization of training methods and architecture.

    3. Hybrid Attention: The Key to Lower Long-Context Cost

    If MoE determines parameter cost, the attention structure determines compute and memory cost in long-context scenarios. Across its 45-layer network, the model adopts a highly representative hybrid scheme:

    • About 34 linear attention layers and 11 sparse attention layers are periodically interleaved at a ratio of about 3:1.
    • Most layers use linear attention to process continuous context. Its computational complexity is approximately linear with respect to sequence length, avoiding the quadratic growth of standard attention.
    • Every few layers, an attention layer based on a dynamic sparse mechanism is inserted—drawing on sparse attention ideas already open-sourced in the industry—to perform precise retrieval of key long-distance information and compensate for the natural weakness of linear attention in “exact recall.”

    In addition, the sparse attention layers introduce an IndexPool mechanism that compresses index keys at a ratio of about 4:1. Official data shows that, compared with the dense-attention version in the same family, attention computation is reduced by about 3x and KV cache by about 4.4x.

    This “linear-first, sparse-correction” paradigm offers direct reference value for developers: at million-token context levels—the model natively supports about 1M context—pure full attention is almost unsustainable in engineering terms, while hybrid architectures find a practical balance between quality and cost. For teams that need to deploy long-text processing or repository-level code understanding in private environments, a nearly 4.4x reduction in KV cache means the same GPU memory can support several times more concurrent sessions or context length.

    4. Multi-Stream Residual Connections: Supporting Representation Capacity in Shallow Networks

    The model has only 45 layers, clearly shallower than the 60-plus-layer designs common among models of a similar class. To maintain expressive capacity in a shallow structure, it introduces manifold-constrained hyper-connections (mHC)—a more complex multi-stream residual information mixing mechanism proposed in the industry.

    Traditional residual connections accumulate a single information stream layer by layer. mHC-style mechanisms allow multiple parallel representation streams to be maintained across layers and to undergo constrained cross-mixing, effectively widening information pathways without increasing depth. Its value lies in the following:

    1. Shallow networks train more stably, have lower inference latency, and produce fewer bubbles in pipeline parallelism.
    2. Multi-stream mixing alleviates representation degradation caused by deep stacking.
    3. Combined with extremely sparse MoE, it makes “shallow and wide” a viable route alongside “deep and narrow.”

    This design again confirms a trend: when compute efficiency becomes the primary constraint, the focus of architectural innovation shifts from “going deeper” to “optimizing information flow.”

    5. Native Multimodality and Training Foundation

    According to official disclosures, the model comes from a newly trained base model. Pretraining used about 30T tokens of multimodal data, and it natively supports about 1M context length as well as image and video inputs.

    The distinction between “native multimodality” and “post-hoc adaptation” deserves emphasis: the former jointly models visual and video tokens with text from the pretraining stage, so alignment across modalities is completed at the representation level. The latter attaches a visual encoder to a text-only model. Native multimodality usually has a higher ceiling on tasks such as video understanding and cross-modal reasoning, but training cost and data engineering complexity are significantly higher. A 30T-scale multimodal corpus investment shows that leading vendors have elevated multimodality from an “additional capability” to a “foundational capability.”

    From an industry perspective, within days of release, call volume on third-party distribution platforms reached the order of tens of T tokens. This reflects two things: first, demand for cost-effective models in coding and agent scenarios is extremely strong; second, inference compute supply has become one of the core competitiveness factors for LLM vendors. Whether a vendor can support explosive call volume while maintaining existing business depends on underlying compute reserves and scheduling capabilities. For enterprise users, when selecting a model, they should also evaluate the stability and elasticity of the service platform’s general infrastructure, such as object storage, container platforms, logging, and monitoring and alerting.

    6. Cost Structure: The Decisive Variable in the Agent Era

    Official tests show that the model achieves a composite intelligence score of about 57 while keeping per-task cost on the order of about $0.05. It surpasses the previous generation across six coding and agent benchmarks, with notable gaps on some metrics—for example, 63.4 versus 46.2 on a software engineering automation benchmark.

    The deeper meaning of these figures is that agent applications are characterized by multi-turn, long-chain model calls per task, with token consumption tens or even hundreds of times that of traditional chat scenarios. When unit price drops by an order of magnitude, many agent applications that previously “did not pencil out”—such as continuously running code review agents, automated operations, and multi-step data analysis—will cross the commercialization threshold. Improvements in architecture efficiency are, in essence, expanding capacity for the entire agent ecosystem.

    7. Conclusion: A Public Validation of Next-Generation Architecture

    Taken together, the significance of this class of “Flash”-positioned models is not merely the release of a cost-effective product, but a public validation of a next-generation LLM architecture combination:

    • Extremely sparse MoE (8 of 288 experts, 5.6% activation rate) controls parameter cost.
    • A shallow Transformer plus multi-stream residual connections reduces depth while preserving expressive capacity.
    • Hybrid linear/sparse attention plus index compression tackles the compute and memory bottlenecks of long context.
    • Native multimodal pretraining lays a unified representation foundation.

    For developers and architects, there are three takeaways. First, when evaluating models, look at the efficiency metrics of active parameters, context cost, and KV cache footprint, not just total scores. Second, the engineering feasibility of long-context applications is being rapidly rewritten by hybrid attention, and previously shelved plans due to cost are worth reassessing. Third, when deploying on self-owned infrastructure, the inference framework’s support for sparse activation, hybrid attention, and KV cache compression will become a key technical threshold in selection.

    The arms race in architecture efficiency has only just begun, and this “trading structure for cost” approach is likely to become a main line of LLM evolution in the coming years.