How to Evaluate LLM Mathematical Reasoning and Usage Costs Scientifically

    Large language models are increasingly used for mathematical reasoning, but a model that produces fluent, formula-rich answers is not necessarily reliable, and low per-call pricing does not guarantee low total cost. This article explains how to evaluate LLMs against the actual task pipeline—from understanding a proposition to producing verifiable proofs and lecture notes. It breaks mathematical capability into four distinct dimensions: explaining known results, completing missing proofs, multi-step reasoning with lemma management, and assisting with open research problems. It then covers how to separately assess logical correctness and presentation quality, build a reproducible evaluation process with tiered task sets and error grading, account for retries, queuing, and manual review in total cost, and use a staged prompting and review workflow. The result is a practical framework for judging whether a model can deliver validated mathematical work at an acceptable cost.

    1. Judge Models by Task Completion, Not by “Feeling Smart”

    When evaluating a large language model on complex mathematical problems, users typically care about two things: how hard the problems it can solve are, and how much it costs to solve them.

    These two questions cannot be separated. A model that produces fluent, formula-rich output may omit a crucial condition in a key derivation step. A model with low per-call pricing may still end up costing more in practice due to repeated retries, long queuing times, and extensive manual revision.

    So the right object of evaluation is not an abstract notion of “model strength,” but the concrete task pipeline:

    Input materials → understanding the proposition → constructing a proof → checking the logic → producing lecture notes → human acceptance.

    Only when this pipeline produces a usable deliverable does the API call create real value. For a researcher, the usable deliverable might be a verified proof draft; for a developer, a correct implementation of a mathematical algorithm; for an enterprise user, a technical document that can enter the review process.

    The core question should shift from “how smart does the model look” to “what can it reliably deliver under explicit constraints.”

    2. Mathematical Capability Is Not a Single Metric

    1. Ability to explain known results

    This category includes explaining definitions, expanding derivations from textbooks, filling in standard proof steps, and stating the conditions under which a theorem applies.

    It mainly tests knowledge organization and expression. Even if a model performs well here, this does not mean it has original research capability, because the relevant knowledge may already be widely available in public materials.

    This capability is well suited for learning assistance, documentation, and drafting basic lecture notes—but you still need to check symbol definitions, scope of applicability, and exceptional cases.

    2. Ability to complete missing proofs

    If the reference material only lists a proposition without a proof, the difficulty usually increases. The model has to organize its own reasoning based on definitions, prior results, and mathematical structure.

    But “no proof in the material” does not mean “the proof is a novel discovery.” Similar results may appear elsewhere, and the model may be applying standard, well-established methods. When evaluating, focus on whether the proof is valid and whether it satisfies the specified conditions—do not rush to claim the model produced original research.

    Crucially, the proposition must be stated in full. Omitting a single condition can turn a true statement into a false one; ignoring default conventions implied by the context can make a proof look complete while actually not applying.

    3. Ability to reason across multiple steps and connect knowledge

    More complex tasks often require proving several lemmas first and then assembling them. Here the model must not only master local knowledge but also manage dependencies.

    Common failure modes include:

    • Using a main result that has not yet been proven inside a lemma, creating circular reasoning;
    • Citing a stronger result than the target proposition without stating its conditions;
    • Quietly strengthening an assumption partway through;
    • Extending a property that holds only locally to the whole structure;
    • Unconditionally transferring reasoning from finite cases to infinite cases.

    For multi-step reasoning, quality cannot be judged by length. What matters is whether every step has a legitimate basis and whether the steps form a closed proof chain.

    4. Ability to assist with open research problems

    Open problems have no established answers, so verification is much harder than for standard exercises. A model can help organize known results, suggest candidate lemmas, explore special cases, or search for counterexamples—but these activities are not equivalent to solving open problems.

    An answer that looks insightful at most provides research leads worth checking. Whether it constitutes real progress requires careful verification by experts, who must also confirm its relationship to existing knowledge.

    So do not conclude from personal experience that a model “can solve open problems,” and never treat an unverified proof as a formal research result.

    3. Proof Quality and Lecture-Note Quality Must Be Assessed Separately

    Mathematical lecture notes have two independent dimensions: logical correctness and readability of the presentation.

    A document can be clearly structured, natural in language, and typographically flawless while containing a fatal mathematical error. Conversely, a proof can be entirely correct but so compressed that readers cannot follow the key steps. These should be scored separately, so that surface polish does not mask content defects.

    1. Correctness checks

    Go through the following items one by one:

    • All variables, objects, and symbols are defined;
    • Quantifiers in the proposition match the original statement;
    • Every conclusion follows from the stated assumptions;
    • Every cited theorem satisfies its usage conditions;
    • No special cases have been omitted;
    • The final conclusion actually corresponds to the original proposition.

    Pay special attention to phrases like “obviously,” “it is easy to see,” and “by standard results.” These do not necessarily indicate an error, but they may hide the hardest part of the proof.

    2. Presentation quality checks

    Lecture notes should clearly distinguish definitions, propositions, lemmas, proofs, and remarks, and keep notation consistent.

    If the output is English lecture notes, also check whether technical terminology is accurate, whether long sentences introduce logical ambiguity, and whether the narrative suits the target reader’s background. The mathematical typesetting source also needs a separate check—for mismatched delimiters, wrong equation environments, or inconsistent numbering references.

    The fact that typesetting compiles successfully only means the document structure is basically valid; it says nothing about mathematical correctness.

    3. Don’t equate verbosity with high-quality reasoning

    A long answer may simply repeat definitions, add tangential discussion, or restate the same conclusion. A concise answer can also be a correct and mature proof.

    What matters is verifiable proof steps, not the length of any internal “reasoning process.” Reliable output should include key lemmas, the basis for each citation, statements of conditions, and necessary calculations—not padding for its own sake.

    4. Build a Reproducible Mathematical Evaluation Process

    1. Design a tiered task set

    Don’t evaluate a model on a single problem. Prepare tasks such as the following:

    Task type Primary competency tested Key risk
    Definition explanation and basic proofs Knowledge accuracy, expression Concept confusion
    Missing-proof completion Reasoning organization, condition management Adding unstated assumptions
    Diagnosing erroneous proofs Critical-checking ability Accommodating a wrong conclusion
    Constructing counterexamples Awareness of boundaries, structural understanding Examples that don’t satisfy the conditions
    Multi-lemma synthesis problems Long-range dependency management Circular reasoning
    Research exploration tasks Producing checkable leads Stating a conjecture as a theorem

    Tasks should match the actual use case. A teaching-oriented evaluation need not replicate research-level problems, and a research-assistance evaluation cannot rely solely on basic-problem accuracy.

    2. Fix input conditions

    When comparing configurations, keep the proposition text, background material, output language, and acceptance criteria consistent.

    If one test provides full definitions while another gives only a one-line summary, the results are not directly comparable. Whether retrieval, code execution, or external materials are allowed should also be explicitly recorded, since these conditions change how the task is performed.

    3. Repeat tests on key tasks

    A single success may involve luck. For important tasks, run multiple independent tests and record:

    • The number of fully correct results;
    • The number of partially correct results requiring repair;
    • The number of results with critical logical errors;
    • Time and resource consumption per run;
    • The amount of manual revision required.

    If a configuration occasionally produces an excellent proof but most results contain hidden errors, it is not suitable for workflows that need stable delivery.

    4. Use error grading, not just a total score

    Classify results into:

    • Directly acceptable: the core reasoning is complete, with only minor wording adjustments needed;
    • Repairable: the overall direction is correct, with clear and localized gaps;
    • Critical error: a core step is invalid and cannot be fixed with simple edits;
    • Task not completed: only an outline is given, the problem is restated, or no conclusion is derived.

    This classification is more useful than a single aggregate score, because it directly reflects the downstream workload.

    5. Include Quotas, Queuing, and Manual Review in Cost

    1. Remaining quota is not a budget you must spend

    Credits or quota approaching expiration can trigger a “don’t waste it” mentality, leading users to launch high-consumption tasks without a clear goal.

    But past spending is already sunk. What matters now is whether this call produces an artifact worth saving, reviewing, and reusing.

    A better approach is to maintain a backlog and prioritize existing needs—completing technical documentation, generating lecture notes pending review, or organizing materials for a long-term project—rather than fabricating tasks just to burn quota.

    2. A single task’s share of quota has limited explanatory power

    The fact that a task consumed a small fraction of the monthly quota only describes the resource usage of that task under that configuration. It cannot be extrapolated to other tasks’ costs, nor does it prove long-term cost-effectiveness.

    Input length, output length, task complexity, retry counts, and service rules all affect consumption. For long lecture-note tasks, early progress can look smooth while late-stage logical gaps force substantial rework.

    3. Measure economics by “cost per accepted deliverable”

    Use a general metric:

    Effective cost = total cost of completing tasks ÷ number of deliverables that pass acceptance.

    Total cost should at least include API call costs, manual review cost, and revision cost. Losses from queuing delays can be estimated separately depending on the business.

    If calls are cheap but every output requires an expert to correct errors, the effective cost per deliverable can still be high. Conversely, a higher call price with stable results may be more suitable for high-value tasks.

    4. Break latency into stages

    Record queuing time, generation time, and acceptance time separately.

    For interactive tasks, queuing time affects experience. For offline lecture-note production, generation time may not be the most critical factor—proof quality and human review time matter more. Don’t look only at response speed and ignore the usability of the output.

    6. Improve Prompting and Review Workflow

    Trying to do everything in a single request makes it hard to localize problems. A staged approach is safer.

    Stage 1: Confirm the proposition

    Provide the complete proposition, definitions, and allowed prior results, and ask the model to first check whether any condition is missing and to list potential ambiguities.

    Stage 2: Generate a proof draft

    Ask for the proof strategy, necessary lemmas, and key steps, with unverified guesses explicitly flagged as such rather than stated as fact.

    A suitable instruction looks like:

    Prove the proposition under the given assumptions. First explain the role of each assumption in the proof, then list the required lemmas, and then give the complete proof. When citing external results, state the specific content and applicable conditions; explicitly mark any steps you cannot complete, and do not paper over gaps with vague summary statements.

    Stage 3: Targeted review

    Don’t just ask “is this proof correct?” Instead, require a step-by-step condition check, a search for counterexamples, identification of circular reasoning, and identification of the weakest derivation.

    Model self-checks can provide clues but cannot replace independent verification. The model may repeat the same mistake, so key conclusions still need expert review. For problems amenable to computation, you can check special cases or numerical behavior programmatically—but finitely many examples cannot prove a general proposition.

    Stage 4: Produce the formal lecture notes

    Only after the core proof passes review should you move to English rewriting, section organization, and mathematical typesetting. This avoids repeatedly polishing content that is wrong.

    Keep versions of the proposition, proof drafts, review comments, and final document so you can trace the source of errors and subsequent changes.

    7. Final Judgment: Fit Matters More Than a Generic Ranking

    A model’s mathematical performance varies with task domain, background material, interaction style, and resource configuration. A model that excels at short proofs may not reliably handle long, multi-part derivations; one high-quality generated lecture note does not establish capability across all research tasks.

    A more useful evaluation conclusion is written with boundaries: on which tasks, with what materials provided, after how many test runs, what acceptance level was reached, how much manual revision was needed on average, and whether the overall cost is acceptable.

    For developers and researchers, best practice is not to search for an abstract “strongest model” but to build a reliable workflow: clearly defined tasks, verifiable outputs, detectable failures, recorded costs, and reusable deliverables.

    Only when mathematical correctness, engineering reliability, and economics are placed in the same framework does the evaluation have real decision-making value.