Evaluating Mathematical Reasoning in Large Language Models: A Reproducible Method and Model Selection Checklist
This guide explains how to design and run evaluations of large language models on mathematical reasoning. It covers four areas: reasoning quality, context and instruction handling, latency and concurrency, and unit cost. It also describes how to build a domain-specific micro-benchmark, apply scoring and statistical methods, run robustness tests, avoid common mistakes, and use a selection checklist with starting weights. The templates and values are starting points to measure against your own data, not model rankings.
1. Scope and Boundaries
This article explains how to design and run model evaluations. It does not provide ready-made rankings of any vendor or model. The tables, thresholds, and weights in this article are test templates and starting recommendations. Every value must be measured in your own data and environment before use.
Accuracy alone does not show whether a model suits a particular business. One model may score high on standard problems but fail when the same problems are phrased differently. Another model may have similar accuracy but produce several times more output tokens, which raises cost. For this reason, this article divides evaluation into four parts: mathematical reasoning quality, context and instruction handling, latency and concurrency performance, and unit cost.
2. Metric Definitions and Scoring Table
Before evaluation, align on terminology. The source text uses the term “entity task load capacity,” which this article standardizes as “concurrent load capacity.” The table below defines how each metric is calculated.
| Metric | Definition | Calculation | Value range |
|---|---|---|---|
| Chain-of-thought efficiency | How concise the reasoning process is | Minimum number of key steps needed for the correct conclusion ÷ number of reasoning steps the model actually outputs | 0 to 1; higher means more concise |
| Reasoning cost per problem | Tokens consumed to solve one problem | Total output tokens for all correctly solved problems ÷ number of correct problems | Positive number; lower is cheaper |
| Context utilization rate | Share of key information in long texts that the model uses correctly | Number of correctly answered “key information location” questions ÷ total questions | 0 to 1 |
| Concurrent load capacity | Maximum concurrency the system can handle under a latency constraint | Highest concurrency that meets the P95 latency threshold with an error rate below 5% | Positive integer |
| Instruction-following consistency rate | Share of answers that meet every constraint in multi-constraint tasks | Number of answers that fully meet all constraints ÷ total questions | 0 to 1 |
Human scoring of math answers uses a three-level scale. A fully correct answer earns 2 points. Correct reasoning with a minor calculation or conclusion error earns 1 point. A wrong conclusion or a broken derivation earns 0 points. Automatic scoring applies only to problems with a unique answer that a machine can verify.
3. Building a Micro-Benchmark
Public leaderboards reflect performance only on specific datasets. Teams should build a micro-benchmark from their own business cases. The steps are as follows.
- Collect samples. Draw about 150 high-difficulty samples from real requests over the past three months. Before sampling, remove personal information, account identifiers, phone numbers, and other sensitive fields, and document the redaction rules. If you cannot confirm whether a problem appears in a model’s training data, note the risk of sample leakage in the report.
- Annotate by category. Label each sample by topic, such as algebra, combinatorics, geometry, word problems, and proofs. Record a difficulty level (1 to 3) and a reference answer for each sample.
- Score blind. Hide model names and randomize the order of responses. Have at least two raters score independently. If their scores differ substantially, a third person arbitrates.
- Check scoring consistency. Calculate Cohen’s kappa coefficient between the two raters. If kappa is below 0.6, the scoring criteria are unclear. Revise the scoring guidelines and rescore.
- Categorize failure modes. Tag each wrong answer with an error type: logic error, calculation error, factual error, instruction deviation, format error, over-refusal, or truncated output. Calculate the share of each type.
- Analyze results. Report accuracy with 95% Wilson confidence intervals. For example, with 150 samples and 50% accuracy, the half-width is about ±8 percentage points. To compare two models on the same problems, apply McNemar’s test to the 0/1 results. Estimate the confidence interval of the mean score difference with bootstrap resampling (1,000 resamples recommended).
Run each model three times, with temperature fixed at 0 or, where the API supports it, a fixed random seed. Record the standard deviation across the three runs to judge whether variation affects the conclusion.
4. Comparison Table, Cost Basis, and Concurrency Basis
The table below is a comparison template. Fill every cell with measurements from the test procedure in this article. Do not cite any values before they are measured.
| Candidate model (anonymized) | Math reasoning accuracy | Open-ended question average score (0 to 2) | Reasoning cost per problem | Cost per question (CNY) | P95 latency (s) | Instruction-following consistency rate | Test date and environment |
|---|---|---|---|---|---|---|---|
| Model A | To be measured | To be measured | To be measured | To be measured | To be measured | To be measured | To be filled in |
| Model B | To be measured | To be measured | To be measured | To be measured | To be measured | To be measured | To be filled in |
| Model C | To be measured | To be measured | To be measured | To be measured | To be measured | To be measured | To be filled in |
After measuring each dimension on the same dataset, normalize each metric to a 0 to 1 range. Then combine the normalized scores using weights:
Composite score = Σ (weight × normalized score), where all weights sum to 1.
Cost basis. Cost per question = (input tokens × input price + output tokens × output price) ÷ 1,000,000. Output prices are usually higher than input prices. Use the provider’s current price list, and note the pricing date in the report.
Concurrency basis. Fix the input length (for example, 2k tokens) and the output cap (for example, 1,024 tokens). Test concurrency levels of 1, 4, 8, 16, and 32 in sequence. Run each level for at least 5 minutes or 300 requests. Record P50, P95, and P99 latency, the timeout rate, and the share
