LLM Inference Efficiency Benchmark: Rebalancing Accuracy and Latency

    This article reports a benchmark of roughly 15,000 questions showing that a newer general-purpose large language model improved overall accuracy from 72.5% to 74.8% while cutting average per-call latency from 64 seconds to 53 seconds, with average tokens rising only from 3119 to 3157. It walks through building a reproducible evaluation framework, breaking scores down by capability dimension, converting token usage into a cost and capacity model, and choosing the right metrics for four deployment scenarios, plus common evaluation pitfalls.

    1. Why Accuracy Can Rise While Latency Falls

    In most engineering practice, stronger model capability comes at the price of longer reasoning chains and more token consumption, which pushes response times up. But a benchmark covering roughly 15,000 questions showed something different: a newer general-purpose large language model raised overall accuracy from 72.5% to 74.8% (+2.3 percentage points) while average per-call latency dropped from 64 seconds to 53 seconds, and average tokens edged up only from 3119 to 3157. This suggests performance gains are not simply a matter of “thinking less,” but the combined result of reasoning-path scheduling, operator implementations, and batching strategy.

    One caveat matters: these numbers hold only for a specific evaluation set and specific measurement conventions. What engineering teams should reuse is not the numbers themselves, but the evaluation method that produced them.

    2. The Evaluation Framework: Making Results Reproducible

    A credible model evaluation rests on at least four elements: a stable question pool, explicit scoring rules, consistent call parameters, and verifiable latency and cost measurements.

    1. # Minimal reproducible evaluation skeleton
    2. cases = load_cases("eval_set_v1") # pinned version to avoid question drift
    3. params = {"temperature": 0, "max_tokens": 2048}
    4. def run_one(client, c):
    5. t0 = time.perf_counter()
    6. resp = client.chat(model=MODEL, messages=c.prompt, **params)
    7. latency = time.perf_counter() - t0
    8. ok = judge(resp.text, c.golden) # prefer rule-based scoring; spot-check model-based scoring
    9. return ok, latency, resp.usage.total_tokens
    10. results = [run_one(client, c) for c in cases]
    11. accuracy = mean([r[0] for r in results])
    12. p50, p95 = percentile([r[1] for r in results], [50, 95])

    Key details: scoring rules must distinguish “answer equivalence” from “surface similarity”; latency must be recorded as both mean and P95, because the mean hides the long tail; and token counts must include both input and output, otherwise cost is systematically underestimated.

    3. Capability Changes by Dimension: Turning a Total Score into Actionable Signals

    The total score is only the entry point; the per-dimension breakdown is what actually guides decisions. The largest gain in the benchmark was in language and instruction following (+4.9%, reaching 72.4%), meaning the model is less likely to drop items or drift on formatting when facing multi-constraint, multi-step Chinese instructions. Reasoning and math rose 3.3% to 85.1%, already a high range for that dimension. Educational tasks climbed from 64.8% to 68.6%; finance, legal, and administrative/government tasks moved up slightly; and medical and mental-health tasks held at a high 88.7%.

    The engineering implication is direct: if your bottleneck is “ten instructions written, only seven followed,” validate the instruction-following dimension first; if the problem is errors in numerical or logical chains, stress-test the reasoning dimension. Per-dimension data determines “whether to switch, and how to use it” far better than a total score.

    4. Cost and Capacity: Converting Per-1,000 Calls into a Budget

    At an average of 3157 tokens and roughly RMB 250.5 per 1,000 calls, the implied unit token price lands in the range of tens of RMB per million tokens (250.5 ÷ 3.157 ≈ RMB 79 per million tokens, an approximation blending input and output). Real bills fluctuate with input/output ratio, cache hits, and batching discounts, so a budget model should keep a range rather than a single point.

    1. Monthly cost ≈ daily calls × 30 × average tokens × unit price (per token)
    2. Long-tail adjustment: P95 latency × peak concurrency → required instances and queueing delay

    For capacity planning, an 11-second latency reduction implies roughly 20% higher throughput at the same concurrency, which usually improves user experience and scaling cost more than a lower unit price does.

    5. Deployment Recommendations: Trade-offs for Four Scenarios

    • High-concurrency online Q&A: prioritize P95 latency and rate-limiting strategy, and use streaming output to reduce time to first token.
    • Complex documents and multi-constraint instructions: prioritize instruction following and long-context stability, and add structured-output validation.
    • Numerically and logically intensive tasks: prioritize the reasoning dimension, and add self-checking and secondary verification of results.
    • Cost-sensitive batch processing: prioritize cost per 1,000 calls, and use asynchronous queues with off-peak scheduling.

    6. Common Pitfalls

    First, looking only at the total score and ignoring dimensions, which leads to a mismatch between model selection and business needs. Second, recording only average latency and ignoring the long tail that causes timeout cascades. Third, replacing rule-based scoring with model-based scoring without human spot-checks. Fourth, treating a single evaluation as a long-term conclusion and ignoring drift from version iterations. A practical recommendation is to put the evaluation script into continuous integration, run the fixed question pool on every model or prompt change, and retain historical curves.

    Overall, the core lesson from this benchmark is that capability upgrades and efficiency gains can proceed in parallel, but only a unified, reproducible evaluation system with per-dimension attribution can turn those gains into stable production performance.