Evaluating LLM Mathematical Reasoning and Usage Costs: A Practical Framework
A rigorous evaluation of large language models for mathematical work should focus on capabilities rather than impressions. This article explains how to classify math tasks by difficulty, separate mathematical correctness from presentation quality, build a reproducible evaluation workflow, and calculate cost in terms of effective delivery—helping developers, educators, and researchers judge what an LLM can reliably deliver and at what real cost.
How to Scientifically Evaluate LLM Mathematical Reasoning and Usage Costs
1. Evaluate Capabilities, Not Impressions
When faced with a large language model that can generate lengthy mathematical proofs, users often form two opposing impressions: “It can turn complex propositions into complete lecture notes—impressive,” or “The output is long, resource consumption is high, and you have to wait in line—not worth using.”
These impressions are not contradictory. The first concerns the output quality of a single task; the second concerns the efficiency and cost of the entire workflow. A useful technical evaluation must separate the two.
For developers, educators, and researchers, the value of an LLM involves at least four dimensions:
- Correctness: Does the reasoning hold? Are assumptions sufficient? Do conclusions match the problem?
- Stability: Does quality hold up when similar tasks are run repeatedly?
- Verifiability: Can the proof be checked step by step, with dependencies clearly stated?
- Delivery efficiency: How much time, cost, and manual revision does it take from submitting a question to getting a usable result?
An evaluation should not stop at “one impressive answer,” nor conclude incapability merely because “it consumed a lot of quota.” The more meaningful question is: within a clearly defined range of mathematical tasks, what quality of results does it deliver consistently, at what cost, and with how much human intervention?
2. First, Distinguish Different Levels of Mathematical Tasks
2.1 Standard Problem Solving: Testing Fundamentals and Routine Reasoning
Standard problems have clear conditions and known solution paths—differentiation, integration, matrix computation, or basic proposition proofs.
Such tasks reveal whether the model understands symbols, applies theorems correctly, and avoids missing domains, boundary conditions, or special cases. However, good performance on standard problems does not mean the model can handle research-level questions.
Standard problems often have abundant similar expressions and common solution templates. Even a correct answer may not reflect genuine strategic discovery ability.
2.2 Completing Proofs of Known Propositions: Testing Knowledge Organization and Logical Flow
A more challenging task is to present a proposition that is known to be true but whose proof is not shown in the current material, and ask the model to construct the argument independently.
This typically requires the model to:
- Understand the definitions and assumptions involved;
- Decide which existing results can serve as lemmas;
- Find a proof route from conditions to conclusion;
- Fill in logical steps omitted from the material;
- Organize the result into readable, checkable text.
Note that the material lacking a proof only means the model must fill a gap in the current input. It does not prove the proof has never appeared elsewhere, let alone that the output is original.
This task is still practically valuable, but it should be positioned as “proof reconstruction and organization,” not as unverified mathematical discovery.
2.3 Research Assistance: Testing Exploration and Counterexample Construction
Research-assistance tasks usually have no ready-made complete route. The model may need to analyze several approaches, propose intermediate lemmas, check special cases, or construct counterexamples.
At this level, the evaluation focuses not only on final conclusions but on whether the process is helpful. For example:
- Did it discover hidden assumptions?
- Did it identify why a particular route cannot proceed?
- Did it produce intermediate conclusions that can be further verified?
- Did it rule out overly strong conjectures via counterexamples?
Even if the model does not complete the final proof, it can still be valuable if it effectively narrows the search space.
2.4 Open Problems: Apply a Higher Verification Standard
Open problems differ fundamentally from completing proofs of known propositions: the former may have no accepted solution, while the validity of the latter has usually been confirmed.
You cannot claim a model can reliably solve open problems just because it performs well on a small set of hard problems. For such results, conduct independent expert review, verify all dependencies, check for duplication of existing results, and carry out formal verification where applicable.
Until those steps are done, the accurate phrasing is “proposed a candidate proof” or “provided research leads.”
3. Long Lecture Notes Are Not Rigorous Proofs
3.1 Score Presentation and Reasoning Separately
A lecture note can be well-formatted, fluent, and consistent in notation, yet lack essential arguments at critical points. The model might write “the global conclusion follows immediately from the local property” without stating the required gluing conditions, or cite a theorem while ignoring its scope of applicability.
So at least two independent evaluation axes are needed:
- Mathematical quality: Does each step of reasoning hold?
- Presentation quality: Is the structure, notation, and exposition easy to understand?
High presentation quality reduces reading cost, but it cannot offset a fatal mathematical error.
3.2 Focus Review on Critical Jumps
When reviewing long proofs, don’t spread attention evenly. Prioritize these locations:
- Where external theorems are invoked;
- Where finite cases are generalized to the general case;
- Where local arguments become global conclusions;
- Where limits, integrals, or sums are interchanged;
- Where objects are claimed to exist, be unique, or be constructible;
- Where reasoning is skipped with “obviously” or “similarly.”
These points often determine whether a proof is valid. When checking them, ask: Are the conditions used sufficient? Is an additional lemma needed? Is there a simple counterexample?
3.3 Verifying Citations Matters More than Adding Length
The model may cite a real mathematical result but misremember its applicability conditions, or produce a citation that looks proper but cannot be verified.
Delivery requirements should therefore go beyond “write it in detail” and include:
- Explicitly stating which results are relied upon;
- Explaining the applicability conditions of each result for the current problem;
- Distinguishing verified foundations from unverified citations;
- Flagging gaps when uncertain, rather than fabricating sources.
A shorter proof with clear dependencies is usually more valuable than a long lecture note that is hard to verify.
4. Build a Reproducible Evaluation Process
4.1 Construct a Task Set Covering Different Abilities
Don’t judge overall capability with a single problem the model happens to be good at. A practical task set should cover:
- Definition comprehension and condition analysis;
- Routine computation and derivation;
- Proof completion for known propositions;
- Diagnosis of incorrect proofs;
- Counterexample construction;
- Organization of long lecture notes;
- Expressing uncertainty when the conclusion cannot be determined.
Tasks should also span different difficulty levels and mathematical domains. If the evaluation concentrates on one type of problem, the conclusions must be limited to that scope.
4.2 Control Inputs and Runtime Conditions
When comparing configurations, keep the problems, prompts, reference materials, and output requirements identical, and record the runtime environment and permitted auxiliary capabilities.
If one configuration can retrieve materials and another cannot, or one allows multi-turn revision while another answers only once, the results cannot be interpreted simply as differences in the model itself.
In real deployments, end-to-end performance matters, of course—but distinguish “model capability evaluation” from “workflow delivery evaluation.”
4.3 Run Repeatedly to Observe Stability
Generated results can fluctuate. One success on the same problem only proves that a success case occurred.
Running important problems multiple times reveals:
- Whether proof routes are consistent;
- Whether success depends on lucky choices;
- Whether errors recur at the same step;
- Whether runtime and output length fluctuate significantly.
Evaluation reports should state success rates, failure types, and variance—not just showcase the best answers.
4.4 Prioritize Fatal Errors in Scoring
You can score along dimensions such as correctness, completeness, dependency clarity, presentation quality, and revision cost—but fluent writing must not mask fundamental errors.
For example, a proof that relies on a false key lemma cannot count as a passing result, no matter how well the rest is written. Check for fatal errors first, then assess other quality dimensions.
Keep detailed review records rather than a single total score. Only then can you tell whether to improve prompts, add background context, or change how the task is handled.
5. Calculate Cost by Effective Delivery
5.1 Quota Consumption Is Not Value Itself
A remaining balance in your account creates an urge to “use it up quickly.” But consuming quota is not the same as creating value.
If the output fails review or requires heavy rewriting, spending quota on useless tasks just to drain the balance is not worthwhile. A better approach is to choose work that builds lasting assets: organizing existing notes, adding worked examples, generating glossaries, or checking doubtful points in proofs.
5.2 Distinguish Quota, Fees, and Human Time
A task consuming a small fraction of a monthly quota only tells you its share within the current quota system; it does not translate into a stable real cost.
Different services may count quota differently, and inputs, outputs, reasoning processes, and auxiliary operations may be metered on different bases. Without understanding these rules, don’t infer the precise cost of a single task.
A more universal cost perspective is:
Effective delivery cost = API cost + review cost + revision cost + opportunity cost of waiting.
Waiting time cannot always be converted into labor cost, but it may affect deadlines and scheduling, so it should be recorded separately.
5.3 Longer Output Is Not Necessarily More Economical
A longer derivation may expose intermediate steps—or merely repeat known content. A short proof may be clearer—or hide a critical jump.
So answer length cannot substitute for capability assessment. Observe whether new content genuinely reduces verification effort and whether the final result reduces manual work.
If a long lecture note takes hours to search for errors while a concise proof can be verified quickly, the latter may be far more efficient in practice.
6. A Recommended Workflow for Generating Mathematical Lecture Notes
Step 1: Submit a Precise Problem First
The input should include the original proposition, notation conventions, allowed results, and the target reader’s background. For easily confused concepts, give explicit explanations.
Don’t just ask “prove this result” while omitting the underlying space, mapping conditions, or relevant definitions. Missing inputs increase the risk of the model inventing its own assumptions.
Step 2: Review the Route Before Writing the Full Text
Ask the model for a proof outline first—key lemmas, dependencies, and potential difficulties. Once the route looks sound, expand it into a full lecture note.
This avoids investing generation resources in a wrong route and lets you spot core gaps earlier.
Step 3: Verify Key Lemmas Section by Section
Break the proof into logical units and check assumptions, conclusions, and dependencies one by one. For computable special cases, use independent computation as a cross-check; for abstract reasoning, review against definitions and confirmed theorems.
Note that special-case verification only helps find errors—it cannot replace a general proof.
Step 4: Polish Language and Mathematical Typesetting Last
After the argument passes review, organize sections, notation, terminology, and formula typesetting. For English lecture notes, also check terminology translations and logical connectives.
Handle mathematical correctness and language quality separately, so that beautiful formatting doesn’t make unresolved issues look finished.
Step 5: Keep Review Records
For important results, retain the original problem, input materials, generated versions, manual revisions, and unresolved questions. This aids traceability and builds data for future evaluations.
7. Forming Trustworthy Evaluation Conclusions
A credible evaluation should not rank models on a single scale. It should state which tasks a model suits, where it tends to fail, and what verification measures are needed when using it.
For example, a capability conclusion might read:
- On standard derivation tasks, accuracy and delivery speed are stable;
- On proof completion for known propositions, it can organize effective routes, but key lemmas still need verification;
- On lecture note writing, presentation quality is good, suitable for assisting material organization;
- On research exploration, it can offer candidate ideas, but unverified output must not be treated as settled.
Conclusions like these are far more useful for practical decisions than vague claims of “better than X, worse than Y.”
Ultimately, the core of an LLM’s mathematical ability lies not in how complex its output looks, but in whether it helps users obtain checkable, reusable results at acceptable cost. Starting from task stratification, holding proof verification as the baseline, and constraining by effective delivery cost—that is how to build a genuinely rigorous evaluation framework.
