320B Sparse MoE Model: Cost-Effective Performance Approaching Frontier

    This article examines a 320B-parameter sparse MoE model with 18B active parameters, native multimodal input, and a 1,048,576-token context window. It reviews benchmark results in coding, terminal operation, and agent tasks; analyzes the 3:1 hybrid attention design and its KV-cache savings; and discusses from-scratch pretraining on about 30T tokens and the implications for cost-effective open models under the MIT license.

    1. Phenomenon and Background: The Rapid Rise of a Mysterious Model

    Recently, the AI open-source community turned its attention to a model launched for anonymous testing. Within one week, it rapidly rose to the top of call volume on multiple open model hosting platforms, setting new traffic records across two platforms. More notably, all inference traffic was supported by AI chips developed in China, marking a new stage in the integration of a domestic AI chip ecosystem with frontier algorithm models.

    With the official release, the model’s identity was revealed: a sparse mixture-of-experts (MoE) model with 320B total parameters and only 18B active parameters. The model uses a native multimodal design, supports text, image, and video inputs, and offers an ultra-long context window of 1,048,576 tokens—about 1 million tokens. It is released under the MIT license, and its model weights are available on mainstream model repositories for global developers to download and study.

    According to official benchmark data, the model shows clear advantages over its predecessor across multiple task categories. In coding and agent tasks in particular, its scores approach or match those of current international closed-source commercial frontier models—it scored 57 on the Artificial Analysis Intelligence Index, tied with an international frontier model—while its pricing is only one-tenth that of the same-series flagship model. This combination of frontier performance and affordable pricing has generated a strong response in the developer community.

    2. Benchmark Analysis: Gains in Coding and Agent Capabilities

    As a model positioned as a high-value productivity tool, its most visible performance gains are concentrated in coding and complex task execution. The following comparison is based on publicly available benchmark data.

    1. Terminal Operation and Tool-Calling Capability

    In real terminal operation and command-line interaction tasks, the model scored 84.3. This is only 0.7 points behind the frontier commercial model it targets, which scored 85.0—nearly tied. This means that in high-frequency real-world scenarios such as automated script writing and system operations, the model already has strong practical value.

    2. Deep Software Engineering Capability

    In DeepSWE, which simulates issue fixing and feature development in real software repositories, the new model scored 63.4, an improvement of nearly 37% over the previous generation’s 46.2. Such a gain is rare in comparable evaluations, indicating a qualitative leap in code understanding, cross-file context association, and complex logical reasoning. The model is now capable of participating in long-running, multi-step software engineering tasks.

    3. Business Process Automation Capability

    In AutomationBench, which involves multi-step business process automation, the model also achieved a large lead with a score of 48.8. This metric reflects the model’s stability in following complex instructions, calling external tools, and maintaining long-horizon task state—key capabilities for deploying agent-based applications.

    4. General Tool-Use Capability

    On the Toolathlon Verified benchmark, the model scored 78.4. This score indicates that it can accurately understand API documentation and generate structured function calls, effectively supporting complex application development based on tool calling.

    Notably, the model supports configurable thinking effort in three levels—low, high, and maximum—with deep thinking enabled by default. For complex coding tasks, high or maximum levels are recommended for more rigorous reasoning. For simple text generation or information extraction, lower thinking levels can improve first-token latency.

    3. Architecture Deep Dive: Trade-offs in Hybrid Attention

    The model’s core architectural highlight is its careful balance between efficiency and accuracy in long-text processing. Its hybrid attention mechanism introduces important innovations on top of the traditional Transformer architecture.

    1. 3:1 Hybrid Attention Layer Design

    Across all Transformer layers, the model uses an approximately 3:1 hybrid attention layer combination: 34 linear attention layers and 11 sparse attention / multi-head latent attention layers.

    The core logic of this design is functional differentiation:

    • Linear attention layers: These are mainly responsible for efficient global compression and coarse-grained modeling of long-context information. By reducing attention computation complexity from quadratic in sequence length to linear, they greatly lower computational overhead and KV Cache (key-value cache) usage.
    • Sparse attention / multi-head latent attention layers: These maintain precise long-range recall and fine-grained information extraction at key positions, compensating for the limitations of linear attention in local precise modeling.

    2. Significant Reduction in Resource Overhead

    According to official data, compared with the same-series flagship version, this hybrid design reduces resource consumption for attention computation by about 3x and reduces KV Cache size by about 4.4x. This means that under the same hardware conditions:

    • Concurrency improves significantly: A smaller KV Cache footprint means more requests can be processed simultaneously.
    • The barrier to long-text processing drops: Sparse attention provides an affordable memory solution for handling ultra-long contexts.

    It is worth noting that the new model reduces the previous generation—roughly 744B total parameters with 40B active—to 320B total parameters with 18B active. This proactive “slimming” strategy essentially uses dataset cleaning and training strategy optimization to match or exceed larger models with fewer active parameters. It offers the industry a valuable engineering path: larger parameter count is not always better; higher activation efficiency is.

    4. Sparse MoE and Pretraining Strategy: A Base Model Trained from Scratch

    The model is not a post-training iteration of its predecessor; it is a base model trained from scratch. Its pretraining data scale is about 30T tokens. This strategic shift brings several clear advantages:

    1. Higher data purity: Training from scratch allows better global optimization of data mixing ratios and avoids inheriting potential biases introduced by the previous model’s old data distribution.
    2. Fine-grained tuning of sparse routing: MoE model performance depends heavily on routing strategy—how different tokens are assigned to the most suitable expert networks. Training from scratch allows more efficient routing logic to be designed from the start for the 18B active parameters among the 320B total parameters, ensuring that each token’s activation path is optimal.

    5. Conclusion and Outlook: A New Paradigm for Open Models

    The success of this model lies not only in the performance breakthrough of a single product. More importantly, it validates the feasibility of three technical paths:

    • Sparsity is an inevitable choice for extreme cost-effectiveness: Through finer MoE routing and hybrid attention design, building models with large total parameters and small active parameters is a viable way to combine high performance with low cost.
    • Domestic compute can support frontier model workloads: On launch day, all inference traffic was supported by AI chips developed in China, further demonstrating the maturity of the domestic software-hardware ecosystem.
    • Open-source licensing accelerates technology democratization: The MIT license means enterprises can use the model commercially for free and modify it freely, greatly encouraging private deployment and domain fine-tuning based on the model.

    For developers and enterprise users, this release marks a rapid narrowing of the gap between frontier intelligence and affordable cost. In the future, how to make good use of such cost-effective models to build agent applications tailored to business scenarios will become a new focus of competition.