Training a Frontier Foundation Model on a Million-Dollar Budget: A Technical Breakdown of Progressive Scaling

    This article explains how a fixed training compute budget can be allocated efficiently through progressive scaling, a staged approach that adjusts model size, data difficulty, and communication layout together. It covers why fixed-size training is inefficient on the compute curve, how four scaling stages modify depth, expert count, and activated parameters in a Mixture-of-Experts model, key MoE engineering concerns, and a decision framework for when to scale up. The main takeaway is that progressive scaling lowers the method barrier and trial-and-error cost, while data quality, evaluation, and cluster operations remain hard constraints.

    1. Background: ROI Pressure Under Rising Compute Costs

    By late 2026, the compute capital expenditure of leading overseas cloud providers has reached the scale of hundreds of billions of dollars, and market concerns about return on investment continue to grow. At the very top of the large-model supply chain, the compute consumed by pretraining a first-tier foundation model is an equally sensitive number. When a practice emerges in which a first-tier foundation model is trained from scratch on a budget in the millions of dollars, a natural question follows: will the barrier to in-house large-model development drop significantly?

    This article discusses no specific team or product. Instead, it abstracts such practices into a general engineering problem: given a fixed training compute budget, how should you decide, stage by stage, how large the model should be, how difficult the data should be, and how compute should be moved between devices, so that every unit of compute buys the lowest possible training error? The discussion below follows a training approach known in the industry as progressive scaling.

    2. The Core Tension: Fixed-Size Training Is Inefficient on the Compute Curve

    Chinchilla-style scaling laws describe a relationship in which, under a limited compute budget, there is an appropriate ratio between parameter count and training data volume; as cumulative compute grows, the corresponding optimal model size also grows.

    The conventional approach is to build the model at its final size from the first step, which introduces two hidden forms of waste:

    • Early-stage waste: In the early phase of training, the model mainly learns basic statistical regularities, so the return from large capacity is limited, yet you still pay for the memory footprint of parameter matrices, optimizer states, and communication overhead.
    • Late-stage waste: Once the size is fixed, adding more tokens yields smaller and smaller reductions in loss, the curve flattens, and the benefit bought by each unit of compute diminishes.

    An intuitive analogy is buying shoes for a child: buying adult sizes saves the trouble of replacing them, but for the first few years every step is a drag; changing shoes as the feet grow makes walking smoothest right now. The metric to watch in engineering is not the absolute value of loss, but how much the error can still drop when the same amount of GPU-hours is invested again. Only when the marginal-return curve flattens does scaling truly come onto the agenda.

    3. Method Overview: Putting Three Things on One Timeline

    The key to this training method (referred to below as a PACE-style method) is that whenever the model structure is adjusted, two other things are adjusted in sync:

    1. What to learn next (the data curriculum);
    2. How data is moved between accelerators (the parallelism and communication layout).

    All three share one stage timeline: early on, a smaller model is used to learn what can be learned first; when the small model starts to struggle, compute is directed toward more parameters, harder data, and a more suitable communication topology.

    1. Stage 0 Small model + basic corpus -> establish the pipeline, quickly absorb high-frequency patterns
    2. Stage 1 Increase network depth (layers) -> improve feature abstraction and long-range modeling
    3. Stage 2 Increase expert count (width/sparsity) -> expand capacity with almost no increase in activated compute
    4. Stage 3 Increase activated experts per token -> trade capacity for quality, total parameter count unchanged

    4. What Each of the Four Scaling Steps Changes

    Using the final configuration disclosed in a technical report as a reference (for general illustration only): 42 total layers, about 209B total parameters, about 14B activated parameters per token, and an activation ratio of about 6.7%; it uses a Mixture-of-Experts (MoE) architecture with 288 routed experts, 13 selected per token, plus 1 shared expert.

    • The first and last scaling steps: total parameters unchanged, only increasing the number of experts used per token—that is, trading “wider activation” for stronger per-token fitting ability.
    • The second scaling step: add layers, strengthening deep semantic composition and long-distance dependency modeling.
    • The third scaling step: add experts, expanding parameter capacity while keeping activated compute approximately unchanged.

    The internal logic of this ordering is: first fill in general capabilities such as “depth,” then fill in capabilities that can be sparsified, such as “capacity,” and finally use the activation level for fine-tuning at the end of the budget.

    5. MoE Engineering Essentials and Common Pitfalls

    MoE can be understood as a large group of specialized compute modules; when each token arrives at the router, the router decides which modules to invoke. In practice, you typically need to focus on:

    • Load balancing: routing skew causes some experts to be overloaded and others idle; auxiliary balancing losses and capacity-factor constraints are commonly used.
    • Communication amplification: expert parallelism introduces additional all-to-all communication, which must be orchestrated together with data parallelism, tensor parallelism, and pipeline parallelism.
    • Shared experts: handle general transformations and mitigate knowledge fragmentation among routed experts.
    • Stability: when increasing the number of activated experts in the late stage of training, pay attention to numerical stability and the consistency of the learning rate and router temperature.

    Illustrative configuration (pseudocode, expressing structure only, not any product interface):

    1. # Pseudocode: illustrates the sparse activation logic of a forward MoE pass
    2. logits = router(hidden) # [tokens, num_experts]
    3. topk_idx = topk(logits, k=13) # select 13 routed experts per token
    4. y = shared_expert(hidden) # the shared expert always participates
    5. for e in unique(topk_idx):
    6. y[mask_e] += experts[e](hidden[mask_e])
    7. y = y + aux_balancing_loss_grad # load-balancing constraint

    6. Decision Framework: When Is It Worth Scaling Up

    It is recommended to use a dual criterion of “marginal return + stage goal” rather than a fixed number of steps:

    • Record the slope of loss reduction within a fixed compute window; when the slope keeps flattening, trigger a scaling evaluation;
    • Determine whether the data difficulty of the next stage (long text, code, reasoning chains, multilingual, etc.) exceeds current capacity;
    • Assess whether the communication layout has become a bottleneck, and if necessary change the parallelism strategy before changing the structure;
    • Keep rollback points: run small-scale controlled experiments before and after each scaling step to avoid irreversible structural decisions.

    7. Conclusion: What Drops Is the Method Barrier, Not the Investment

    Training a first-tier foundation model on a budget in the millions shows that progressive scaling makes limited compute go further, significantly lowering trial-and-error costs and the method barrier; but data quality, evaluation systems, cluster stability, and operational capability remain hard constraints. For enterprises, a more realistic path is to first use small-scale progressive training to validate data and curriculum design, then rely on general cloud infrastructure such as container platforms, object storage, log services, and monitoring and alerting to support large-scale training, confining uncertainty within a measurable engineering loop.