Post-Training or a New Foundation Model? How to Choose the Right LLM Strategy

    Choosing between deeper post-training and building a new foundation model depends on where the real bottleneck lies. This article explains when to extend an existing model, when a new pretraining effort may be justified, how to interpret terminal-agent benchmarks, and how to run a controlled A/B evaluation with confidence intervals and rollback criteria.

    1. The Short Answer

    Before choosing a model strategy, ask one question: Does the task require knowledge that the current foundation model does not have?

    If the main challenge is getting a model to perform multi-step engineering tasks more reliably—such as reading code, editing files, running tests, and fixing errors—prioritize an existing foundation model with stronger post-training.

    If the task depends on new domain knowledge, low-resource language data, or specialized corpora that the current model clearly lacks, then the cost and risk of building a new foundation model deserve serious consideration.

    These two approaches are not mutually exclusive. A safer process is to first validate task feasibility with a model developed through the post-training route, and only then decide whether to invest in a new foundation model.

    2. Option A: Extending an Existing Model Through Post-Training

    2.1 Why “Only Improving Post-Training” Was Once Seen as a Conservative Choice

    For a long time, the industry viewed changes to the foundation model as the only meaningful upgrade, while post-training was treated as minor refinement. This view was shaped by the success of pretraining scaling laws. Over the past several years, increasing parameter counts and data volumes was one of the most reliable ways to improve model capabilities, so pretraining naturally became the primary focus.

    That view is now changing. Pretraining determines the lower bound of a model’s knowledge, while post-training determines how effectively the model can turn that knowledge into useful behavior.

    A model with high-quality pretraining but insufficient post-training often performs inconsistently in real tasks. It may know what should be done, yet lose track of the objective midway through a workflow or make mistakes when calling tools.

    2.2 Three Core Levers for Post-Training at Scale

    Based on publicly shared information, efforts to extract more value from an existing foundation model generally focus on three areas.

    1. Expanding long-horizon task environments.
    The model is trained repeatedly on realistic engineering task chains. The training target is not a single-turn question and answer, but a complete loop that may require multiple reasoning steps, code or file changes, validation, and correction. The more varied the environments, the more opportunities the model has to learn how to complete tasks in practice.

    2. Diversifying environment types.
    Training should cover terminal operations, repository-level code changes, and collaboration across multiple tools. Diversity has a direct impact on generalization. An agent trained in only one type of environment may perform significantly worse when moved to another.

    3. Increasing reinforcement learning compute and duration.
    The reinforcement learning stage is often the most resource-intensive part of post-training. This is a direct way to improve performance, but it requires reliable reward signals. If the reward design contains loopholes, additional compute may simply help the model exploit the scoring rules rather than complete the actual task.

    Some teams have publicly discussed expanding the number of training environments from hundreds to thousands or even tens of thousands, along with roughly an order-of-magnitude increase in reinforcement learning compute. These claims may use different definitions and have not necessarily been independently verified. When citing such figures, the source and measurement scope should be stated clearly. They should not be treated as universal benchmarks.

    2.3 Boundaries and Risks

    Post-training can improve how well a model invokes, organizes, and consistently applies capabilities it already possesses. It cannot create knowledge that the foundation model has never learned.

    If your business terminology, internal system documentation, or specialized domain corpus falls outside the model’s knowledge base, even highly effective post-training may not be enough to close the gap.

    The common car analogy only means that post-training helps deliver existing capability effectively—similar to transferring engine power to the road. It does not mean post-training can replace updates to the model’s underlying knowledge.

    Reward hacking is another risk. If the reward function is poorly designed, training scores may continue to rise while performance on real tasks fails to improve. Evaluation should explicitly test for this possibility.

    3. Option B: Building a New Trillion-Parameter Foundation Model

    Option B involves designing and pretraining a new foundation model at the trillion-parameter scale, followed by post-training, with the goal of achieving a broader generational improvement.

    3.1 The Costs

    The cost of building a new foundation model is concentrated in four areas.

    Compute. Pretraining a trillion-parameter model requires large clusters running continuously. Compute is often the largest single budget item for the team.

    Data. Pretraining data must be collected, cleaned, deduplicated, and filtered for quality. Poor-quality data directly limits the model’s ceiling and is difficult to repair later.

    Development time. From architecture design through pretraining, post-training, and safety alignment, the full process can take months. A failure at any stage may require substantial rework or a restart.

    Risk. Training may become unstable, loss curves may behave unexpectedly, or data problems may be discovered midway through the process. These issues are not always foreseeable during the early stages, and the resulting costs can be significant.

    3.2 When It Is Appropriate

    The new-foundation-model route is more suitable when a team has a stable long-term compute budget, high-quality data sources, mature pretraining engineering capabilities, and a clear need for knowledge or capabilities that existing foundation models cannot provide.

    If any one of these conditions is missing, building a new foundation model may deliver poor returns.

    A new foundation model may provide a higher knowledge ceiling, but post-training still needs to keep pace. Only when both pretraining and post-training are strong can the advantages of a new foundation model become visible.

    4. How to Read Terminal-Agent Benchmarks

    Terminal-agent benchmarks are commonly used to measure a model’s ability to complete tasks involving command-line interfaces, code repositories, and tool calls. Before interpreting benchmark scores, examine the following dimensions.

    Task distribution. Are the benchmark tasks close to your business scenarios? If the benchmark focuses mainly on fixing open-source projects while your team maintains internal systems, its scores have limited reference value.

    Definition of success rate. Is the score based on a single sample or an average over multiple samples? Are retries allowed? Is human intervention permitted? These conditions can significantly affect the result.

    Long-horizon stability. In multi-step tasks, failures in later stages often reveal more than performance in the opening steps. If the model frequently loses the objective after the tenth step, it may not be suitable for complex workflows even if its early-step performance is strong.

    Tool-call error rate. Parameter-format errors, incorrect call ordering, and misinterpretation of tool outputs should be tracked separately. In production, these errors can directly interrupt a task.

    Cost and latency. How many tokens does each task consume, and how long does it take? In production, performance and cost must be evaluated together.

    Data contamination. Do the benchmark tasks or environments overlap with the model’s training data? Greater overlap can make the score overstate the model’s ability to generalize.

    5. A Practical A/B Evaluation Process

    The following process can be used to choose between two candidate models.

    1. Define the task set. Extract tasks from real tickets or requirements. For each task, specify the inputs, expected output, and evaluation criteria. The task set should cover your main scenarios rather than selecting only easy examples.

    2. Keep variables fixed. Use the same evaluation framework, prompt template, tool permissions, and timeout settings for both models. If any of these variables differ, the comparison may not be reliable.

    3. Control the budget. Set the same token and time limits for each model. This prevents one model from gaining an advantage through more attempts.

    4. Run multiple samples. Repeat each task several times—for example, five runs—and record both the average success rate and its distribution. A single run is often too variable to support a decision.

    5. Calculate confidence intervals. Calculate confidence intervals for success rates using methods such as the Wilson interval or bootstrap resampling. If the intervals overlap substantially, do not draw a firm conclusion. Increase the number of tasks or samples instead.

    6. Analyze failure causes. Classify failures by cause, such as misunderstanding, tool-call errors, missing validation, timeout, hallucination, or unauthorized operations. This analysis is often more useful for the next decision than the overall score.

    7. Define rollback conditions. Specify rollback thresholds in advance. For example, roll back if the success rate on critical tasks falls beyond a predefined level and the confidence intervals do not overlap, or if the error rate for high-risk operations exceeds its limit. When the conditions are met, immediately switch back to the original model rather than continuing because of sunk costs.

    Before deployment, use the following checklist:

    Check Questions to Confirm
    Number of environments Do the training or evaluation environments cover the scale and variety of your real scenarios?
    Environment types Do they include terminals, code repositories, and cross-tool workflows that your team actually uses?
    Reward reliability Does a higher score correspond to a higher real-task completion rate?
    Training duration Has the post-training investment been publicly explained, and is it consistent with the benchmark results?
    Data contamination Do the evaluation tasks overlap with the training data?
    Rollback plan Can the system switch back to the original model quickly if problems occur?

    6. Common Mistakes and Safety Reminders

    • Looking only at single-turn scores. Strong single-turn performance does not prove that a model can complete multi-step engineering tasks.
    • Ignoring long-horizon stability. A model that performs correctly at first but drifts away from the objective later may create significant operational risk.
    • Treating score increases as capability gains. Reward loopholes can raise training scores without improving real-world performance.
    • Failing to fix the evaluation budget. If one model receives more attempts, the comparison is distorted.
    • Using similar environments to evaluate generalization. When evaluation environments closely resemble training environments, results may overestimate performance in new settings.
    • Granting excessive permissions during evaluation. When an agent can access production systems, real credentials, or sensitive data, use an isolated sandbox and follow the principle of least privilege. Log all evaluation operations for later auditing.

    7. Conclusion

    The central question in model selection is what the task actually requires.

    If the bottleneck is that the model cannot reliably execute multi-step tasks, a better-post-trained existing foundation model is usually the more economical choice. If the bottleneck is missing foundational knowledge, then the cost, timeline, and risks of building a new foundation model should be evaluated carefully.

    Regardless of the chosen route, use your own task set for A/B testing, apply confidence intervals to determine whether observed differences are statistically credible, and define rollback conditions in advance. Public benchmark scores can provide useful context, but they cannot replace validation in real operating environments.