Open-Ended Mathematical Reasoning in LLMs: A Practical Guide to Evaluation and Cost Assessment
This article explains why open-ended mathematical reasoning has become a key reference for measuring a large language model's deep reasoning ability, and how to build a reproducible evaluation and cost-assessment process around it. It covers the design of benchmark sets that resist memorization (memory leakage), a 100-point scoring rubric spanning correctness, rigor, completeness, and delivery quality, a framework for estimating the true cost per accepted result rather than per-call pricing, how to interpret chain-of-thought length alongside pass rates, and the trade-offs between self-hosted inference and pay-as-you-go cloud API calls. The goal is to help developers and enterprises select models through reproducible, scenario-driven benchmarks instead of chasing a single leaderboard ranking. Note that all prices, speeds, and cost ratios here are illustrative and used only to demonstrate the calculation methods.
1. Why Test LLMs with Open-Ended Mathematical Reasoning
General-purpose leaderboards are large and broad, which makes them good for quickly screening baseline capabilities. But they carry two inherent limitations: first, questions and answers easily leak into training corpora, creating “memory leakage”; second, multiple-choice and standardized Q&A formats have limited discriminative power for complex reasoning. Against this backdrop, open-ended mathematical reasoning tasks have gradually become an important reference for measuring a model’s “deep thinking” ability. Their value comes from three points:
- Objective, unique answers: whether a mathematical proposition is true or false does not depend on the evaluator’s subjective preference, which makes it easy to establish a unified standard;
- Auditable process: a proof must present definitions, lemmas, and derivations step by step, and whether each step’s logic holds can be checked by experts rather than judged only by the final conclusion;
- Relies on real reasoning, not memory: if a proposition has no ready-made proof in public material, the model must rely on its own symbolic computation and multi-step reasoning to complete it.
As a result, these tasks simultaneously assess knowledge, the ability to organize reasoning chains, long-context consistency, and structured output. They reflect, fairly realistically, how a model performs in high-end scenarios such as research assistance, financial modeling, and code derivation.
2. Designing the Benchmark: Resisting Memory Leakage with “Unproven Propositions”
Public mathematical proposition databases contain a large number of propositions, but many entries provide only the statement and background without an accompanying proof. These propositions are well suited as evaluation material: the proposition itself may have been “seen” by the model, but the proof must be derived on the spot, which separates “reciting an answer” from “genuine reasoning.”
When designing the benchmark, the following principles are recommended:
- Difficulty tiers: divide samples into basic, intermediate, and open tiers by the number of reasoning steps required and the conceptual depth involved, avoiding concentration in a single difficulty;
- Broad coverage: span branches such as algebra, analysis, combinatorics, and number theory, to prevent a model from being lopsided in a single area;
- Fixed input conditions: disable internet access and external retrieval, or explicitly record the retrieval toggle state, to ensure comparability across models;
- Control samples: mix in several “proof-provided” problems from public problem sets to detect whether a model suffers from memory leakage. If the pass rate on these problems is markedly higher, its score is likely inflated.
The prompt itself also has a significant impact on results, so it is advisable to use a fixed template and keep it on file. An example is shown below:
You are a rigorous mathematical writer. Please complete the following task:1. Determine whether the given proposition is true or false, and provide a complete proof or counterexample;2. If the proposition involves additional assumptions (such as commutativity, regularity, or finiteness), state them explicitly;3. When citing results from the literature, provide the name and source; if you cannot confirm them, do not fabricate;4. Write a typeset document in English that compiles directly, including a title, abstract, theorem environments, and proof environments.Proposition: <paste the original proposition text>
The template emphasizes three points: additional assumptions must be declared explicitly, literature citations must be verifiable, and the final deliverable must be directly usable. The “verifiable citation” requirement is especially important. In open-ended reasoning tasks, fabricating a lemma that looks plausible but does not actually exist is one of the most common failure modes.
3. Scoring System: Correctness, Rigor, Completeness, and Delivery Quality
A 100-point scale scored independently by multiple reviewers is recommended, with weights adjustable to the business scenario:
| Dimension | Focus | Suggested Weight | Scoring Notes |
|---|---|---|---|
| Conclusion correctness | Whether the true/false judgment and the final conclusion hold | 40% | A wrong conclusion fails the whole answer |
| Logical rigor | Whether each derivation step holds and whether boundary cases are omitted | 30% | Deductions for key-step errors, circular reasoning, and missed exceptions |
| Completeness | Whether definitions, lemmas, and case classifications are complete | 20% | Whether all cases involved in the proposition are covered |
| Delivery quality | Whether the typesetting compiles, whether terminology is consistent, whether the expression is fluent | 10% | A clear gap between a directly deliverable product and a draft |
When scoring, a “dual independent scoring + disagreement review” mechanism is recommended, and the location and type of each answer’s errors should be recorded. Over time, accumulating these annotations allows further analysis of how a model performs across different mathematical branches and error types, providing a basis for later model selection.
4. Cost Structure: Translating a “Membership Quota” into Real Expenditure
High-end reasoning models are typically priced significantly higher than ordinary chat models, but comparing unit prices alone is of limited value. What really needs to be calculated is the “total cost of completing one qualified task,” which consists of four parts:
- Input cost: prompts, context material, and multi-turn supplementary instructions;
- Output cost: beyond the formal answer, the internal chain of thought also consumes generation resources;
- Verification cost: expert review, result validation, and fact-checking;
- Rework cost: rerunning failed samples, repeatedly tuning prompts, and follow-up corrections triggered by low-quality results.
A practical estimate is:
Effective cost = cost per task / task pass rate
If each task consumes 2% of the monthly quota, a monthly plan can theoretically support about 50 such tasks. But when the pass rate is 50%, the actual cost of obtaining one qualified deliverable doubles. This formula reveals a common misconception: a cheap per-call price does not mean cheap cost per unit of output.
5. Chain-of-Thought Length: Balancing Quality and Efficiency
Chain-of-thought (CoT) models generally produce long internal reasoning processes. A longer reasoning chain means the model has explored, verified, and self-corrected more before formally answering, which does help with complex problems. But the relationship between chain length and output quality is not simply positive:
- Length imbalance: a markedly longer chain without a corresponding rise in pass rate often means more redundant reasoning and higher time cost;
- Insufficient verification: a model may develop a “false sense of certainty” in a long chain and draw conclusions without checking key steps;
- Difficulty converging: some models repeatedly overturn themselves in long chains, leading to unstable output or even falling into unproductive loops.
Therefore, evaluation should record three metrics at the same time: average reasoning length, pass rate, and the reasoning consumption corresponding to each unit of qualified output. Only by combining the three can one judge whether a model is “thinking deeply” or “going the long way around.”
6. Throughput and Deployment: Weighing Self-Hosted Inference against Cloud API Calls
Some technical discussions note that running such models on a single high-performance accelerator server rack can reach generation speeds of hundreds of tokens per second, enough to support concurrent use by multiple people. This observation points to an often-overlooked fact: the cost structure on the inference side is reshaping the economics of high-end models.
Self-hosted inference and on-demand cloud API calls each have pros and cons:
- Self-hosted inference: under conditions of stable request volume and high concurrency, the long-term unit cost is often lower, and data can stay in your own environment; but you must handle hardware procurement, cluster operations, model upgrades, and fault handling yourself, and face the asset depreciation risk from hardware iteration.
- Cloud API calls: no upfront investment, elastic scaling on demand, and model capabilities that keep improving as the platform updates; but under high-frequency, large-volume scenarios, cumulative costs may rise quickly.
The following process is recommended for making the choice:
- Measure daily average request volume, peak concurrency, and average context length;
- Estimate the total cost of ownership for a self-hosted setup, including hardware, power, data center, and operations staffing;
- Estimate the annual cloud service cost under equivalent load;
- Compare the two on data security, compliance requirements, and elastic scalability;
- For businesses with highly volatile request volume, adopt a hybrid architecture of “self-hosted inference as a baseline + cloud services for elastic overflow.”
7. Methodology Summary
On balance, evaluating a high-end reasoning model requires a complete understanding from five angles:
- Capability positioning: use difficulty-tiered, memory-leakage-resistant benchmark sets to accurately judge a model’s true level at open-ended mathematical reasoning;
- Cost awareness: focus on the total cost per unit of qualified output, not the per-call price;
- Efficiency awareness: chain-of-thought length should be assessed in relation to pass rate, avoiding the “slower is better” misconception;
- Deployment trade-offs: make a rational choice between self-hosted inference and cloud services based on request scale and compliance requirements;
- Scenario matching: tasks such as research derivation, teaching materials, and code verification place different demands on rigor and delivery quality, and model selection should serve the actual scenario.
It should be emphasized that the prices, speeds, and cost ratios in this article are illustrative and serve only to explain the calculation methods. Actual values should be based on the official documentation and real testing. For developers and enterprise users, building a reproducible evaluation process that fits their own business is more valuable in the long run than chasing a single leaderboard ranking.
