Evaluating Thinking LLMs: Methods and Engineering Practices

    This article presents a practical framework for evaluating thinking large language models that combine multi-step reasoning with tool calls. It defines four core metrics—accuracy, latency, token consumption, and cost per 1,000 calls—and explains how reasoning chains shift the evaluation goal from a single score to a capability-latency-cost decision map. Drawing on a benchmark of roughly 15,000 tasks, it shows where thinking mode helps (reasoning, math, and tool use) and where it regresses (knowledge-intensive and instruction-following tasks), then covers reproducible evaluation workflows, routing strategies, and cost-control practices.

    1. Background: Why Thinking Agents Need a New Evaluation Approach

    Over the past year, the capability shape of large language models has shifted from single-turn question answering to an agent paradigm built on multi-step reasoning and tool calls. A thinking agent generates an internal reasoning trace before producing its final answer. During that trace, it can autonomously decide to call external tools such as retrieval, calculation, or code execution, then continue reasoning from the tool results, forming a loop of think, call, and think again. These models typically still use a Mixture-of-Experts (MoE) architecture, where each forward pass activates only a subset of expert parameters, balancing inference cost against total parameter count.

    This shift directly challenges traditional evaluation methods. Previously we only asked whether the answer was correct. Now we must answer four questions at once: Is the answer accurate, how long does it take, how many tokens does it consume, and how much does a single call cost? The complication is that the reasoning process itself consumes a large number of tokens, so “smarter” arrives together with “more expensive and slower.” The goal of evaluation is therefore no longer an isolated score, but a three-dimensional decision map of capability, latency, and cost.

    2. Definitions and Measurement Rules for Four Core Metrics

    For evaluation conclusions to be trustworthy, the first step is to define the metrics precisely so that different teams are not talking past each other.

    1. Accuracy
      Accuracy is the most intuitive capability metric, but three things must be specified: whether the question set is fixed, whether the scoring method is unified (exact match, rule-based scoring, or model-based scoring), and whether the model is allowed multiple attempts. It is advisable to fix the question set and scoring script, and to run a consistency check on the scorer itself.

    2. Latency
      Distinguish time to first token from end-to-end total time. Total time for a thinking model is significantly higher than for a standard model, because the reasoning chain must be generated token by token. When reporting, provide the mean together with P50/P90/P99, since the mean tends to hide the long tail.

    3. Token Consumption
      Break down input tokens, output tokens, and the hidden consumption attributable to the reasoning process. The longer the reasoning chain, the more output tokens are produced and the higher the cost. Evaluations should record the token breakdown for each call rather than only the total.

    4. Call Cost
      Cost is the sum of separately priced input and output tokens, multiplied by call volume. In engineering practice, cost per 1,000 calls is commonly used for cross-model comparison, because it merges unit price and average token consumption into a single comparable number.

    A sample evaluation record can be structured as follows:

    1. {
    2. "task_id": "math_0421",
    3. "category": "reasoning",
    4. "correct": true,
    5. "latency_ms": 333000,
    6. "tokens": { "input": 1200, "output": 4532 },
    7. "cost_per_1k_calls": 89.2
    8. }

    3. Capability Gains from Thinking Mode: The Logic Behind the Data

    In a comprehensive evaluation of roughly 15,000 questions, the thinking version reached an overall accuracy of 67.9%, up 4.5 percentage points from 63.4% for the base version, moving from 28th to 7th place. This jump shows that thinking mode is not a marginal optimization; it changes the model’s methodology for solving problems.

    Two directions show the most concentrated gains and deserve close attention from developers.

    The first is reasoning and mathematical calculation, which rose from 55.0% to 73.7%, an increase of 18.7 percentage points. Math and logic problems require multi-step derivation. A standard model that errs in one step fails entirely, whereas a reasoning chain lets the model self-check and recompute, effectively turning one-shot generation into iterative refinement.

    The second is agents and tool calling, which rose from 56.0% to 68.0%, an increase of 12.0 percentage points. This is the direct payoff of thinking while using tools: the model first determines what information is missing, then decides which tool to call, and revises its conclusion once results arrive. In engineering terms, this means a higher first-attempt success rate on complex tasks and fewer retries.

    4. The Trade-off to Confront: Regressions from Overthinking

    The value of evaluation lies in exposing problems. The same data shows regressions in some knowledge-intensive domains: finance dropped from 78.6% to 71.9%, law and public administration from 78.7% to 72.3%, language and instruction following from 69.8% to 63.4%, and healthcare and mental health from 80.5% to 77.7%.

    These regressions share a common trait: the questions rely more on retrieving existing knowledge and following formats than on multi-step derivation. When a model is required to think before answering, it may overcomplicate simple questions, introduce unnecessary intermediate reasoning, and even drift away from the original instruction over a long chain. The implication for developers is clear: thinking mode is not a universal switch and should be routed by task type. Knowledge question answering, format extraction, and fixed-template generation should take the non-thinking path; math, planning, and multi-tool coordination should take the thinking path.

    A practical routing strategy looks like this:

    1. def route(task):
    2. if task.type in {"qa", "extraction", "format"}:
    3. return "fast_model"
    4. if task.type in {"math", "planning", "multi_tool"}:
    5. return "thinking_model"
    6. return "fast_model" if task.risk == "low" else "thinking_model"

    5. How to Compare Models Correctly: Same Measurement, Same Question Set, Same Scoring

    Cross-model comparison is the easiest place to get misleading results. The data above places the thinking version at 67.9%, in the upper-middle range, ahead of some same-generation models (around 66.9% and 66.5%) and behind leading thinking models (around 71.7% and 70.1%). Reproducing such conclusions requires three conditions: the same question set, the same scoring script, and the same concurrency and timeout settings. In addition, when the evaluation is primarily in Chinese, the conclusions cannot be directly extrapolated to other languages; specialized domains such as healthcare and law also require review by domain experts.

    A suggested comparison table structure:

    Model Tier Accuracy P90 Latency Average Tokens Cost per 1K Calls
    Non-thinking base 63.4% Medium Low Low
    Thinking 67.9% High High Medium
    Leading thinking 71.7% High High Medium-high

    6. A Reproducible Evaluation Workflow

    1. Fix the question set and version numbers so every result traces back to a specific model version and prompt version.
    2. Use stratified sampling across reasoning, knowledge, tool calling, and instruction following, so a total score does not mask weak areas.
    3. Unify concurrency and timeout settings. Thinking models take longer, and a timeout threshold that is too short will artificially depress accuracy.
    4. Record full token and cost details to build a cost regression curve.
    5. Establish a regression gate: run a fixed subset before a new version ships, and block the release if regressions exceed the threshold.

    7. Cost Control and Launch Recommendations

    On average, a thinking model call takes about 333 seconds and 5,732 tokens, at roughly 89.2 per 1,000 calls, with an output price of about 16 per million tokens. Cost optimization can start in four places: route by task type so simple tasks do not enable thinking; limit the thinking budget by setting a maximum number of reasoning steps and a maximum output token count; cache high-frequency questions and tool results; and make heavy-compute tasks asynchronous, using a message queue to smooth peaks, object storage to persist intermediate artifacts, and monitoring and alerting to track latency and cost drift.

    When deploying on Baidu AI Cloud, you can combine a container platform to host inference services with logging, monitoring, and alerting for observability, forming a loop of evaluate, canary release, monitor, and roll back. The final conclusion is not complicated: a thinking agent is a capability upgrade, but not a free one. Using it where multi-step reasoning and tool coordination are needed, and holding the line on cost and stability with rigorous evaluation and routing, is the right engineering answer.