How to Evaluate LLM Math Reasoning Ability and Usage Cost
This article explains how to evaluate large language models on mathematical reasoning and cost using verifiable, task-based criteria instead of rankings. It breaks math capability into knowledge retrieval, proof construction, exposition, and exploration; shows how to design layered test sets that include false propositions and missing assumptions; defines a three-pass review workflow centered on correctness; and shows how to measure cost per successful task and end-to-end delivery time. It also covers splitting complex tasks into acceptance-friendly stages and reporting results as applicability boundaries rather than a single score.
1. Move from user impressions to verifiable technical evaluation
When people evaluate LLMs, they usually give two kinds of feedback: one focuses on “can it solve hard problems,” the other on “was the quota spend worth it.” Both experiences matter, but without task context it is hard to draw reusable conclusions.
For example, asking a model to complete the proof of a mathematical proposition and turn it into English lecture notes does test reasoning, knowledge retrieval, and technical writing at the same time. Yet a long, neatly formatted set of notes may contain unstated extra assumptions, or logical jumps at the critical derivation steps. Conversely, a task that consumed a lot of resources does not necessarily mean the model is inefficient: problem difficulty, context length, number of revisions, and how the model was invoked all affect consumption.
So the point of evaluation is not “which rank a model holds,” but whether, under clearly specified task conditions, it can reliably deliver verifiable results, and how much it costs to obtain them.
For developers and enterprise users, the meaningful unit of evaluation is the task and workflow, not a context-free impression of a model.
2. Math ability is not a single metric
2.1 Knowledge retrieval: can it find the applicable definitions and theorems
Mathematical reasoning usually relies on existing knowledge. The model must first identify the domain of the problem, understand the notation, and select the appropriate definition, lemma, or theorem.
The common failure at this stage is not total ignorance of the relevant knowledge, but knowing a similar result while ignoring its conditions of applicability — for instance, applying a compactness conclusion to a general space, or extending a property that holds in finite dimensions directly to the infinite-dimensional case.
So evaluating knowledge retrieval means checking more than how many technical terms the model mentions:
- Are the cited results actually true?
- Are their conditions stated completely?
- Does the current problem satisfy those conditions?
- Is there a more direct proof route with fewer dependencies?
Reliable output should clearly separate “conditions given in the problem” from “conditions that still need to be confirmed for the proof.”
2.2 Proof construction: can it connect local steps into a complete argument
Proof construction is more than generating several correct sentences; those sentences must form a continuous logical chain.
A model may choose the right approach at the start and then skip the hardest part with phrases like “obviously” or “by a standard result.” For elementary steps the reader already knows, such omission is acceptable; if what is omitted is the core of the proposition, the task is not finished.
When reviewing, break the proof into a set of dependencies:
premises and definitions → auxiliary lemmas → intermediate results → target conclusion.
For each link, ask: what exactly does this step follow from? Does it introduce a new condition? Does it use a result that has not been proved? If a lemma actually depends on the proposition being proved, the argument may be circular.
2.3 Exposition: can it write the proof up as usable lecture notes
Generating technical lecture notes is a composite task. Beyond correctness, you also need consistent notation, clear structure, a match to the reader’s background, and complete narrative.
Usable notes typically include background, the statement of the proposition, necessary definitions, the main body of the proof, and appropriate remarks. Fluent English is only one of these requirements and cannot substitute for mathematical correctness.
In practice, review the proof first and the exposition second. Otherwise polished formatting and natural language make it easy to underestimate logical flaws.
2.4 Exploration: can it advance an unsolved problem
Completing the proof of an existing proposition is not the same level of task as solving a genuinely open problem.
If the reference material shows no proof, that only means the argument is missing from the current material; it does not mean the proposition has never been proved. The model may have retrieved existing knowledge or reconstructed a common proof route. An output that looks novel is not evidence of originality.
For open problems, the more reasonable object of evaluation is the intermediate contribution: can it find counterexamples, handle special cases, identify the key obstacle, or propose a testable lemma? Only after rigorous verification and confirmation of the relationship to existing results can you discuss whether new mathematical results were obtained.
3. Design test tasks that reveal real capability
3.1 Replace single-problem impressions with layered tasks
A single success is informative but not enough to support a stable capability judgment. The test set should cover different difficulty levels and different failure modes.
The basic layer can test definition explanation, standard proofs, and simple counterexamples. The intermediate layer can require filling in omitted steps, comparing two proof methods, or judging whether an assumption can be weakened. The advanced layer can involve combinations of multiple topics, locating errors in long proofs, and local exploration of research-style problems.
For each problem, record the reference conclusion, necessary conditions, and review checkpoints in advance. This prevents you from adjusting the evaluation criteria after seeing the model’s answer.
3.2 Include false propositions and problems with missing conditions
Testing only true propositions tends to reward “produce a proof no matter what.”
A more effective test set includes some false propositions and some propositions missing necessary assumptions. The model should be able to refuse an impossible proof request, explain what is wrong, and, where possible, give a counterexample or a corrected version.
For example, use this test:
“Let a real function be continuous everywhere; prove that it is differentiable everywhere.”
The proposition is false. f(x) = |x| is continuous on the real line but not differentiable at x = 0. The left and right derivatives are −1 and 1, so the derivative does not exist.
The example is simple, but it checks whether the model first judges the truth of the proposition instead of complying with the prompt and producing a plausible-looking but wrong proof.
3.3 Control input conditions and keep reproducible experiment records
If different tests use different context lengths, different materials, or different numbers of revision opportunities, results are hard to compare directly.
Fix the problem statement, background material, output language, and the permitted scope of knowledge, and record the first-pass output, the number of subsequent revisions, and the final version. If retrieval or other external assistance is used, clearly distinguish “completed by the model alone” from “completed with an assisted pipeline.”
For unstable tasks, repeat the tests. What matters is not only the best single result, but whether the correct conclusion recurs and whether different answers contradict each other.
4. Build a review process centered on correctness
4.1 Pass 1: check the conclusion and the assumptions
First confirm that the model proved the original proposition, not a weaker version or a version with stronger conditions.
Common cases: the original problem concerns arbitrary objects but the output assumes the objects are finite; the original problem asks for existence but the output assumes the object already exists without saying so; the original problem asks for a two-way equivalence but the output completes only one direction.
These issues are usually more subtle than a local calculation error, so they must be checked first.
4.2 Pass 2: check the key derivations
Verify the core steps of the proof one by one, paying particular attention to:
- places where the order of quantifiers changes;
- places where a global property is derived from a local one;
- places using limits, interchange of operations, or infinite processes;
- places relying on existence, uniqueness, or choice conditions;
- places where “obviously” replaces an argument.
Checking does not mean expanding every detail; it means ensuring the omitted steps really hold and match the target reader’s level of knowledge.
4.3 Pass 3: verify with independent methods
You can ask for an independent proof route, or try to find boundary cases and counterexamples. Conclusions about finite instances can also be checked on special cases by enumeration or numerical experiments.
Be clear, though: finite testing cannot replace a general proof, and getting the same answer repeatedly does not automatically prove correctness. Models may share similar mistakes, and numerical experiments may miss extreme cases.
For high-risk or research-level conclusions, final review by someone with the relevant expertise is still required.
4.4 Record content quality and presentation quality separately
Record conclusion correctness, argument completeness, assumption handling, verifiability, and readability of the notes separately, rather than giving one vague overall score.
Correctness should be the baseline: notes whose core conclusion is wrong cannot count as a successful delivery, however good the presentation is. Output that is “correct conclusion but incomplete proof” should be flagged separately so it is not lumped together with fully correct results.
5. Measure resource consumption by effective delivery
5.1 Do not treat quota percentage as an efficiency metric
A task consuming a small share of a monthly quota only reflects an account balance change under a specific billing scheme. Different services may use different request metering, resource conversion, or quota rules, so a percentage alone says nothing about computational efficiency or math ability.
More important: did a single call solve the task? How many rounds of rework were needed? How long did human verification take? These factors change the final cost substantially.
5.2 Compute the average cost of successful tasks
A general metric works here:
cost per successful task = total cost during the test period ÷ number of tasks completed successfully.
Total cost can include not only API charges but also human review, revision, and waiting time. If there are no successful tasks, the metric has no meaningful finite value and should be recorded as “no deliverable task completed,” rather than masked by low call cost.
Time should be recorded separately:
end-to-end delivery time = queue time + generation time + review time + rework time.
A pipeline that responds fast but needs heavy revision is not necessarily more efficient than a slower one with more stable results.
5.3 Distinguish batch from interactive usage
Tasks such as drafting lecture notes or organizing solutions in bulk usually tolerate some waiting and can be processed asynchronously. Interactive derivations and urgent questions depend much more on stable response times.
So queue experience cannot be described by an average alone. Also record timeouts, how often long waits occur, and whether a failed request must be resubmitted. For developers integrating models into business processes, this information directly affects task scheduling and human fallback plans.
5.4 Do not create worthless tasks just to burn through the remaining balance
When quota is about to expire, batching work that is already confirmed valuable is reasonable, but generating large amounts of unverified long text just to “use up resources” is not.
A better approach is to maintain a task backlog and prioritize items that already have materials, clear acceptance criteria, and reusable results — for example, organizing note drafts, generating proof review checklists, or summarizing known errors. Whether resources are worth spending should depend on the value of the result, not on whether the balance can be driven to zero.
6. Split complex tasks into stages that can be accepted individually
Asking a model directly to “prove the proposition and write complete lecture notes” easily mixes comprehension errors, proof errors, and presentation errors. Staged execution makes problems easier to localize.
Stage 1: restate the proposition only, listing notation, assumptions, and potential ambiguities. Stage 2: judge whether the proposition holds, and propose a proof route or a counterexample. Stage 3: expand the key lemmas and explain the dependencies between steps. Stage 4: produce the complete proof. Only then polish the language and organize the notes.
A prompt can follow this structure:
“First decide whether the proposition holds. If assumptions are missing, explain why and, where possible, give a counterexample. If you believe it holds, list the proof route and the results it depends on before completing the proof. Do not add undeclared conditions in order to finish the task; for steps you cannot yet confirm, say so explicitly.”
This does not guarantee the model will be correct and may increase the number of calls, but it improves review transparency and reduces wasted expansion in the wrong direction.
7. Land evaluation conclusions on applicability boundaries
A rigorous model evaluation should ultimately answer three questions: which tasks it is reliable on, which tasks need focused review, and which tasks should not yet be handed to it to complete independently.
For instance, a model may be suited to organizing standard proofs and producing first drafts of lecture notes, but not to outputting research-level conclusions without verification; it may be efficient on short tasks, while cost rises noticeably with long contexts or multiple rounds of rework. These are meaningful conclusions and need not be compressed into a single ranking.
A truly reusable evaluation should state the task scope, test conditions, failure types, review requirements, and effective delivery cost. This is especially true for mathematical reasoning: the value of a model lies not in how long a derivation it can write, but in whether it helps the user obtain results that are correct, clear, checkable, and acceptable in cost.
