Understanding Modern LLM Architecture: Structural Evolution and Parameter Scaling

    This article breaks down the structural evolution of modern large language models, focusing on four main trends: growing total parameters with frozen activated parameters, expanding context windows paired with KV Cache compression, increasing expert counts with finer routing granularity, and stability-oriented changes to normalization and activation functions. It maps these architectural choices to hardware constraints such as compute, memory bandwidth, and inter-GPU communication, and offers practical guidance for architecture and deployment teams on capacity planning, topology design, and evaluation pipelines. Readers will gain a clear framework for interpreting structural differences across model families and translating them into quantifiable deployment decisions.

    1. Introduction: Why Structure Deserves Its Own Discussion

    The Transformer architecture is now more than a decade old, and reviews of its structural evolution are far from rare. This article does not repeat that history. Instead, it deliberately separates “network structure” from engineering implementation and discusses it on its own, for a straightforward reason: the changes that different vendors have made over the past two years may look scattered and unrelated on the surface, but at the hardware level they all point to the same set of constraints—compute, memory bandwidth, and inter-GPU communication.

    Let us start with an old saying: “Only after playing a thousand tunes can one truly understand music; only after examining a thousand swords can one recognize a fine weapon.” Only after seeing enough models can you tell which changes are genuine structural innovations and which are merely parameter-level tuning on the engineering side.

    Conventions used throughout: parameter counts are expressed in B for billion and T for trillion; quantities are measured in token without a plural suffix.

    2. Four Main Threads in Current Structural Evolution

    Before dissecting individual models, it helps to abstract four threads that run through every model family. All the details later in this article can be understood by attaching them to these four threads.

    2.1 Total Parameter Growth with Frozen Activated Parameters

    One counterintuitive but repeatedly confirmed pattern: total parameters have grown from hundreds of B to several T, while the parameters actually activated per token have stayed in the tens of B range. This is not a capability limitation but a deliberate design choice—sparsification decouples “knowledge capacity” from “per-token compute.” Capacity can scale with data volume, while inference cost stays pinned within an acceptable range.

    2.2 Context Window Expansion vs. KV Cache Compression

    Context windows have expanded from 128K to 1M, yet the KV Cache has been compressed again and again. The two may seem contradictory, but the tension is inevitable: the memory footprint of the attention cache grows linearly with sequence length, and without compression, long context is economically unfeasible. Compression techniques include low-rank joint projection, cross-layer sharing, quantization, and sparse or sliding-window attention.

    2.3 More Experts and Finer Routing Granularity

    Expert counts have risen from 256 to 896 or more, while the intermediate dimension of each individual expert has shrunk. Finer-grained routing makes the combination used by each token more precise, at the cost of higher routing overhead and greater all-to-all communication pressure.

    2.4 Stability-Oriented Changes to Normalization and Activation Functions

    To support training at larger scale, the position of normalization, the way residuals are scaled, and the form of gated activations are all being fine-tuned toward one goal: keeping deep networks numerically stable under larger batch sizes.

    3. Typical Structures by Model Family

    The following sections are organized by vendor family. Each one focuses on “structural choice + hardware implication” and does not involve any performance ranking.

    3.1 An Open-Source Sequence: From V3 to V4.x

    Starting with V3, this family combines fine-grained sparse experts with latent attention projection. V3.2 mainly adjusts routing and caching strategies, while V4 and V4.1-Flash focus on the “lightweight tier”—trading smaller activated parameters for lower time-to-first-token latency. The Flash suffix has become an almost universal naming convention in the industry, denoting a low-latency variant of the same generation’s structure.

    3.2 A General-Purpose Sequence: Tiering in the Qwen Family

    This family has settled into three tiers: “Standard / Max / Flash-Next.” The Standard tier covers general scenarios, Max follows a large-total-parameter route, and Flash-Next emphasizes throughput under long context. All three share the same structural paradigm; the differences are concentrated in expert count, layer count, and cache configuration.

    3.3 A Long-Context Sequence: From Kimi K2.5 to K3.x

    This family treats long context as its first priority. K2.5 established the sparse-expert backbone, and K3 and K3.1 Pro further strengthen cache compression and retrieval-style memory, keeping million-token context manageable on the inference side.

    3.4 A Device-Cloud Collaboration Sequence: MiMo and LongCat

    MiMo-V2.5 / V2.6 follow a route that combines multimodality with reasoning chains. LongCat-Flash and LongCat-2.0 are designed for “high throughput, low activation,” making them suitable for large-scale concurrent online serving.

    3.5 A Bilingual Chinese-English Sequence: The GLM Family

    From GLM-5 to GLM-5.3, the family maintains bilingual alignment and tool-calling capability, with GLM-5.3-Flash serving as the low-latency tier. Structurally, it continues the combination of gated activations and sparse experts.

    3.6 Other Structural Samples Worth Watching

    • MiniMax M3 / M3.1 Flash: large total parameters with minimal activation; the Flash tier further optimizes memory access.
    • Hunyuan Hy4: unified encoding of multimodal inputs, with expert routing decided jointly with modality labels.
    • Step 5 Preview: a preview structure focused on validating a new attention sparsity pattern.
    • Mistral Large 3 / 4: the European vendor route, emphasizing a combination of sliding-window and grouped-query attention.
    • Muse Spark Open: an open-weight sample that is convenient for structural ablation experiments.
    • Ling 2.0: an attempt at combining fine-grained experts with extremely long context.

    4. Mapping Structural Choices to Hardware

    Translating the structural language above into hardware language yields a clear mapping table:

    Structural Choice Primary Pressure Planning Recommendation
    Larger total parameters Memory capacity, load bandwidth Reserve capacity headroom, shard weights
    Unchanged activated parameters Stable compute demand Estimate FLOPs from activated, not total, parameters
    Fine-grained routing All-to-all communication Prioritize high-bandwidth interconnect topologies
    KV Cache compression Preprocessing compute Trade compute for memory; evaluate compression-layer overhead
    Extremely long context Memory access and scheduling Paged cache + prefix reuse

    A rough estimation logic that is easy to apply:

    1. # Illustrates order-of-magnitude relationships only, not any specific product parameters
    2. def rough_estimate(total_params_B, activated_params_B, seq_len, layers):
    3. weight_bytes = total_params_B * 1e9 * 2 # memory estimate assuming 2-byte weights
    4. kv_bytes = seq_len * layers * kv_dim * 2 * 2 # two copies for K/V, 2 bytes each
    5. flops_per_token = 2 * activated_params_B * 1e9
    6. return weight_bytes, kv_bytes, flops_per_token

    5. Practical Advice for Architecture and Deployment Teams

    1. Budget compute based on activated parameters. Total parameters affect only memory and load time, not the per-token compute ceiling.
    2. Treat the KV Cache as a first-class citizen in your capacity model; in long-context scenarios it often exceeds the weights themselves.
    3. Design topology around routing communication before compute. Fine-grained experts are extremely sensitive to interconnect bandwidth.
    4. Preserve the ability to run structural ablations. Prefer samples with open weights or complete structural documentation for validation.
    5. On platforms such as Baidu AI Cloud, you can build evaluation and stress-testing pipelines by combining general-purpose capabilities like container platforms, object storage, log services, and monitoring and alerting, turning structural differences into quantifiable deployment decisions.

    6. Conclusion

    The endpoint of structural evolution is not “bigger,” but “tuning capacity, latency, and cost to the optimum under given hardware constraints.” Understanding three relationships—the separation of total and activated parameters, the tension between context and cache, and the interplay between expert count and routing granularity—gives you the main levers for judging where the next generation of models is heading, and lets you leave reasonable headroom in accelerator and cluster planning.