Do High-Scoring Models Always Perform Better? A Math Evaluation and Deployment Guide

    Community discussions about large language models often focus on rankings, but benchmark scores alone can be misleading. This article explains how to evaluate math ability through layered tests, avoid common pitfalls such as benchmark contamination and rigid answer matching, and measure correctness, stability, and efficiency using metrics such as pass@1, pass@k, maj@k, and output-token cost per correct answer. It also covers structured review for open-ended math problems, and shows how to translate throughput, latency, and concurrency data into deployment decisions and cost-per-request estimates for self-hosting or cloud inference.

    When communities discuss large language models, the conversation often turns to “who is stronger.” Some people publish tiered rankings, claiming that only a few models can handle open-ended math problems, while others produce shorter chains of thought and sound more natural. Others estimate throughput from hardware: new rack-scale accelerator hardware, combined with mature parallelism and scheduling strategies, can push aggregate generation throughput into the range of hundreds of tokens per second, which then leads to discussions about the commercial value of self-hosting or offering inference services.

    These observations can be useful, but copying rankings directly can be dangerous for three reasons:

    • Model versions and capabilities keep evolving. Once the evaluation date has passed, conclusions may become outdated.
    • Benchmark sources, sampling parameters, and judging rules are often not public. Scores from different sources are not necessarily comparable.
    • Hardware estimates depend on many assumptions. Discussing numbers without specific conditions has limited value.

    For developers and technical decision-makers, a more reusable conclusion is this: use layered evaluation to decide whether a model fits a task, use consistent metrics to measure efficiency, and then use throughput, latency, and cost models to evaluate deployment options. This article follows that approach.

    1. Before benchmarking math ability, avoid five common pitfalls

    1. Benchmark contamination. Public math problem sets circulate widely and can easily be absorbed into training data. Even if a model has not seen the exact problem, it may still “remember” the answer through variants, solutions, or explanations based on the same stem. Three mitigations can help:

    • Add private questions or newly created variants to the evaluation set, such as changing numerical values, swapping conditions, or changing the task into “find all cases that satisfy the conditions.”
    • Perform deduplication and similarity checks on public questions.
    • Prefer newly created questions that appeared after the model’s capabilities were finalized, and rotate them periodically.

    2. Answer matching is too mechanical. Math answers come in many forms. The same result may be written as a fraction, decimal, radical expression, or trigonometric expression, and may include units or explanatory text at the end. If only string matching is used, equivalent answers written differently may be marked wrong, while incorrect answers may sometimes slip through.

    3. Evaluation conditions are not consistent. Generation temperature, maximum output length, system prompts, and whether external calculation tools are allowed can all significantly affect results. A subtler issue is that single-pass greedy decoding and “multiple samples with majority voting” measure two different capabilities. The former reflects the model’s one-shot success rate, while the latter includes a search component and reflects test-time compute. Comparing results from mixed settings makes conclusions meaningless.

    4. Looking only at accuracy. Two models may have the same accuracy but very different real-world behavior. One may answer correctly every time, while another gets one out of three wrong. One may be concise, while another circles around repeatedly. Some models also become much more likely to give responses such as “I cannot determine this” or “there is not enough information” as difficulty increases. Avoiding difficult problems can reduce errors, but it also means giving up opportunities to solve them.

    5. Drawing conclusions from only a few examples. Math problems are highly uneven in distribution. Geometry requires spatial reasoning and auxiliary-line construction. Combinatorics relies on constructive arguments and extreme-case analysis. Number theory requires precise handling of divisibility and congruences. Strong performance in one category cannot be generalized to overall capability.

    2. Build a layered evaluation set so each layer carries meaning

    An evaluation set should be organized by difficulty and problem type. The table below is a reusable reference structure. The number of questions can be scaled according to team resources.

    Layer Typical questions Main capability tested Scoring method
    Basic Multi-step arithmetic, one-variable linear equations, simple word problems Accuracy in multi-step calculation; completeness of units and final statements Automatic numeric answer comparison
    Regular competition Standard algebraic manipulation, plane geometry, basic counting Approach selection, step completeness, and final correctness Mostly automatic scoring, with sampled human review
    High-difficulty competition Hard competition problems, advanced undergraduate math problems, graduate-level proof problems Comprehensive construction, proof rigor, and boundary handling Step-by-step scoring; proofs require human review
    Open research Open-ended problems, counterexample construction, model assumptions and modeling Exploration ability, self-verification, clear expression, and honesty Expert scoring with a detailed rubric

    For the high-difficulty and open-ended layers, source material can be found in public journals, preprint platforms, or competition materials that do not involve external products. Before adding a question, confirm that it has not appeared in candidate models’ training corpora or in commonly available solutions. The open-ended layer does not need a large number of questions. A dozen carefully selected questions with detailed scoring guidelines are often more discriminative than hundreds of low-quality questions.

    Coverage also matters. If the goal is only technical selection, questions can be mixed according to the real business distribution, such as elementary math olympiad problems, graduate entrance exam math, or scientific computation problems. If the goal is to compare the upper limit of reasoning ability, the proportion of high-difficulty and open-ended questions should be increased. Otherwise, models may cluster near the ceiling and become difficult to distinguish. Equally important, the evaluation set should be strictly isolated from training data. It should not be used for prompt tuning or parameter selection, and should only be used for final comparison, to avoid repeatedly tuning toward artificially high scores.

    3. A three-dimensional metric system: correctness, stability, and efficiency

    Under consistent conditions, such as the same prompt template, the same sampling parameters, and external tools disabled, sample each question independently k times. In practice, k is often set to 5–16. This produces three complementary groups of metrics:

    • Correctness: pass@1, the accuracy of a single response, which corresponds to the user experience of asking once; and pass@k, the proportion of questions where at least one of k samples is correct, which represents the capability ceiling. Estimating pass@k with a large sample set can be expensive, so practitioners often approximate it using an unbiased estimator from the same sampling pool:
    1. from math import comb
    2. def pass_at_k(correct_flags, k):
    3. """correct_flags: True/False sequence for a question across multiple samples"""
    4. n = len(correct_flags)
    5. c = sum(correct_flags)
    6. # Probability of hitting at least one correct answer in k samples: 1 - C(n-c, k) / C(n, k)
    7. return 1.0 - comb(n - c, min(k, n)) / comb(n, min(k, n))
    • Stability: maj@k, the accuracy of majority voting; plus p(correct), the proportion of questions where correct answers account for the majority across k samples. The latter measures whether the model has a stable grasp of a question and reflects reliability better than single-run accuracy alone.

    • Efficiency: average output tokens, average response time, and average output tokens consumed per correct answer (total output tokens ÷ number of correct questions). In addition, refusal rate should be recorded separately: the proportion of evasive responses such as “cannot determine” or “insufficient information.”

    Efficiency metrics can be calculated in two ways, corresponding to “capability investment” and “economic cost”:

    1. import statistics
    2. def efficiency(samples):
    3. """samples: each item is (correct: bool, out_tokens: int, latency_ms: float)"""
    4. token_budget = statistics.mean(s["out_tokens"] for s in samples)
    5. correctness = statistics.mean(s["correct"] for s in samples)
    6. cost_per_correct = sum(s["out_tokens"] for s in samples) / max(1, sum(s["correct"] for s in samples))
    7. token_efficiency = correctness / token_budget
    8. speed = 1000 / statistics.mean(s["latency_ms"] for s in samples)
    9. return {
    10. "Average output tokens": round(token_budget, 1),
    11. "Accuracy": round(correctness, 3),
    12. "Average tokens per correct answer": round(cost_per_correct, 1),
    13. "Token efficiency (accuracy / average tokens)": round(token_efficiency, 5),
    14. "Single-question throughput (questions/s)": round(speed, 3),
    15. }
    • Average tokens per correct answer measures efficiency from a cost perspective: a lower value means the model obtains correct answers with less compute.
    • Token efficiency measures efficiency from a capability perspective: how much accuracy is obtained under a given compute budget. Dividing the same numerator by different denominators answers two different questions.

    With these metrics, a tier score can be calculated:

    1. Tier score = 0.5 × high-difficulty pass@1 + 0.3 × high-difficulty maj@k + 0.2 × open-ended expert score

    Why this weighting?

    • pass@1 is closest to real usage and receives the highest weight.
    • maj@k measures reliability when users ask repeatedly, which is suitable for scenarios requiring stable output, such as batch problem solving or teaching assistance.
    • Open-ended scoring is subjective and based on a small sample, so it serves only as a reference.

    Scores for each layer should also be kept separately, so that a high overall score does not hide weaknesses. For example, a model may nearly max out the regular competition layer but frequently skip steps in proof problems.

    The judging process should proceed in this order:

    1. Normalize answers: remove extra spaces and explanatory text, and unify fractions and decimals.
    2. Set tolerances for numerical questions, for example a relative error no greater than one thousandth.
    3. Use general symbolic computation to check equivalence for expression questions.
    4. Have reviewers score proof and open-ended questions step by step.

    Answers that are “correct in conclusion but wrong in process,” for example by citing a lemma that does not hold, should be marked as partially correct and annotated separately. These samples are often the most revealing of a model’s reasoning defects.

    4. Open math problems: from calculating to thinking

    Open-ended problems do not have fixed standard answers. They are closer to the way real research questions are posed: first understand the problem and constraints, then form a conjecture, provide a proof or counterexample, and revise the approach when necessary. This capability cannot be automatically scored through answer matching. It requires structured expert review.

    A usable scoring framework is shown below:

    Dimension What it examines Suggested weight
    Problem understanding Whether the conditions, goals, and implicit constraints are correctly identified 15%
    Approach reasonableness Whether the method choice is appropriate and whether key constructions are justified 25%
    Derivation correctness Whether each reasoning step holds and whether boundary cases are covered 35%
    Conclusion and expression Whether the conclusion is clear, notation is standard, and the solution is easy to review 15%
    Self-verification Whether the model proactively checks its work, such as substituting special cases, doing numerical checks, or examining extreme cases 10%

    Reviewers should pay attention to the following points:

    • Blind review and independent scoring by multiple reviewers: reviewers should not know which model produced the answer. They should score independently and then discuss disagreements, reducing bias.
    • Distinguish “lucky correctness” from “understanding-based correctness”: some answers reach the right conclusion but contain jumps and unproven assertions in the middle. In such cases, change the numerical values in the question without affecting the original conclusion, and see whether the model can re-derive the answer. If it can adjust along the same reasoning path, it likely understands the method.
    • Detect fabricated citations: ask the model to provide the exact statement of the cited theorem, and check whether the theorem exists and whether its conditions apply.
    • Record uncertainty honestly: if the model honestly states uncertainty, this should be considered in scoring rather than automatically penalized as failure.
    • Pay attention to process quality: the organization, readability, and closeness to human-style expression of the derivation are also important practical indicators.

    Open-ended evaluation is costly and slow, so it is better suited as a stage-gate check after model upgrades rather than a daily regression test.

    5. From good answers to affordable inference: converting performance and cost

    Model capability determines the upper bound, while inference efficiency determines how widely a model can be deployed. A common community approach is to estimate throughput from hardware. For example, some assume that rack-scale accelerator hardware combined with mature inference frameworks can deliver aggregate generation speed far higher than ordinary deployments. Such estimates are not unfounded. Improvements in memory capacity, interconnect bandwidth, and low-precision compute on new hardware, combined with mature engineering techniques such as tensor parallelism, pipeline parallelism, and continuous batching, can indeed significantly increase single-node throughput. However, estimates are highly sensitive to the following conditions:

    • model parameter count and architecture;
    • precision format;
    • context length;
    • concurrency strategy.

    Numbers detached from these assumptions have limited practical value.

    A more reliable approach is to benchmark on your own task distribution. Testing should at least distinguish two types of metrics:

    • Capacity metrics: throughput in tokens/s, token output per unit cost, and queueing time during peak periods;
    • Experience metrics: first-token latency (TTFT), time per output token (TPOT), and end-to-end response time.

    Experience metrics can also be roughly estimated using Little’s law from queueing theory: average system response time is approximately average concurrent requests divided by system throughput in requests/s. If users can tolerate a response time of 5 seconds and system throughput is 20 requests/s, average in-flight requests above about 100 will likely degrade the experience. The goal of scaling is to increase capacity metrics as much as possible while preserving experience metrics.

    Whether to self-host or use cloud services depends on traffic patterns:

    • Stable traffic, large scale, and sensitive data often favor self-hosting after scale is achieved, because it can be more cost-effective.
    • Volatile traffic or early validation stages are often better served by elastic cloud compute, container platforms, and object storage.
    • A common middle ground is to use self-hosting for baseline traffic and cloud resources for peaks. For example, where available, cloud platforms such as Baidu AI Cloud can provide elastic compute and containerized capabilities for setting up evaluation and inference environments, reducing upfront investment.

    In either case, costs should be converted into “cost per 1,000 requests.” Self-hosting costs include hardware depreciation, electricity, data center facilities, and operations personnel. Cloud services are typically billed by call volume or resource specification. The code below shows how to convert throughput data into cost per 1,000 requests. Replace the input parameters with measured values; the code mainly illustrates the calculation logic:

    1. def cost_per_1k_requests(tokens_per_second, node_hour_cost, avg_in=1200, avg_out=800, max_concurrency=64):
    2. """
    3. tokens_per_second: aggregate throughput (input + output tokens/s) measured under load
    4. node_hour_cost: total hourly cost per node (hardware depreciation + power + operations, in cost units)
    5. avg_in/avg_out: average input/output tokens per request
    6. max_concurrency: maximum concurrency per node that still meets the latency target
    7. """
    8. tokens_per_req = avg_in + avg_out
    9. req_per_sec = min(tokens_per_second / tokens_per_req, max_concurrency) # constrained by both throughput and concurrency
    10. req_per_1k = 1000 / (req_per_sec * 3600)
    11. return {
    12. "Request throughput per node (req/s)": round(req_per_sec, 2),
    13. "Cost per 1,000 requests (cost units)": round(req_per_1k * node_hour_cost, 2),
    14. }
    15. print(cost_per_1k_requests(tokens_per_second=2000, node_hour_cost=40))
    16. # Approximate output: {'Request throughput per node (req/s)': 1.0, 'Cost per 1,000 requests (cost units)': 11.11}

    For example, with an aggregate throughput of 2,000 tokens/s and an average consumption of 2,000 tokens per request, a node can complete about one request per second, and the cost per 1,000 requests is about 11 units. If the average output length drops to 400 tokens, total consumption falls to 1,600 tokens, and throughput under the same conditions rises to 1.25 requests/s, reducing cost by about 20%. Shorter chains of thought save not only tokens but also real compute bills.

    Another easily overlooked factor is cache reuse. Math applications often include fixed templates, such as system prompts, problem-solving rules, and few-shot examples. If the inference framework supports prefix cache reuse, this shared content does not need to be recomputed. This can reduce first-token latency and improve overall throughput. However, it can only optimize shared content and cannot compress the model’s own reasoning process.

    Therefore, evaluation and deployment should form a closed loop:

    • Effect evaluation: decide which model to use and how to write prompts.
    • Performance load testing: decide precision, concurrency, and how many accelerators per node.
    • Cost accounting: verify whether the performance improvement is worth the cost.

    6. Conclusion and action checklist

    Returning to the original question, comparing models should not rely only on rankings:

    • Whether a model can handle open-ended math problems depends on its expert score on the open-ended layer, not on community impressions.
    • Some models have concise chains of thought and natural expression, which may be more suitable for teaching assistance, problem-solving guidance, or other scenarios requiring human readability.
    • Other models may produce verbose chains of thought, which do not necessarily improve accuracy but can increase token consumption and response latency.
    • Hardware throughput estimates can only become actionable capacity and cost decisions after being tested with specific models, precision settings, and concurrency conditions.

    A practical rollout can be organized into four steps:

    1. Build an evaluation set: create four difficulty layers, combine public and private questions, and rotate them regularly.
    2. Define metrics: fix evaluation conditions and calculate pass@1, pass@k, maj@k, average output tokens per correct answer, and other metrics across correctness, stability, and efficiency.
    3. Evaluate open-ended problems: use blind review and structured rubrics, focusing on detecting “lucky correctness” and fabricated citations.
    4. Calculate deployment costs: convert measured throughput into cost per 1,000 requests, and build a linked “effect–performance–cost” evaluation loop for continuous iteration.

    Only when model capability is placed into a quantifiable, reproducible, and auditable framework can evaluation conclusions truly support technical decisions.