LLM Evaluation: Benchmarking Model Capability, Reasoning Effort, and Cost

    LLM capabilities advance quickly, so a single leaderboard rank is rarely enough to justify a model choice. This guide covers how to evaluate LLMs across three dimensions: general capability, agent performance, and coding. It explains why cross-model comparisons must use the same reasoning effort (Low, Medium, or High), why a lower price per token does not always mean a lower cost per task, and how to estimate real cost per task using token consumption. It also presents a five-step selection framework and a simple routing example, so you can choose a model that is both effective and affordable.

    1. Why Evaluation Comes First in Model Selection

    LLM capabilities evolve quickly. Under the same model family, you will often find a flagship, a lightweight model, and a mid-tier model in between, with capability and price rising in clear steps. Choosing based only on marketing claims or a single leaderboard rank is a quick way to make an expensive mistake.

    The value of evaluation is turning “this model feels stronger” into conclusions that are measurable, reproducible, and aligned with your business scenarios. Before evaluating anything, define your target use case. Is it general-purpose chat, complex reasoning, agent automation, or code generation? Requirements differ sharply across these use cases, and no single set of metrics can cover them all. Rankings that ignore your scenario have limited value.

    2. Three Core Evaluation Dimensions

    2.1 General Capability

    Composite intelligence indices combine and weight benchmarks for math, reasoning, knowledge Q&A, instruction following, and other areas. The goal is to give a quick side-by-side view of each model’s overall level. Keep three things in mind when reading them:

    • The weighting scheme determines the ranking. Different organizations use different weights, so conclusions can even flip.
    • A high composite score does not guarantee the best result for your specific tasks.
    • Treat composite scores as a first-pass filter, not as the basis for a final decision.

    2.2 Agent Capability

    Agent evaluations focus on how well a model performs in real tasks, typically measuring:

    • Task completion: whether the model can actually finish the job;
    • User satisfaction: whether interactions feel natural and meet expectations;
    • Steerability: whether the model takes correction when redirected mid-task;
    • Tool-call reliability: whether function calls and parameter formats are correct and consistent.

    These evaluations usually draw on large samples of real interactions. That makes them a closer fit for production than static benchmarks. A model with a high composite score that frequently produces invalid tool-call parameters may perform poorly in agent scenarios.

    2.3 Coding Capability

    Coding evaluations have moved from “can it write a correct function?” to “can it complete end-to-end tasks in a real project?” Key measures include:

    • Correctness and test pass rates;
    • Consistency of changes across multiple files and long contexts;
    • Agentic coding performance when working with command-line or IDE toolchains.

    Scores measured alongside a specific AI coding tool often reflect the actual development experience better than scores from the bare model.

    3. Reasoning Effort Tiers: The Overlooked Variable

    Over the past year, mainstream models have widely adopted adjustable “reasoning effort” or “reasoning budget” settings, commonly labeled Low, Medium, and High, with higher levels in some cases. These settings control test-time compute. At a higher effort tier, the model spends more internal reasoning before answering. That tends to raise accuracy on complex tasks, but it also increases latency and token consumption.

    Three things are worth keeping in mind:

    • Capability can jump across tiers. The same model may perform at a different level depending on its reasoning effort. A mid-tier model at high effort may well outperform a flagship model at low effort.
    • Align reasoning effort when comparing models. Without doing so, cross-model conclusions will be misleading.
    • Choose the effort tier to fit the business. Use low effort for high-concurrency, low-latency scenarios, and high effort for complex reasoning and coding tasks.

    4. Cost: A Low Price per Token Does Not Mean a Low Total Cost

    The input and output price per million tokens is only the surface of the cost. Total cost of ownership (TCO) also depends on:

    1. Reasoning effort: higher tiers generate many reasoning tokens, so actual spending can multiply even at the same price per token;
    2. Token consumption: reasoning-oriented models produce longer outputs, which further inflates cost;
    3. Retries and corrections: an unreliable model forces repeated calls, creating a hidden cost;
    4. Caching and batching: whether requests hit a cache and whether batch invocation is supported directly affect the effective price per token.

    The following generic example shows how this trap works:

    1. Assume two models with prices per token of A (higher) and B (lower):
    2. - Model A: higher price, but concise reasoning; ~2,000 tokens per task
    3. - Model B: lower price, but reasoning effort set to High; ~8,000 tokens per task
    4. => If 8,000 * price(B) > 2,000 * price(A), the "cheaper" model actually costs more

    In short, decide based on the actual cost per task, not the list price. In practice, you can use standard cloud capabilities such as log services and monitoring and alerting, which Baidu AI Cloud and other cloud providers offer, to collect real call volumes and token usage. That makes cost observable and traceable to its source.

    5. A Practical Selection Framework

    1. Define the use case and SLOs: first, set hard limits for latency, concurrency, and accuracy;
    2. Benchmark at aligned effort levels: compare models at the same reasoning effort, or evaluate each effort level separately;
    3. Build a private evaluation set: validate with a few dozen to a few hundred real business samples and limited live traffic. These results are more reliable than public leaderboards;
    4. Calculate costs from real token usage: during a canary release before launch, collect actual usage and pricing, then compute the cost per task;
    5. Use dynamic routing: send simple requests to a lightweight model at low effort, and escalate complex ones to a stronger model at high effort. This balances cost and quality.

    A simple routing example:

    1. def route(prompt, task_type):
    2. if task_type == "simple_chat":
    3. return call_model(tier="light", effort="low")
    4. elif task_type == "code_or_agent":
    5. return call_model(tier="strong", effort="high")
    6. else:
    7. return call_model(tier="mid", effort="medium")

    6. Conclusion

    Do not judge an LLM by its rank on a single leaderboard. A more reliable approach:

    1. Compare general capability, agent performance, and coding ability at the same reasoning effort;
    2. Translate real token usage into total cost of ownership;
    3. Validate the final choice with limited live traffic in your own environment.

    Capability, reasoning effort, and cost are all essential. Only by bringing them into one decision framework can you choose a model that is both effective and affordable.