Low-Cost Architecture of Native Multimodal LLMs: A Technical Breakdown
This article breaks down how a new generation of native multimodal large language models reduces inference cost without sacrificing capability. It examines four key designs—hybrid sparse and linear attention, manifold-constrained hyper-connections, ultra-sparse activation, and unified sequence modeling for native multimodality—and explains the single-token cost model behind them. It closes with practical deployment advice on tiered model selection, cache reuse, custom evaluation, observability, and elastic serving.
1. Background: Why Long Context and Multimodality Drive Inference Costs Up
Over the past two years, large model capability expansion has mainly followed two tracks. One is the steady growth of the context window, from a few thousand tokens toward the million-token range. The other is the shift from text-only input to mixed input that includes images, video, and documents. Both represent major experience improvements, but on the engineering balance sheet they point to the same bottleneck: the complexity of the attention mechanism.
Standard Transformer self-attention requires every token to interact pairwise with all historical tokens in the sequence. Compute and memory usage therefore grow quadratically with sequence length. The autoregressive decoding stage makes things worse: every newly generated token requires re-reading the entire historical key-value cache, so memory bandwidth—not compute—becomes the real ceiling. When high-resolution images, long videos, and multi-page documents are added to the input, the number of visual tokens often far exceeds the text itself, amplifying costs further.
Given this, the design goals of the new generation of architectures are clear: reduce both the per-token serving cost and the long-context memory footprint while maintaining or even improving overall intelligence, and make multimodality a native capability rather than a bolt-on module. The four key designs unpacked below all revolve around this goal.
2. Key Design 1: A Hybrid Architecture of Sparse and Linear Attention
Hybrid attention is the mainstream approach to long-context modeling today. The core idea is to assign different responsibilities to different mechanisms.
Linear attention compresses historical information through recurrent state updates, turning “compute against every historical token one by one” into “maintain a fixed-size state and keep updating it,” reducing complexity from quadratic to linear. Its strength lies in modeling local dependencies and neighboring patterns with very high efficiency, but a fixed-capacity state has an inherent loss for precise recall over the long term.
Sparse attention preserves precise access to the global context. A lightweight Indexer first scores historical tokens and recalls a small set of the most relevant positions, then full attention is computed only at those positions. At far lower cost than full attention, it retains the ability to perform precise retrieval across long distances within a sequence.
Stacking the two creates a division of labor: “recursion for the local, indexing for the global.” Publicly available engineering practice shows that this kind of design can deliver several-fold reductions in attention compute and several-fold compression of the key-value cache at the million-token context scale. A further optimization point is the Indexer itself: if multiple index vectors are kept for every historical position, the memory and latency of the index structure become a burden again. A common approach is therefore to compress multiple index vectors into a single vector via weighted pooling, trading controllable precision loss for a significant reduction in index overhead.
One engineering caveat: hybrid attention is not a free lunch. It introduces state management, index construction, and numerical alignment between the two paths, as illustrated below:
# Logical sketch of a hybrid attention layer (not a specific implementation)def hybrid_attention_layer(x, recurrent_state, indexer):# Path 1: linear attention, updates a fixed-size state, complexity O(n)local_out, recurrent_state = linear_attention(x, recurrent_state)# Path 2: sparse attention, recall first then compute, complexity O(n * k)topk_ids = indexer.recall(x, k=2048) # global long-range informationglobal_out = sparse_full_attention(x, topk_ids)# Gated fusion to prevent the two paths from overriding each othergate = sigmoid(linear_proj(x))return gate * local_out + (1 - gate) * global_out, recurrent_state
3. Key Design 2: Manifold-Constrained Hyper-Connections and “Halving the Layer Count”
Traditional residual connections simply add layers together, and in deep networks this tends to cause representation collapse and poor gradient propagation. Hyper-Connections make the inter-layer connection weights learnable and reusable across layers. Manifold-Constrained Hyper-Connections add constraints on top of this, keeping feature updates within a reasonable manifold space, thereby improving gradient propagation and representation reuse efficiency.
The direct benefit is improved “layer efficiency.” Public information indicates that one new-generation model, with a total parameter count roughly on par with the previous generation (around 320B), compressed the layer count from 92 to 45 and reduced activated parameters from around 32B to around 18B, with an activation ratio of about 5.6% of total parameters, while overall performance did not regress. This is a key point: it shows that capability comes not only from “piling on parameters” but also from the fidelity with which information is passed between layers. Fewer layers also shorten the inference dependency chain, which is friendlier to first-token latency and to parallel partitioning strategies.
4. Key Design 3: Ultra-Sparse Activation and the Single-Token Cost Model
Under a sparse-activation architecture, what really determines the cost of a single forward pass is the number of activated parameters, not the total parameter count. Total parameters determine knowledge capacity and memory residency requirements; activated parameters determine compute and bandwidth consumption. Pushing the activation ratio below 6% means significantly higher throughput at the same batch size, or fewer accelerator cards at the same throughput.
A single-token cost model that is easy to estimate:
Single-token cost ≈ activated parameters × bytes per parameter (weight reads)+ key-value cache increment × bandwidth cost per byte+ attention and indexing overhead (varies with context length)+ scheduling and batching fixed overhead ÷ batch size
This equation explains two things. First, reducing activated parameters and compressing the key-value cache are linear gains that are directly measurable. Second, in long-context scenarios the real variables are the latter two terms, so the value of hybrid attention and index compression is magnified with long inputs. For consumers, judging whether a model is “cheap” should involve plugging in the real input-length distribution of your own workload, rather than looking only at the vendor’s advertised unit price.
5. Key Design 4: Native Multimodality and Unified Sequence Modeling
The difference between “native multimodal” and “a text model with a bolted-on vision module” lies in where the modeling happens. The native approach maps images, video, documents, and text into the same sequence space, with visual encoding results participating directly in the backbone computation as part of the token sequence, rather than attaching an adapter layer at the end. The practical changes include: visual information can participate in multi-step reasoning loops (for example, viewing a UI screenshot, then continuing to write code, then looking back at a screenshot of the run output to iterate); cross-modal references are more stable; and layout and chart information in document inputs is less likely to be lost during conversion.
For engineering implementation, three points are worth attention: the chunking and resolution strategy on the input side (which determines the number of visual tokens and is the first valve for cost control); reuse of the multimodal cache (re-encoding the same image across multiple turns of dialogue is a common waste); and building evaluation sets for mixed text-and-image scenarios.
6. Practical Deployment Recommendations
- Tiered selection: classify requests by input length and modal complexity. Route short text to a low-latency configuration and long documents and video to a long-context configuration, avoiding a one-size-fits-all high configuration.
- Cache first: prioritize inference-side cache reuse and batch aggregation, which usually improve the bill more directly than switching models.
- Build your own evaluation: the gains from hybrid attention and sparse activation depend heavily on task distribution, so be sure to run A/B tests with your own samples across three categories: long-context retrieval, multi-turn encoding, and chart understanding.
- Observability: bring first-token latency, cost per thousand tokens, cache hit rate, and the actual distribution of context lengths into your monitoring, alerting, and logging systems to form a continuous optimization loop.
- Elastic capacity: use container platforms and message queues for asynchronous batching and elastic scaling, and isolate offline batch jobs from online interactive traffic, where costs usually drop most noticeably.
7. Conclusion
The core logic of a new-generation low-cost native multimodal model is not simple pruning, but a simultaneous reconstruction across four dimensions: the attention mechanism, inter-layer connections, the activation ratio, and where multimodality is modeled. Hybrid attention buys linear cost for long context; manifold-constrained hyper-connections buy layer efficiency; ultra-sparse activation buys lower single-token cost; and unified sequence modeling buys multimodal usability. For developers and enterprise users, the real gains do not come from the parameter table, but from aligning these features with the input distribution of your own workload to form a measurable, reusable cost advantage.
