Why Open-Source Large Models Are Moving Back to MQA: An Architectural Trade-off Overview
This article explains why a new open-source large language model reverted from multi-head latent attention (MLA) to multi-query attention (MQA), and which claims the technical report supports. It covers parameter scale and inference cost, the trade-offs between MHA, MQA, and MLA, training infrastructure techniques such as Hyper-Connections and the Muon optimizer, the practical limits of million-token context, and a checklist for model selection.
This article is compiled from a technical report on a new-generation open-source large model and public industry discussions. The report shows gains over the previous generation in math reasoning, code generation, and agent instruction following, along with some improvement in reducing hallucinations. These results depend on specific evaluation settings. Readers should separate the data the report provides from community speculation. The sections below cover each topic.
How does cost change when parameters grow from 670B to 1.6T?
According to the report, the model’s parameter count increased from 670B in the previous generation to 1.6T. More parameters usually mean higher memory use and inference cost, but the relationship is not linear. Before estimating cost, check whether the 1.6T figure refers to total parameters or active parameters. In a mixture-of-experts (MoE) architecture, each inference step activates only a subset of parameters, so the compute per request is much smaller than the total parameter count suggests. If the report gives only the total parameter count, readers should not assume that doubling parameters doubles inference cost.
On pricing, the model provider lowered the price of cached input tokens and launched a time-limited promotion on top of that. Cache-hit pricing matters most for long-context, multi-turn, and repeated system prompt scenarios, because these requests reuse large amounts of content from the cache. The exact discount, eligible regions, validity period, and billing rules are defined on the official pricing page. The source material does not provide verifiable pricing terms, so this article does not judge specific discount figures.
For cloud service providers, serving requests to a model with this many parameters requires more detailed work on container platforms, GPU memory planning, and compute scheduling. Teams that run their own inference services should pay particular attention to this.
Why move back from MLA to MQA?
The attention mechanism is one of the main sources of memory use during LLM inference, and the size of the KV cache grows linearly with context length. To understand this architectural choice, first look at how three common approaches differ:
| Dimension | MHA (multi-head attention) | MQA (multi-query attention) | MLA (multi-head latent attention) |
|---|---|---|---|
| KV cache size | Largest | Smallest | Smaller, through latent-space compression |
| Expressive capacity | Strongest | Limited, because multiple query heads share one set of K and V | Retains much of the multi-head information through latent space |
| Memory and bandwidth pressure at long context | High | Low | Low to moderate |
| Implementation complexity | Low | Low | Higher |
MLA compresses KV into a latent space. This reduces cache usage while keeping much of the expressive capacity of multiple heads. Several open-source models adopted this mechanism in recent years. MQA appeared earlier. It has a simple structure and a small cache footprint, but because multiple query heads share the same K and V, its expressive capacity is limited.
Returning from MLA to MQA runs against the common industry view that architectures are converging. The report’s specific reasons should be taken from the original text. One possible explanation is that, after scaling up parameters, the development team offset the expressive loss of MQA through adjustments to training strategy and parameter configuration. However, if the report does not include ablation experiments, this remains a plausible explanation that has not been confirmed. Readers should focus on two questions. First, did the report compare both architectures with the same parameter count and training data? Second, what quality and latency data does the report provide for long-context tasks after the change?
Whether this kind of rollback suits your use case depends on the task type. If your workload centers on long-document question answering or codebase analysis, the KV cache can become a bottleneck, and approaches such as MQA or MLA deserve close evaluation. If your tasks require higher accuracy on complex reasoning, validate the model against your own evaluation set.
Infrastructure and optimizers: which techniques in the report deserve a closer look?
The report and community discussions mention several training infrastructure techniques. HC stands for Hyper-Connections, an approach that improves residual connections. The related paper was proposed by a ByteDance team. mHC can be understood as a further constraint or refinement of HC, but its exact definition and effects should be taken from the report. The report names Attention Residuals without explaining it, so this article makes no inference about it. Readers can consult the original paper.
Muon is an optimizer proposed in recent years. It orthogonalizes momentum updates, and some experiments show better training stability and faster convergence. Several teams in China have adapted and improved Muon. These findings mostly come from small-scale or specific experimental setups, so their effect on larger models needs separate validation.
The report also mentions an open-source AI compiler that maps computation graphs onto different heterogeneous hardware to improve computational efficiency. The benefit of a compiler depends heavily on the specific hardware, operators, and model architecture. The same optimization can perform very differently across platforms.
The source material introduces the concept of “system-level coupled optimization,” which means that the model architecture, optimizer, inference framework, and compiler should be designed together. More components make coordination harder. To judge whether a team has achieved this, check whether it publishes joint tuning results across modules, rather than only listing technique names.
Million-token context: what is possible today?
The source material argues that million-token context is moving from theory to practice. This claim should be assessed in parts. Some models can already process very long inputs on specific benchmarks and hardware configurations. This does not mean every scenario can use million-token context at low cost and low latency.
In practice, three factors need to be measured. The first is answer quality at long context, particularly recall for information located in the middle of long documents. The second is time to first token, since prefill takes longer as input grows. The third is the total cost per request, including billing for input, cache hits, and output. The source material says that message queues, object storage, and elastic compute scheduling can help reduce cost. These infrastructure components can improve resource utilization, but the results depend on the specific deployment, and no single answer applies.
Checklist for model selection
- Parameter basis: confirm whether the reported parameter count is total or active, and compare against other models using the same basis.
- Pricing terms: record the cache-hit eligibility rules, the promotion’s validity period, and the eligible regions, and check the official pricing page.
- Architecture impact: if your workload depends on long context, focus on measured KV cache usage and long-text recall.
- Evaluation setup: verify the benchmark version, prompt templates, and scoring method, and avoid directly comparing scores obtained under different settings.
- System coordination: check whether the inference framework, hardware, and compiler were jointly validated in the same test environment.
