How to Evaluate the Math Capabilities of LLMs (That Usually Fall Short of Opus 5)

    Model capability is multidimensional and task needs are layered, so asking "which model is strongest" is often the wrong question. This article presents a reusable framework for evaluating large language models across three dimensions: task layering, scenario strategy, and rigorous reasoning evaluation. It explains how to match models to four task types, why response speed becomes decisive once the capability gap is small, and how to use unpublished mathematical propositions to separate genuine reasoning from memorized answers. It also covers prompt design, systematic evaluation with regression testing, model routing, and common pitfalls, helping developers make informed model-selection decisions.

    1. Introduction: What Matters Is Not “Who Is Strongest” but “Who Is Most Suitable”

    With AI coding tools and LLM platforms evolving rapidly, developers encounter new models and new versions almost every week. Benchmarks, leaderboards, and real user feedback keep pouring in, yet opinions often contradict each other: some praise a model as “pretty capable,” while others complain that “it’s awkward to use in practice.”

    This contradiction is no accident. Model capability is multidimensional, and task requirements are layered. The point can be summed up in one statement:

    If a model doesn’t establish a clear lead in its core strength areas (such as open-ended, rigorous reasoning) and its day-to-day response speed is noticeably slow, then it sits at a “cost-effectiveness disadvantage” in most development scenarios. What we call “awkward” is essentially a model with a high capability ceiling but low everyday efficiency, lacking irreplaceability in mainstream tasks.

    To illustrate, consider two hypothetical general-purpose models:

    • Model X: broad knowledge, strong associative and divergent thinking, but slow generation speed;
    • Model Y: stable engineering execution, significantly faster output.

    When you put them side by side, you get an intriguing result:

    Use case Conclusion Reason
    Creative ideation Each has its strengths Their advantages don’t fully overlap
    Everyday execution tasks Y wins almost across the board X is only slightly better on a few tasks, but the waiting cost is clearly higher

    This is exactly the point developers keep debating in “how to evaluate a model” discussions: what exactly makes a model expensive, and is it worth using in daily work? Rather than focusing on any specific product, this article approaches model evaluation from three angles — task layering, scenario strategy, and rigorous reasoning evaluation — to provide a reusable framework.

    2. Task Layering: Different Task Types Need Different Models

    Before discussing which model is better, you first need to layer the tasks. A developer’s day-to-day work roughly falls into four categories:

    1. Creative ideation: requirement gathering, solution design, brainstorming, test case conception, and so on. These tasks emphasize divergence and diversity of perspective, with relatively low demands on speed and stability; the final answer usually needs human filtering.
    2. Everyday execution: code completion, unit test generation, comment and documentation writing, simple refactoring, SQL writing, and so on. These tasks have clear boundaries and outcomes that are easy to verify. “Smart enough” matters more than “extremely smart,” and waiting time often directly determines the development experience.
    3. Serious reasoning: algorithm design, architecture trade-offs, complex bug diagnosis, mathematical proofs, logical reasoning, and so on. These tasks require the model to perform long-chain, multi-step thinking; the capability ceiling is crucial, and quality differences get amplified directly.
    4. Knowledge retrieval and summarization: technical documentation summarization, error message interpretation, codebase understanding, and so on. These tasks depend heavily on context quality, and combining them with retrieval-augmented generation (RAG) is often more effective than simply swapping the model.

    The point of layering is that the same model has completely different cost-effectiveness across these tiers. Many users feel a model is “awkward” because they use it for tasks that a faster model could handle, yet they don’t have enough serious-reasoning needs that genuinely require it. As a result, its high capability becomes “capability you never use,” while its slow speed becomes a real burden.

    3. Scenario Strategy: Put Each Model Where It Belongs

    Once tasks are layered, you can define a model-usage strategy for each tier.

    3.1 Creative Ideation: In Divergent Scenarios, Performance Depends on “Reasoning Effort”

    Some users report that brainstorming in a general chat interface produces mediocre results, but after switching to a third-party coding agent that supports multiple reasoning-effort levels and turning the effort up high, the creative quality improves noticeably.

    This shows that the same model’s performance under different access methods can depend on several factors:

    • Reasoning budget: hard tasks require more internal thinking; when reasoning effort is insufficient, output tends to stay superficial;
    • Context management: whether long documents, multiple files, and complex project structures can be delivered to the model completely and accurately;
    • Interaction mode: a single one-shot prompt versus letting the model self-correct over multiple turns.

    So for creative ideation tasks, the recommended approach is:

    • Prepare separate prompt templates for “divergence” and “deep dive”: first have the model list as many candidate directions as possible, then analyze one or two of them in depth;
    • When the access method allows, prefer calls with adjustable reasoning effort;
    • Keep a “human filtering” mindset toward the output — the value of creative tasks lies in providing more perspectives, not in giving the final answer.

    3.2 Everyday Execution: When the Speed Gap Reaches Multiples, Speed Is the Core Advantage

    In everyday execution scenarios like code generation and unit test writing, a user compared two products of the same generation:

    Model Intelligence Speed Overall experience
    Model X Slightly better, but limited advantage Slow High waiting cost, disjointed interaction
    Model Y Basically on par with X About 9x that of X Instant feedback, continuous workflow

    The absolute capability gap between the two may be only “a few percentage points,” but the perceived gap is the difference between “waiting tens of seconds” and “results in a few seconds.” For developers who fire off dozens of code completions and Q&A queries a day, the accumulated time cost is considerable. Worse, slow feedback interrupts the flow of thought: just when you’ve entered a “flow state,” one long wait is enough to divert your attention.

    Of course, this doesn’t mean a slow model is useless. The “think first, then answer” mechanism used by reasoning models is essentially trading time for quality. When facing tasks like algorithm design or tricky bug diagnosis, this “time investment” is worthwhile. The problem is simply that paying the cost of deep thinking for tasks that don’t need deep thinking is a waste.

    So for everyday execution tasks, follow two principles:

    • Prefer models with fast responses: as long as the results are verifiable and the quality is acceptable, speed is the top priority;
    • Set up task triage: simple tasks take the “fast lane” and complex tasks take the “slow lane,” for example by using a unified model gateway that routes dynamically by task type or complexity.

    Looking at what LLM platforms commonly offer, using a unified model access layer to orchestrate different model tiers into the same workflow is already a fairly common practice in the industry. Developers can pick the right model tier for each step based on task type, latency requirements, and cost budget. This “combining fast and slow, taking the best of each” architecture is often more pragmatic than “searching for one universal model.”

    4. Rigorous Reasoning: How to Prove a Model “Isn’t Copying Answers”

    If speed and scenario fit determine a model’s “everyday usability,” then its performance on rigorous reasoning tasks determines its “capability ceiling.” The most typical form of such tasks is the mathematical proof.

    4.1 Why Use Math Proofs to “Inspect Quality”

    A user ran a “stress test” on a model’s math capability with a mid-tier subscription plan:

    • Task: write a complete proof for a specific math proposition and format the output as an English math lecture note;
    • Result: the notes were well organized and the argument complete, and the task consumed only a small fraction of the monthly quota;
    • Key premise: the proposition had no proof included in the public math resource database the user referenced.

    That “key premise” is precisely the most valuable part of the whole thing. If a proposition already has an existing proof, the model may “recite” the answer from its training corpus, and the evaluation can’t distinguish “real reasoning” from “memory retrieval.” But choosing a proposition that isn’t publicly documented puts the model in a situation where it can’t bluff its way through on memory, forcing it to perform genuine step-by-step derivation.

    From a methodology standpoint, these tasks have several natural advantages:

    • Objective answers: whether a proof is correct can be verified by peers or experts and doesn’t depend on subjective preference;
    • Complete chain: from definitions and lemmas to the conclusion, every step needs rigorous logical connection;
    • Reproducible: the same proposition and prompt can be reused repeatedly for cross-model, cross-version comparison.

    4.2 Four Dimensions of Math Capability Evaluation

    To systematically evaluate a batch of models with math proof tasks, you can design a scoring rubric around the following four dimensions:

    Dimension Focus Scoring suggestion
    Proposition selection Whether it is not publicly documented, whether the difficulty is moderate A pre-screening condition, not counted in scoring
    Proof correctness Whether each reasoning step is rigorous, whether there is circular reasoning or gaps Highest weight; can directly determine pass/fail
    Citation accuracy Whether the cited theorems and lemmas actually exist and their conditions are met Fabricated theorems should be treated as a serious flaw
    Presentation quality Whether the structure is clear, notation is standardized, and formatting is readable A secondary distinguishing dimension

    What especially needs to be watched for is the “hallucinated proof“: the model writes a derivation that looks rigorous but actually cites non-existent theorems, or swaps concepts at key steps. So manual review of the output is essential — you can’t rely entirely on the model’s self-assessment.

    4.3 Prompt Design: Write the “Evaluation Criteria” into the Task

    In math proof tasks, prompt quality often determines the usability of the output. An effective prompt usually includes:

    • Clear input: give the complete proposition statement, with definitions and background if needed;
    • Clear output format: for example, “output as an English math lecture note, including the theorem statement, proof steps, and the lemmas used with their sources”;
    • Clear constraints: for example, “do not use unproven assumptions,” “for each theorem cited, state its applicability conditions”;
    • Clear self-check requirements: for example, “after completing the proof, step back and re-verify the logical basis of each step.”

    4.4 From “Single-Point Experience” to “Systematic Evaluation”

    One successful math proof experience only shows that a model has the relevant potential; it isn’t enough to support a selection decision. To reach a reliable conclusion, you need to fold it into a systematic evaluation process:

    1. Build an evaluation set: per the task layering above, prepare several representative questions per category, with the rigorous reasoning category including several “obscure propositions”;
    2. Fix the evaluation protocol: unify prompts, call parameters, and context length to ensure a fair comparison;
    3. Record multi-dimensional metrics: beyond accuracy, also record response time, token consumption, and so on;
    4. Multi-person review: for more subjective dimensions (such as presentation quality), have multiple people score independently and average the results.

    Only by turning “I think it’s pretty good” into “on which task, measured by which metric, with what result” can model evaluation truly provide a basis for technical selection.

    5. Putting Evaluation into Engineering Practice

    Personal usage experience matters, but enterprise-level technical selection needs a more rigorous engineering method. Here are some practice suggestions that can be implemented directly.

    5.1 Build Task Triage and Model Routing

    As noted, no single model is optimal across all scenarios. A pragmatic approach is to introduce a unified model access and scheduling layer that dynamically selects models by task type. Sample rules:

    1. Task type classification
    2. ├── Code completion / simple Q&A ──> Low-latency, cost-effective model tier
    3. ├── Code generation / unit test writing ──> Balanced model tier
    4. ├── Architecture design / hard debugging ──> High-reasoning-effort model tier
    5. └── Math proofs / formal derivation ──> Deep-reasoning model tier

    The benefit of this design is that everyday interactions are backed by fast models for a good experience, critical tasks are backed by strong models for quality, and overall cost and performance reach a better balance.

    5.2 Build a Continuous Evaluation and Regression Mechanism

    Model versions iterate frequently, and today’s “best choice” may lose its crown in the next version. Teams are advised to set up a continuous evaluation mechanism:

    • Put the evaluation set under version control and automatically run a regression round after each model upgrade;
    • Set a “quality red line” for key scenarios — switching the default model is not allowed if it isn’t met;
    • Keep historical evaluation data to make it easy to trace capability changes across versions.

    5.3 Focus on Context and Toolchain, Not Just the Model

    In many scenarios, the bottleneck in model performance isn’t the model itself but whether the information fed to it is sufficient and accurate. Combining engineering techniques like retrieval-augmented generation, codebase indexing, and tool calling often yields better results at lower cost. Rather than constantly chasing the “strongest model,” it’s better to first review whether your context organization is reasonable.

    6. Common Misconceptions and a Pitfall Guide

    The following misconceptions are quite common in model evaluation and selection:

    1. Leaderboard worship: the questions on public leaderboards may not match your business distribution, and a high rank doesn’t mean a model is optimal in your scenario;
    2. Speed-only or capability-only thinking: pursuing only speed or only strength while ignoring the match between task and scenario;
    3. Ignoring total cost of ownership: beyond call fees, also consider the hidden cost of latency plus integration and maintenance costs;
    4. Drawing conclusions from a single experience: the result of a single task is heavily influenced by incidental factors like prompts and context, so it needs multiple, multi-task validation;
    5. Ignoring data security and compliance: when sensitive code or business data is involved, pay attention to the platform’s data-handling policy and compliance capabilities.

    7. Conclusion

    Back to the original question: how do you evaluate an LLM?

    Pulling together this article’s analysis, we can draw three conclusions:

    • There is no “all-rounder,” only the “most suitable”: task layering is the first step in model selection — creative ideation, everyday execution, and serious reasoning each have their fit;
    • Speed is an undervalued core metric: when capability is neck and neck with competitors, response speed determines the everyday experience; and when the speed gap reaches multiples, a slow model is only valuable in the very few scenarios that genuinely require it;
    • Rigorous reasoning is the “touchstone”: testing a model with a proposition that isn’t publicly documented can effectively distinguish “real reasoning” from “fake memory” and is a reliable way to assess a model’s capability ceiling.

    For developers, rather than agonizing over “which model is strongest,” it’s better to build your own task layering, scenario fit, and continuous evaluation methodology. On platforms like Baidu AI Cloud, developers can use unified model access and scheduling capabilities to flexibly orchestrate different model tiers into their applications; combined with careful prompt design, reasonable context organization, and continuous regression evaluation, this puts every model where it does best. That is the best answer to the question “how do you evaluate a model.”