The Technical Evolution and Engineering Practice of Next-Generation 100B+ Parameter LLMs
This article examines a newly released and open-sourced next-generation large language model preview (roughly 770B total parameters, about 49B activated per token, and a 1M-level context window) to explain what its architecture and engineering choices mean for developers. It covers the widening gap between total and activated parameters, the shift from standard GQA to gated sparse attention with index caching, cross-layer index reuse, multi-path residual streams, a larger native draft layer for speculative decoding, and dual BF16/MXFP8 precision support. It also outlines a three-layer evaluation framework, a scenario-based selection approach, cost-control techniques, and a practical deployment checklist, arguing that real competitiveness comes from evaluation and cost control rather than chasing public leaderboards.
1. Introduction: From a “Parameter Race” to an “Architecture and Engineering Race”
A cloud vendor recently released and open-sourced a preview of a next-generation large language model with roughly 770B total parameters, about 49B activated per token, and a context window extended to the 1M level. Compared with the previous 295B/21B generation, the backbone parameters increased to about 2.6x, activated parameters to about 2.3x, and the context window expanded 4x. At the same time, the model replaces conventional grouped-query attention (GQA) entirely with a combination of “gated sparse attention + index caching” and introduces multi-path residual streams and a larger native draft layer.
For developers, what truly matters is not that “the parameters got bigger again,” but three engineering signals:
- Sparse attention has shifted from an “optional optimization” to a mainstream default, redefining the marginal cost of long-context inference.
- Growth in model capability increasingly depends on the coordination of data, post-training, and inference-time compute, rather than simply stacking parameters.
- The credibility of public leaderboards is declining, so evaluation must return to your own business datasets and real load testing.
2. Parameter and Structural Changes: Scaling Up Is Not Linear Stacking
2.1 The “Scissors Gap” Between Backbone and Activated Parameters
Total parameters determine the upper bound of the model’s knowledge capacity, while activated parameters determine the compute cost per token. The new generation scales up both at once, yet keeps the activation ratio at about 6.4% (49B/770B). This is a typical sparse-expert approach: use large capacity to carry knowledge and sparse activation to control inference cost.
Note that increasing activated parameters from 21B to 49B means the compute per token rises significantly. In high-concurrency online serving, this overhead shows up directly in first-token latency and throughput. So “large total parameters” does not necessarily mean “definitely slower,” but “doubling activated parameters” almost certainly means higher unit compute cost.
2.2 Layers, Hidden Dimension, and Routed Experts
The number of layers drops slightly from 80 to 78, the hidden dimension increases from 4096 to 6144 (about 1.5x), routed experts grow from 192 to 256, and the activation strategy changes from Top-8 to “Top-8 + 1 shared expert.”
The design intent behind this combination is clear:
- A wider hidden dimension improves the representational and mixing capacity of each layer.
- More experts improve the granularity of knowledge sharding and reduce the load on any single expert.
- The shared expert carries general capabilities, avoiding repeated learning of common patterns for every token and thereby improving parameter utilization.
The routing logic can be abstracted schematically as:
# Pseudocode: expresses routing intent only, not a real interfacedef route(hidden, router, experts, shared_expert, top_k=8):logits = router(hidden) # [num_experts]idx = topk(logits, k=top_k).indices # sparse activationy = sum(experts[i](hidden) for i in idx)y = y + shared_expert(hidden) # shared expert always participatesreturn y
3. Attention Reconstruction: Gated Sparse Attention and Index Caching
3.1 From GQA to MLA-Based Gated Sparse Attention
The previous generation used conventional GQA; the new generation switches to low-rank-compression-based gated sparse attention (Gated DSA), paired with index caching (IndexCache). The core idea is: for a long historical context, a lightweight indexer first determines which tokens are most relevant to the current query, then the main attention only processes about 2048 of those positions.
This aligns with the industry-proven long-context approach: reducing the O(n²) cost of “full attention” to a near-linear cost of “index filtering + local precise computation.” For 1M-level contexts, this is not an optimization but a prerequisite for feasibility.
3.2 Cross-Layer Index Reuse: Only 21 Layers Run the Full Indexer
One engineering detail worth noting: all 78 layers use sparse attention, but only 21 layers run the full indexer (layers 0, 1, 5, 9, 13… 77), while the other 57 layers directly reuse the token indices selected by earlier layers.
The value of this “cross-layer index sharing” lies in:
- The indexer itself consumes compute and memory bandwidth, so reducing how often it runs directly lowers overhead.
- Shallow layers have already completed coarse filtering, and reuse in deeper layers preserves semantic coherence.
- Cross-layer index reuse makes the serving cost of long contexts more predictable.
In engineering terms, the index cache can be understood as “one sparse position mask per layer,” whose lifetime is bound to a single forward pass:
# Pseudocode: cross-layer index reuseindex_cache = {}for layer_id in range(num_layers):if layer_id in full_indexer_layers:idx = indexer(hidden) # compute full indexindex_cache[layer_id] = idxelse:idx = index_cache[last_full_idx] # reuse the most recent full indexhidden = sparse_attn(hidden, idx, top_positions=2048)
4. Multi-Path Residual Streams and Multi-Step Draft Prediction
4.1 Four-Path Residual Streams: A Wider Information Highway
A conventional residual is single-channel; the new generation introduces 4-path residual streams (iHC), effectively widening the inter-layer information pathway. The benefit is more stable gradient and feature propagation, making deep networks easier to train; the cost is higher memory and bandwidth usage. In ultra-long-context scenarios, stacking multi-path residuals with sparse attention makes memory a tighter constraint than compute, so deployment must reserve headroom.
4.2 A Larger Native Draft Layer: Built for Speculative Decoding
The draft layer grows from 3.8B to 10B (about 0.7B activated), indicating that native multi-step prediction (MTP) is designed as a first-class citizen. The essence of speculative decoding is “a small model guesses first, the large model verifies in batches”; the higher the draft quality, the higher the acceptance rate and the more pronounced the end-to-end throughput gain. A larger native draft layer usually means a higher acceptance rate and a more stable speedup, but it also consumes extra memory.
5. Precision and Deployment: Dual-Track BF16 and MXFP8
The open precisions expand from BF16 alone to both BF16 and MXFP8. The benefits of lower precision are reduced memory and bandwidth and higher throughput; the risks are numerical stability and accumulated error under long contexts. The practical recommendation is: enable lower precision on the inference side first and run regression on business datasets, keep higher precision on the training or fine-tuning side, and establish layer-by-layer numerical anomaly monitoring.
6. How to View Public Evaluations Rationally
Current public leaderboards have obvious risks of data contamination and overfitting, and a single score can hardly reflect real business performance. A more reliable approach is to build a “three-layer evaluation”:
- Capability layer: use general reasoning, code, and math problem sets for coarse screening.
- Business layer: use your own labeled set (500-2000 items recommended) for A/B comparison.
- Engineering layer: load-test first-token latency, throughput, long-context stability, and unit cost.
A schematic evaluation record structure:
{"model": "candidate-A","context_len": 1000000,"p95_ttft_ms": 820,"throughput_tps": 1450,"task_accuracy": 0.78,"cost_per_1k_tokens": 0.9}
7. Cost and Selection: Match by Scenario, Not by Leaderboard
In terms of pricing structure, the new preview sits in a middle band “more expensive than the lightweight version, cheaper than the flagship,” which is not itself awkward; what is awkward is putting it in the wrong scenario. A recommended selection framework:
- High concurrency, short context, cost-sensitive: prioritize lightweight models.
- Ultra-long document understanding, code-base-level Q&A, long agent chains: prioritize 1M context + sparse attention models.
- Complex reasoning and multimodal: choose solutions with stronger native multimodal capabilities.
- Need for privatization and controllable cost: focus on open weights and low-precision support.
Supporting cost-control measures include context compression and summary caching, retrieval pre-filtering, result caching, batching and asynchronous queues, and monitoring/alerting-based elastic capacity scaling. General-purpose capabilities on Baidu AI Cloud (such as object storage, message queues, container platforms, log services, and monitoring/alerting) can serve as general infrastructure options for hosting this kind of inference service.
8. Deployment Checklist
- Have you completed regression on your own business set rather than only looking at public scores?
- Have you load-tested the memory and latency curves under a 1M context?
- Have you verified the stability of low-precision outputs?
- Have you reserved memory for speculative decoding and measured the real speedup?
- Have you built a cost dashboard based on per-token billing and cache hit rate?
- Have you kept a fallback channel to the previous-generation model?
9. Conclusion
The most worthwhile thing to learn from this generation of models is not any specific parameter, but the combined engineering paradigm of “sparsification + long context + low precision + speculative decoding.” For developers, real competitiveness comes from the evaluation system and cost-control capability, not from chasing leaderboards. Getting your own evaluation and load testing working first, then deciding when to adopt the new-generation model, is the sound path to deployment.
