How Big Is the Gap Between Open-Source and Closed-Source LLMs?

    This article reframes the open-source vs. closed-source LLM debate around a practical question: where do capability and cost curves intersect under a given budget and latency constraint. Using a benchmark of roughly 15,000 questions, it breaks down four dimensions that must be evaluated together—accuracy distribution, latency percentiles, token consumption, and cost per 1,000 calls—and shows why headline scores can hide regressions in instruction following and tool calling. It then outlines four verifiable facets of the real gap (capability ceiling, controllability, cost structure, and data compliance) and a four-step framework for building a representative evaluation set, collecting metrics, applying tiered routing, and setting up regression alerts. The conclusion: reserve closed-source flagship models for genuine long-tail problems, and use tiered routing plus caching to control costs.

    1. Framing the Question Correctly: The Gap Is a Curve, Not a Number

    When comparing open-source and closed-source options, the most common mistake is reducing the question to “which model is smarter.” A more rigorous engineering framing is this: under a given budget and latency constraint, where do the capability ceiling and the cost-performance curves of the two approaches intersect?

    One evaluation covering roughly 15,000 questions offers a useful slice. A closed-source flagship preview version scored 72.5% overall accuracy, with an average of about 64 seconds per call and about 3,119 tokens consumed per call, which works out to roughly RMB 247.3 per 1,000 calls. Only when you place it in the same coordinate system can you see the real shape of the “gap”—it includes not just an accuracy difference, but also cost and latency differences.

    Three caveats must be stated up front, or the conclusions will be misread:

    • The evaluation is primarily based on Chinese-language scenarios; results may differ for other languages and more specialized domains.
    • The capabilities and pricing of a preview version may still change, so the data is time-sensitive.
    • Average time per call is heavily affected by prompt length, output length, and concurrency strategy, so results from different evaluations cannot be compared directly.

    2. Breaking Down the Metrics: Four Dimensions Must Be Read Together

    2.1 Accuracy: Look at the Total, but Also the Distribution

    The overall score rose from 68.9% in the previous generation to 72.5%, a gain of 3.6 percentage points, moving the model from 7th to 1st place. But what has real engineering value is the breakdown:

    • Education: 49.1% → 64.8%, up 15.7 points;
    • Medical and mental health: 77.8% → 89.5%, up 11.7 points;
    • Reasoning and math: 72.2% → 81.8%, up 9.6 points;
    • Language and instruction following: 70.6% → 67.5%, down 3.1 points;
    • Agent and tool calling: 61.0% → 58.6%, down 2.4 points.

    This data illustrates a frequently overlooked fact: capability gains often come with capability rebalancing. When multimodal and deep reasoning are enhanced, the stability of basic language understanding and tool calling may be sacrificed. If your business happens to rely on structured output, function calling, or long orchestration flows, the top scorer overall may not be the best choice.

    2.2 Latency: Averages Can Mislead

    An average of 64 seconds is nearly unacceptable for an interactive product, but entirely feasible for offline batch processing. That is why you must look at percentiles rather than the mean. A good practice is to record P50/P90/P99 consistently in your evaluation framework, and to distinguish “time to first token” from “overall completion latency”:

    1. # Example: record percentile latency instead of only the mean
    2. import time, statistics
    3. def timed_call(client, payload):
    4. t0 = time.perf_counter()
    5. resp = client.generate(**payload)
    6. return time.perf_counter() - t0, resp
    7. lat = []
    8. for item in dataset:
    9. dt, _ = timed_call(client, payload_for(item))
    10. lat.append(dt)
    11. lat.sort()
    12. p = lambda q: lat[int(len(lat) * q)]
    13. print("P50/P90/P99:", p(0.5), p(0.9), p(0.99))

    2.3 Token Consumption: Separate Input from Output

    The average of 3,119 tokens is only a total. What really drives the bill is the ratio of input to output, because the two are usually priced differently. From the previous generation to this one, total token consumption rose only about 11% (2,810 → 3,119), but the output price increased from RMB 72.5 per million tokens to RMB 85.2 per million tokens, a 17.5% increase—and that is the main reason costs went up.

    2.4 Cost: Use “Per 1,000 Calls” as a Common Yardstick

    At RMB 247.3 per 1,000 calls, this is 30.9% higher than the previous generation’s RMB 189. In a same-cost-tier comparison, it is nearly 16 times the runner-up (about RMB 15.6) and 2.8 times another mid-tier closed-source version (about RMB 87.9). The conclusion is straightforward: flagship capability has extremely low price elasticity. Once your scenario does not require “top-of-the-leaderboard” reasoning, this premium can hardly be covered by business gains.

    3. Same-Cost-Tier Comparison: Where Is the Cost-Performance Inflection Point?

    Grouping models by cost per 1,000 calls typically yields a three-layer structure:

    • Flagship tier (above RMB 200): pursuit of extreme reasoning and multimodal, suited to offline high-value analysis;
    • Mid tier (RMB 50–100): a balance of quality and cost, suited to the main path of most businesses;
    • Light tier (below RMB 20): high-concurrency, low-complexity tasks such as classification, extraction, and rewriting.

    The key engineering action is to find the inflection point where “quality gain starts to fall below cost gain.” The method is simple: on the same dataset, plot an “accuracy–cost” curve by tier, take the last tier before marginal returns drop sharply as the default routing target, and route the remaining traffic down to the light tier.

    4. The Real Gap Between Open Source and Closed Source: Four Verifiable Facets

    Without citing any specific product, here are reproducible ways to judge:

    1. Capability ceiling: closed-source flagships usually still lead in complex reasoning and multimodal understanding, but the size of the lead must be validated on your own business set. A 3–4 point lead on public leaderboards may widen or disappear on your data.
    2. Controllability: self-hosted open source lets you change inference parameters, quantization strategy, and context templates, and continue pre-training on vertical corpora; closed source can only be tuned through prompts and a limited set of exposed parameters.
    3. Cost structure: closed source is a variable cost that grows linearly with call volume; open source is a fixed compute and operations cost plus marginal electricity, and is only cheaper when utilization is high enough.
    4. Data compliance: private deployment has a natural advantage in keeping data within your own domain, while closed source depends on the vendor’s data processing terms and regional deployment options.

    A rough break-even judgment: when daily call volume is low, closed source is cheaper; once volume crosses a certain threshold and the tasks can be covered by smaller models, self-hosting starts to win. The threshold depends on hardware depreciation, concurrency utilization, and human operations effort, and you must recompute it with your own bill.

    5. A Practical Evaluation and Selection Framework

    Step 1: Build a Representative Evaluation Set

    Sample according to your real business distribution, covering high-frequency intents and long-tail edge cases. A scale of at least several thousand items is recommended, with human-annotated gold answers retained.

    Step 2: Collect Four-Dimensional Metrics Simultaneously

    1. {
    2. "model_tier": "flagship|mid|light|self_hosted",
    3. "accuracy": 0.0,
    4. "latency_ms": {"p50": 0, "p90": 0, "p99": 0},
    5. "tokens": {"input": 0, "output": 0},
    6. "cost_per_1k_calls": 0.0,
    7. "by_domain": {"instruction_following": 0.0, "tool_calling": 0.0}
    8. }

    Step 3: Tiered Routing

    Use a light model for intent recognition and initial screening, a mid-tier model for the main path, and a flagship model only for the small number of requests judged to be high difficulty. Example logic:

    1. def route(req):
    2. if req.estimated_difficulty == "high":
    3. return flagship_client
    4. if req.task_type in {"classify", "extract", "rewrite"}:
    5. return light_client
    6. return mid_client

    This structure can usually compress average cost to a fraction of the original with minimal accuracy loss.

    Step 4: Establish Regression Testing and Alerts

    Turn the evaluation set into a pipeline that automatically runs scores whenever the model or prompts change. Set up monitoring alerts for accuracy drops, rising P99 latency, and abnormal token consumption, with logs and metrics sent to separate logging and monitoring/alerting systems, to avoid “losing control the moment it ships.”

    6. Common Pitfalls

    • Only looking at the total score: ignoring regressions in the breakdown, leading to a surge of production issues in instruction following and tool calling.
    • Only looking at unit price: ignoring the output price increase and output length inflation, causing actual bills to deviate greatly from expectations.
    • Only looking at mean latency: for interactive paths, P99 is what determines the user experience.
    • Blindly chasing the newest: preview capabilities are not yet stable, so production should keep a rollback path to the previous version.
    • Ignoring caching: introducing semantic caching for highly deterministic requests can significantly cut call volume and cost.

    7. Conclusion

    The gap between open source and closed source has shifted from “usable vs. not usable” to “a trade-off under specific constraints.” The evaluation above shows that flagship closed-source models still have an edge in deep reasoning and multimodal, but at the cost of several to more than ten times the expense, along with regressions in language following and tool calling. For most teams, the rational path is: use your business evaluation set as the yardstick, adopt tiered routing and caching to bring costs into a reasonable range, apply open-source options to high-frequency scenarios they can cover, reserve closed-source flagships for genuine long-tail problems, and use continuous regression to keep every model iteration controllable, rollback-able, and explainable.