Modern Mainstream Large Language Model Architectures and Parameter Scales Explained

    This article explains the architecture trends shaping mainstream large language models. It covers the shift from parameter scaling to architecture engineering, the common designs in flagship models (mixture-of-experts, efficient attention, and long context), typical model size tiers, and practical guidance for choosing a model based on active parameters, memory requirements, and workload.

    Modern Mainstream Large Language Model Architectures and Parameter Scales Explained

    1. Overview: From Parameter Race to Architecture Engineering

    Over the past few years, large language models have undergone a clear shift in direction. Early competition focused on which model had more parameters. Today, the central question is how to achieve greater effective capability at a reasonable inference cost.

    Three factors drive this shift:

    • Inference cost constraints: Dense models activate all parameters for every generated token. At hundreds of billions or even trillions of parameters, the compute and memory costs of each inference become hard to sustain.
    • Data and compute bottlenecks: The supply of high-quality training data grows more slowly than model size, so simply adding parameters yields diminishing returns.
    • Engineering requirements: Enterprise applications need low latency, high concurrency, and predictable costs. This forces architecture design to balance efficiency with capability.

    As a result, leading models generally innovate in several areas: sparsity through mixture-of-experts, attention mechanism optimization, long-context extension, and co-design of training and inference.

    2. Common Technical Features of Mainstream Architectures

    2.1 Mixture-of-Experts Has Become the Standard for Flagship Models

    The Mixture-of-Experts (MoE) architecture is the most widely adopted design among leading open-source and closed-source flagship models. Its core idea is as follows:

    • The model contains many expert feed-forward networks, commonly tens to hundreds of them.
    • For each token, a router network activates only a small number of experts, such as the top 2 out of 8 or the top 8 out of 256.
    • The result is a structure with a very large total parameter count and a much smaller number of active parameters.

    A typical configuration has total parameters ranging from tens of billions to over a trillion, with only 3% to 10% of total parameters active per inference. For example, a model with about 600 billion total parameters might activate only about 30 billion parameters per token. Its inference cost is close to that of a 30-billion-parameter dense model, but its knowledge capacity and task generalization are considerably stronger.

    MoE also brings clear engineering challenges:

    • Load balancing: Uneven routing can overload some experts while others sit idle. Training typically adds an auxiliary loss function to constrain routing.
    • Memory footprint: Although compute drops, all expert weights must still be loaded into memory. Distributed deployment therefore depends heavily on tensor parallelism and expert parallelism strategies.
    • Communication overhead: With expert parallelism, tokens must be dispatched across devices. Cross-node bandwidth often becomes the bottleneck.

    2.2 Making Attention More Efficient

    In standard multi-head attention (MHA), the KV cache memory footprint grows with sequence length. This is the main bottleneck for inference deployment. Modern models typically use one of the following variants:

    • Grouped-Query Attention (GQA): Multiple query heads share a single set of key-value heads. This can reduce the KV cache size several times over, and it has become the de facto standard for mid-range and larger models.
    • Multi-Query Attention (MQA): All query heads share a single key-value head. This compresses memory more aggressively but causes some quality loss.
    • Latent Attention: Keys and values are projected into a low-rank latent space before caching. This reduces memory further while preserving expressive power as much as possible. Some recent flagship models have adopted this approach.
    • Linear and sparse attention: Designed for extremely long contexts, these methods reduce attention complexity from O(n²). They are often interleaved with full attention layers.

    2.3 Long Context Has Become a Baseline Capability

    The context windows of leading flagship models have generally expanded from 4K to 32K tokens to 128K, and in some cases to 1M tokens. The techniques that support this capability usually include:

    • Extrapolation and interpolation of position encodings, such as frequency scaling in rotary position embeddings (RoPE).
    • Long-context continued training and curriculum-style context extension, which train on short sequences first and then progress to longer ones.
    • Inference-side optimizations, including KV cache compression, paged memory management, and prefix reuse.

    Supporting a long context window is different from using it effectively. The industry typically evaluates the latter with needle-in-a-haystack benchmarks and long-document reasoning tasks.

    3. Typical Parameter Scale Tiers

    Across the industry, current models fall into four broad tiers:

    Tier Total Parameters Active Parameters Typical Use
    Lightweight 1B to 7B All active On-device and edge deployment, low-cost fine-tuning
    Medium 7B to 70B All active or lightly sparse Main choice for enterprise private deployment
    Flagship (dense) 70B to 400B All active High-quality inference, teacher models for distillation
    Flagship (MoE) Hundreds of billions to trillions 3% to 10% of total Cloud API services, complex reasoning tasks

    A notable trend is that flagship models increasingly follow a “one base, multiple derivatives” strategy. Within a single architecture, a provider may release a full-capability version, faster variants (with fewer active parameters or distilled versions), and multimodal versions. These cover different cost and latency requirements. This explains why many model families offer both a standard version and a lightweight variant, such as one labeled Flash or Turbo.

    4. Practical Guidance for Architecture Selection

    Developers and enterprises evaluating whether a model’s architecture and scale fit their needs should consider the following:

    1. Focus on active parameters, not total parameters. Active parameters determine the compute cost and latency of each inference, so they are the core basis for cost estimation.
    2. Calculate memory budgets based on total parameters. Even though an MoE model has few active parameters, deployment still requires room for all expert weights. Before private deployment, calculate memory needs. Quantization, such as INT8 or FP8, can cut weight size by more than half.
    3. Match the tier to the workload. Simple classification and extraction tasks can run on small or medium models. Complex reasoning, code generation, and long-document analysis usually require flagship models.
    4. Check inference framework support. Sparse architectures place higher demands on the inference engine, including expert parallelism, continuous batching, and KV cache management. Confirm that the toolchain is mature before choosing a model.
    5. Consider cloud hosting. Teams without their own compute can use cloud providers’ managed model inference services, container platforms, and monitoring and alerting tools to deploy quickly and avoid duplicating infrastructure investment.

    5. Conclusion

    The architecture evolution of modern large language models can be summarized in one sentence: gain capacity through sparsity, efficiency through attention redesign, and deployability through systems engineering. Parameter count is no longer the only metric that matters. The balance among total parameters, active parameters, context length, and inference cost is the right framework for evaluating a model. Understanding these underlying principles offers more lasting value than tracking version updates of any single model family.