Evaluating Post-Training Capabilities of Open-Source LLMs: A Practical Framework

    An open-source LLM ranking at the top of a general leaderboard is not necessarily the best fit for your workload. This article explains why aggregate scores diverge from real engineering outcomes, how to reweight evaluation toward coding and agentic tool use, why post-training has become the decisive factor, and how to measure effective cost per task. It also outlines a practical selection workflow based on an in-house evaluation set, canary rollout, and continuous regression testing.

    1. Why “Ranked First” Does Not Mean “Best for You”

    Open-source LLMs iterate quickly, and it is easy to be drawn to a model that sits near the top of an aggregate leaderboard. Once real engineering work begins, however, the experience is usually determined not by the total score but by stability on specific tasks, instruction adherence, tool-calling ability, and cost per unit of work.

    A more reasonable evaluation framework puts capability structure and usage cost in the same table. Capability structure captures relative strengths across task families. Usage cost captures the compute and call overhead required to complete one effective task under real business load. Only the combination answers the question of whether a model is worth adopting.

    2. From Aggregate Scores to Task-Family Weighting

    Conventional leaderboards aggregate knowledge Q&A, reasoning, code, and instruction following at roughly balanced ratios. For current development scenarios, those weights often miss the mark: business systems spend most of their effort on code generation and modification, tool orchestration, and multi-step execution, and these capabilities are highly sensitive to post-training quality.

    A more practice-oriented approach raises the weight of coding and agentic tasks, treats hard reasoning as an upper-bound probe, and shrinks the share of pure knowledge and single-turn instruction following. The weighting logic can be expressed as pseudocode:

    1. score = 0.35 * coding
    2. + 0.30 * agentic_tool_use
    3. + 0.20 * hard_reasoning
    4. + 0.10 * knowledge
    5. + 0.05 * instruction_following

    The point of this weighting is that knowledge and single-turn instructions can be compensated for with retrieval, tools, and process orchestration, while multi-step execution and code correctness are shortfalls that external add-ons can hardly close. Once the weights are aligned with the business, the gap between leaderboard rank and hands-on impression narrows noticeably.

    3. Why Post-Training Has Become the Dividing Line

    For a period, competition centered on base model scale and data quality. At the current stage, post-training (alignment, instruction tuning, preference optimization, tool-use training, and so on) has a much larger effect on real-world usability. Two models with comparable base capabilities can diverge far more on real tasks after different intensities of post-training than their on-paper parameter differences would suggest.

    The gains from post-training show up in three areas:

    • Instruction execution stability: fewer dropped conditions under complex constraints, and more controllable output formats.
    • Front-end and interaction tasks: front-end quality depends heavily on the ability to implement against constraints rather than on knowledge volume alone.
    • Agent workflow success rate: more reliable error recovery and state retention across multi-turn tool calls.

    A simplified execution chain shows where post-training acts:

    1. user intent -> constraint parsing -> plan generation -> tool call -> result validation -> iterative correction
    2. ↑ Post-training mainly strengthens: constraint parsing, tool calls, iterative correction

    4. Why Some Models Produce Better Front-End Results: Execution, Not Knowledge

    Many teams notice that certain models are more “obedient” at UI generation, style reproduction, and interaction implementation. This is not because they hold more front-end knowledge, but because they are better at turning natural-language constraints into structured output reliably: respecting design spacing, keeping component naming consistent, organizing files around a specified framework, and making changes within a bounded scope without breaking existing logic.

    This kind of capability can be measured with acceptance methods closer to the business, for example:

    1. Constraint satisfaction rate: given 10 hard constraints, the proportion the final artifact satisfies.
    2. First-pass rate: the proportion that enters integration testing without manual rework.
    3. Regression breakage rate: the proportion of changes that cause existing functionality to fail.

    5. Cost Is Not Just Unit Price: Use Effective Cost per Task

    Another common mistake is comparing only the price per million tokens. Real cost should be converted into the total spend of completing one effective task, including retries, context inflation, tool round trips, and human review. In practice, a model with stronger post-training and a higher first-pass rate may have a better overall cost even at a higher unit price; conversely, a cheap model that retries repeatedly often produces a bill that is not low at all.

    Use the following metric for cross-comparison:

    1. effective cost per task = (input tokens + output tokens + tool round-trip tokens) * unit price * retry count / first-pass rate

    Architecturally, tiered routing can control cost: send simple tasks to a lightweight model, route complex coding and multi-step execution to a more capable model, and use caching, summarization, and retrieval to limit context inflation.

    6. A Selection Process You Can Actually Run

    1. Build your own evaluation set: sample from real tickets and code repositories, covering coding, tool calls, constraint execution, and hard reasoning.
    2. Set weights and thresholds: assign weights by business share, and define red lines for first-pass rate and regression breakage rate.
    3. Run a small-traffic canary: execute in shadow mode in parallel, comparing effective cost per task and manual rework volume.
    4. Keep regressing continuously: rerun the evaluation set after each model iteration to catch capability regressions.

    7. Conclusion

    Evaluating an open-source LLM is not about chasing the top aggregate score. It is about aligning evaluation weights with the business, bringing post-training execution ability into the core metrics, and converting cost into effective spend per task. To host model serving, you can build the evaluation and canary system on general cloud capabilities such as container platforms, object storage, log services, and monitoring with alerting, moving selection from subjective impression to reproducible engineering decisions.