How a 320B Sparse MoE Model Approaches Frontier Intelligence: Architecture, Benchmarks, and Deployment
This article examines a 320B-parameter sparse Mixture-of-Experts model with roughly 18B activated parameters per token, which moved from anonymous testing on model aggregation platforms to a public release. It breaks down the reported benchmark results, the 3:1 hybrid attention architecture, long-context and multimodal constraints, and a reference architecture for running long-horizon agents on Baidu AI Cloud, with notes on cost governance and observability.
1. From Anonymous Rollout to a Named Release
Before the official launch, the team ran a staged rollout under an anonymous model name on two major model-calling and aggregation platforms. The results exceeded expectations: the model quickly became one of the most-called options of the week and set new traffic records on both platforms at the same time. More notably, all compute serving that inference traffic came from domestic Chinese AI chips. That detail suggests the supply of frontier intelligence no longer depends on a single hardware ecosystem, and that domestic compute is now capable of supporting large-scale, high-concurrency inference from an engineering standpoint.
After the official unveiling, the model was named as a sparse MoE product built for efficient inference. Its core specifications can be summarized as follows: roughly 320B total parameters with about 18B activated parameters per token; native support for text, image, and video input; a context window of 1,048,576 tokens; a permissive open-source license with weights already published on a public model community; a base trained from scratch rather than post-trained from the previous generation; and a pretraining corpus of roughly 30T tokens.
The capability coordinates given by the team are: 57 points on a third-party composite intelligence index, placing it in the global frontier range and on par with a closed-source flagship model; coding performance on the team’s own evaluation on par with the same benchmark model; and pricing at roughly one tenth of the previous flagship generation, with a lower limited-time discount. For developers, the direct implication is that the price curve for frontier capability is being flattened quickly.
2. Capability Breakdown: Why Coding and Agentic Tasks Are the Main Battleground
Public benchmarks show that this generation’s gains over its predecessor are concentrated in “executable tasks” rather than “knowledge Q&A”:
- Terminal-style task benchmark: about 84.3, close to the comparison closed-source flagship’s 85.0;
- Deep software engineering tasks: about 63.4, significantly above the previous generation’s 46.2;
- Automated workflow benchmark: about 48.8, a substantial lead;
- Tool calling and verification benchmark: about 78.4.
The engineering meaning of these numbers is that the model no longer just “writes code snippets” but can complete multi-step operations in real terminals, real repositories, and real toolchains. It supports configurable thinking intensity (low/high/highest) and enables deep thinking by default, which makes it better suited to complex coding, long-horizon agentic tasks, and development scenarios that need visual assistance (for example, locating a frontend issue from an interface screenshot).
3. Architecture: Why the 3:1 Hybrid Attention Is Key to Efficiency
Third-party researchers have taken the architecture apart, and combined with official information two main lines can be reconstructed.
The first main line is hybrid attention. The overall layer ratio is 3
roughly 34 layers use linear attention (a variant of Delta-rule linear attention), and roughly 11 layers use latent compressed attention or sparse attention. Linear attention compresses long context into a fixed-size state, substantially reducing compute and KV Cache cost; sparse/latent attention preserves precise long-range recall. Alternating the two, stacked together, amounts to a structured tradeoff between “saving compute” and “preserving precision.” Official data claims that compared with the previous flagship generation, attention compute is reduced by about 3x and KV Cache size shrinks by about 4.4x.
The second main line is a streamlined sparse MoE backbone. The previous flagship was on the order of 744B total parameters with 40B activated; this generation is cut down to 320B total and 18B activated. The drop in total parameters lowers memory and deployment cost, the drop in activated parameters lowers per-token inference cost, and the sparse structure keeps model capacity from being lost excessively.
Describing the single-layer logic with illustrative pseudocode makes it more intuitive:
# Illustrative: 3:1 hybrid attention layer stacking (not a real API)for layer_idx in range(num_layers):if layer_idx % 4 == 3:x = sparse_or_latent_attention(x, kv_cache) # precise recallelse:x = linear_attention(x, recurrent_state) # efficient compressionx = moe_ffn(x, top_k=8) # sparse activation
4. Engineering Constraints of Long Context and Multimodality
A million-token context is not just about “being able to fit it in.” Linear attention compresses history into a state, which naturally suits very long inputs; but compression brings information loss, so sparse attention layers are needed to do precise retrieval periodically. The engineering recommendation: put retrieval-type needs (cross-file dependencies, long-log localization) within the sparse layers’ capability range, and hand summarization-type needs (conversation history, long-document overviews) to the linear-layer compression path.
Native multimodality (text + image + video) means visual input shares the same representation space as text, which suits a “screenshot → locate → modify code” loop. But video and high-resolution images consume the context budget quickly, so in practice frame extraction, cropping, and resolution reduction strategies should be applied.
5. Implementation: Building Long-Horizon Agents in the Cloud
To deploy this kind of model on Baidu AI Cloud, the following reference architecture is recommended:
- Access layer: use a unified model service gateway for authentication, rate limiting, and staged rollout, avoiding scattering keys across clients.
- Inference layer: a container platform hosts the inference service, with pools deployed by thinking intensity (low/high/highest); long tasks go to the high pool, short Q&A to the low pool.
- State layer: long-horizon agents need to persist intermediate state; use object storage to save artifacts and a message queue to decouple steps.
- Observability: a logging service records every tool call and token consumption, with monitoring and alerting thresholds set for failure rate and P99 latency.
- Cost governance: estimate cost by “activated parameters × call volume,” and combine caching with batching to actually realize the unit-price advantage.
user request → gateway (auth/rate limit) → inference pool (routed by thinking intensity)→ tool execution sandbox → object storage (artifacts) → logging and monitoring
6. Conclusion
This 320B-A18B sparse MoE model uses hybrid attention and a streamlined backbone to push the threshold of frontier intelligence down to the “a few tenths of the price” range. The takeaway for developers is clear: the capability boundary is shifting from “generation” to “execution,” and the engineering focus is shifting from “parameter tuning” to “context governance, tool orchestration, and cost observability.”
