Evaluating LLM Mathematical Reasoning and Usage Cost: A Task-Based Framework
This article presents a systematic framework for evaluating large language models’ mathematical reasoning capability and usage cost. It argues that evaluation should focus on task performance under constraints rather than general model impressions, separates mathematical tasks into capability layers, defines four checks for proof and lecture deliverables, and explains how to build reproducible test sets. It also introduces cost accounting based on usable outputs, a staged workflow for complex tasks, and practical criteria for business adoption. Readers gain an actionable approach for assessing reliability, verification effort, and total cost without relying on single impressive outputs or abstract rankings.
Evaluating LLM Mathematical Reasoning and Usage Cost: A Task-Based Framework
1. Evaluate Task Capability, Not Model Impressions
Discussions about whether a large language model is “good to use” often produce very different experiences. Some users find that complex tasks consume too many resources, while queuing delays affect progress. Others find that a short instruction can produce a structurally complete mathematical proof and an English lecture document.
These experiences are not necessarily contradictory. The first focuses on resource consumption and service availability. The second focuses on the quality of a single task output. Without separating these evaluation dimensions, it is easy to mistake “can generate a lecture document” for “leads comprehensively in mathematical ability,” or to mistake “credits are consumed quickly” for “no practical value.”
A more reasonable object of evaluation is the model’s ability to complete specific tasks under specific constraints. For example:
- Can it correctly prove a proposition with clearly stated premises?
- Can it identify that a problem lacks conditions instead of forcing a proof?
- Can it organize an argument into a lecture suitable for the target audience?
- Can it maintain similar quality across repeated tests?
- Can it deliver a usable result within acceptable time and cost?
Therefore, evaluating an LLM should establish a complete chain of “task—evidence—cost,” rather than relying on one impressive output or a general capability ranking.
2. Mathematical Capability Must Be Evaluated in Layers
Mathematical tasks place different demands on a model. Correct calculation, correct proof, and valid research work are three distinct objectives.
2.1 Basic Calculation and Standard Problem Solving
This layer mainly tests arithmetic, use of formulas, identification of conditions, and common problem-solving methods. Such tasks usually have relatively clear standard answers and can be verified through independent calculation or substitution.
However, a correct final answer does not mean the entire derivation is correct. A model may use an invalid equality in an intermediate step and still arrive at a correct conclusion. Evaluation should therefore record both answer accuracy and the correctness of key steps.
2.2 Complete Proofs of Known Propositions
This layer requires the model to understand definitions, select appropriate lemmas, manage premises, and organize logic. Even if reference materials do not include a proof, the proposition may follow directly from common theorems.
Therefore, “the reference does not provide a proof” only means the model needs to complete the argument; it does not directly prove that the model conducted original research. What really needs to be checked is whether known results are used accurately, whether necessary conditions are omitted, whether circular reasoning is present, and whether readers can independently verify the output.
2.3 Complex Derivations Across Concepts
These tasks often require connecting multiple definitions and conclusions. The model must not only know a theorem but also judge whether it applies to the current object.
For example, a conclusion may require a non-empty set, a compact space, a continuous mapping, or an algebraic object that satisfies some finiteness condition. If the model only remembers the conclusion and ignores the scope of application, it may generate a fluent but invalid proof.
This layer is suitable for testing the model’s premise-management ability and is key to distinguishing “can write mathematical text” from “can complete reliable reasoning.”
2.4 Open Problems and Research Exploration
Open problems do not have ready-made complete solutions. Model output may be only a conjecture, a partial result, or an exploration route. For such tasks, a seemingly novel derivation should not be directly treated as a solution.
More reliable indicators of research value include: whether the model can propose testable subproblems, discover counterexamples, identify obstacles in existing approaches, organize relevant conditions, and provide intermediate conclusions worth further verification.
Research assistance can be valuable, but there is still a clear distance between “helpful for research” and “solved an open problem.”
3. From Proof Generation to Lecture Delivery: At Least Four Checks
A mathematical lecture is a composite deliverable. It includes both argumentation and instructional expression. Its quality cannot be replaced by length, formatting, or language fluency.
3.1 Are the Proposition and Premises Complete?
First, check the quantifiers, object types, boundary cases, and implicit conventions in the original proposition. Common problems include writing “there exists” as “for all,” omitting non-empty conditions, or extending a conclusion from a specific category to all objects.
If the task comes from external materials, provide the complete proposition and related definitions whenever possible. Giving only a number or a vague reference increases the risk that the model misidentifies the content.
3.2 Are the Key Steps Valid?
For each key transition, ask: What fact is used here? Are the conditions of that fact satisfied? Is the conclusion stronger than the premises allow?
The focus of review is not how much explanation the model wrote, but whether the argument forms a continuous and valid logical chain. Pay particular attention to phrases such as “it follows immediately” or “this follows directly from a standard result,” because they may compress the truly critical part of the proof.
3.3 Are Citations and Dependencies Verifiable?
A model may cite a real theorem but misuse its conclusion. It may also provide a citation that sounds professional but cannot actually be verified. Therefore, list the facts on which the proof depends separately and check their sources and conditions of applicability.
If a dependency cannot be verified, mark it as pending verification rather than assuming it is correct because the name sounds familiar.
3.4 Is the Expression Suitable for the Reader?
A valid proof is not necessarily an effective lecture. A lecture should also explain why the method was chosen, what problem the key construction solves, which conditions cannot be removed, and what prerequisite knowledge the reader needs.
English writing and formula formatting can improve delivery quality, but they cannot replace mathematical verification. Expression quality and proof correctness should be scored separately.
4. Build a Reproducible Test Set Instead of Making Casual Comparisons
To evaluate model capability, first clarify the use case, then design the test set. Researchers, developers, and instructors may define “good to use” very differently.
4.1 Select Tasks by Real Needs
A test set can include proofs of standard propositions, identification of missing premises, localization of incorrect proofs, construction of counterexamples, long-text comprehension, and lecture rewriting.
Error-identification tasks are especially important. Testing only correct propositions may train a model toward an output tendency of “all problems must be proved.” Including false propositions can test whether the model is willing to reject incorrect premises and provide a reasonable counterexample.
Tasks should not all come from highly common exercises. Appropriately include adapted problems that have been manually reviewed, while ensuring that the problems themselves are accurate and have controlled difficulty.
4.2 Control Inputs and Resource Conditions
When comparing different models or configurations, unify the problem text, reference materials, output requirements, and permitted auxiliary capabilities as much as possible.
If one test allows retrieval of materials and another relies only on input text, the results cannot be simply attributed to the model itself. Similarly, whether multiple rounds of follow-up are allowed, whether calculations can be executed, and whether additional context is provided should all be clearly recorded.
If resource budgets cannot be fully standardized, report the consumption and limitations of each setting rather than comparing only final answers.
4.3 Distinguish First-Pass Completion from Post-Revision Completion
Producing a correct result in one generation, correcting it after prompting, and completing it after the user supplies a key lemma are different levels of capability.
Practical records can include:
- Whether the first output was usable;
- Whether the model could correctly fix the problem after the user pointed it out;
- Whether the revision introduced new errors;
- How many rounds of interaction were needed to pass review;
- How much substantive help the user provided.
This avoids counting a success achieved with substantial human involvement as fully independent model completion.
4.4 Conduct Repeated Tests and Blind Review
The same task may produce different results because of sampling variation. For important tasks, repeat the test and measure stability.
During review, hide the source of outputs to reduce the influence of brand impressions and writing-style preferences. For complex proofs, independent reviewers should first align on scoring criteria, avoiding a situation where one reviewer emphasizes rigor and another emphasizes readability, resulting in incomparable scores.
5. Account for Usage Cost by “Usable Outcomes”
Account balances, credits, and subscription quotas are only accounting indicators of resources; they are not the same as actual production cost. A low consumption ratio for one task does not imply that all complex tasks have the same cost.
For users, the key metric is:
Cost per usable outcome = total relevant cost in the evaluation round ÷ number of outcomes that pass acceptance.
Relevant costs here include model invocation spending, human review time, investment in failed retries, and the impact of service waiting on work schedules. If no outcome passes acceptance, report the failure and the investment directly rather than giving a meaningless unit cost.
Also distinguish two types of time:
- Service latency: the time from submitting a task to receiving output;
- Human effort: the time required to read, verify, correct, and organize the result.
Queuing does not always consume human effort, but it may delay delivery. Fast output does not necessarily save time, because the more hidden the error, the more expensive subsequent review may be.
Therefore, it is advisable to record per-task consumption, first-pass rate, average number of revision rounds, human review time, and cost per usable outcome. A single metric can rarely reveal the complete value.
6. Break Complex Tasks into Verifiable Workflows
Asking a model to generate a complete proof and a long lecture in one pass is convenient, but it easily mixes misunderstanding, proof defects, and expression problems. A more reliable approach is staged processing.
Stage 1: Confirm the Problem
Ask the model to restate the proposition, list the premises, explain key definitions, and mark possible ambiguities. A human first confirms whether it is working on the correct problem.
Stage 2: Develop a Proof Route
Ask for several feasible routes and list the lemmas and main difficulties each depends on. Do not rush to generate a long document at this stage; first confirm whether the route is feasible.
Stage 3: Complete the Core Argument
Prove step by step around the selected route. For key dependencies, add explanations or explicitly mark them as pending verification.
Stage 4: Perform Reverse Checks
Check boundary cases, quantifiers, theorem applicability conditions, and potential counterexamples. Independent review can be introduced, but different models or different runs may share similar errors; agreement should not be treated as a guarantee of correctness.
Stage 5: Generate the Lecture
Only after the core argument passes review should language, section structure, symbol consistency, and formula formatting be handled. This reduces wasted effort polishing incorrect content repeatedly.
For parts that can be converted into numerical computation, symbolic computation, or formal verification, use independent checking methods. However, the absence of a counterexample in a finite sample does not mean the proposition is true, and local verification cannot automatically cover the entire proof.
7. Understand Long Derivations and Complex Expression Reasonably
A long output may mean the model covered more details, or it may mean it repeated explanations, took detours, or even concealed unresolved key issues. A short proof may also be elegant, or it may omit indispensable steps.
Therefore, output length or visible derivation length should not be treated as a direct indicator of mathematical ability, and it certainly should not be used to infer the model’s internal reasoning process.
What should be checked is the sufficiency and necessity of the argument: whether each step is valid, whether key steps are explained adequately, whether there are irrelevant expansions, and whether different sections use consistent assumptions.
Good mathematical expression makes it as easy as possible for readers to verify the conclusion without sacrificing rigor, rather than simply pursuing brevity or complexity.
8. Establish Selection Criteria Suitable for Your Own Business
Developers and enterprise users ultimately need not an abstract ranking but an executable usage strategy.
Low-risk text organization, terminology consistency, and lecture polishing can use lighter-weight processing. Tasks involving core proofs, boundary-condition analysis, and complex logic review should increase verification intensity. Content involving research conclusions, formal publication, or critical decisions must retain expert review.
At the organizational level, teams should also save the problem, input conditions, output version, review comments, resource consumption, and final acceptance status. These records help teams identify which tasks the model is reliable on, where it is likely to fail, and whether quality fluctuates after configuration changes.
Ultimately, evaluating LLM mathematical capability should answer three questions: Does it improve the credibility of results? Does it reduce the total cost of obtaining usable outcomes? Can it be stably integrated into existing workflows?
Only when reproducible evidence is established on these questions does model evaluation move from subjective experience to a technical judgment with practical guidance.
