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

    This article examines how to measure the real gap between open-weight and closed-source flagship LLMs using a four-dimensional evaluation framework: effectiveness, latency, token consumption, and cost. It shows why a single aggregate score hides structural capability differences, why tail latency matters more than averages for interactive applications, and why cost must be broken down by input tokens, output tokens, and cache hits. The article concludes that the gap is no longer about whether open-source models are usable, but about where they are affordable and stable enough to deploy, and recommends a tiered routing architecture with continuous evaluation and rollback-capable model version management.

    1. The Problem: The Gap Cannot Be Judged by “Feel”

    Over the past year, closed-source flagship models and open-weight models have been trading places at the top of various leaderboards, and community discussion about “open source has caught up with closed source” keeps heating up. But for developers and enterprise users, the real question is not a leaderboard ranking. It is an engineering question: on your own business corpus, is the performance gap between the two model types already smaller than the error your business can tolerate, and can that gap be accepted under cost, latency, and compliance constraints?

    A representative set of evaluation data illustrates the point. A preview version of a closed-source flagship model achieved 72.5% accuracy on roughly 15,000 questions, with an average of 64 seconds per call and an average consumption of 3,119 tokens, which works out to about RMB 247.3 per 1,000 calls. Its previous generation scored 68.9% accuracy, took 67 seconds, consumed 2,810 tokens, and cost RMB 189 per 1,000 calls. The value of this data is not in the specific numbers, but in the fact that it demonstrates a complete evaluation coordinate system: effectiveness, speed, consumption, and cost must be measured at the same time. Otherwise, any conclusion about “who is stronger” is one-sided.

    2. Evaluation System Design: All Four Dimensions Are Required

    1. Effectiveness: Aggregate Scores Hide Structural Differences

    An aggregate score only reflects average capability. What actually drives model selection is the distribution of fine-grained capabilities. In the data above, the new version improved from 49.1% to 64.8% (+15.7 percentage points) on “education” questions, from 77.8% to 89.5% on “medical and mental health,” and from 72.2% to 81.8% on “reasoning and math.” However, “language and instruction following” slipped from 70.6% to 67.5%, and “agent and tool calling” dropped from 61.0% to 58.6%.

    This suggests that a leap in capability is often accompanied by a rebalancing of capabilities. In engineering practice, the evaluation set should be split by business scenario into several capability buckets, each with its own admission threshold, rather than making a decision based on a single aggregate score.

    An illustrative evaluation configuration:

    1. eval:
    2. dataset_size: 15000
    3. buckets:
    4. reasoning_math: {threshold: 0.80, weight: 0.25}
    5. instruction_following: {threshold: 0.70, weight: 0.25}
    6. tool_calling: {threshold: 0.65, weight: 0.20}
    7. domain_knowledge: {threshold: 0.75, weight: 0.30}
    8. metrics: [accuracy, p50_latency, p95_latency, tokens_in, tokens_out, cost_per_1k]

    2. Latency: Look Beyond the Average to the Long Tail

    Average latency dropped from 67 seconds to 64 seconds, an improvement of only about 4.5%. But for interactive applications, the average is nearly meaningless; P95 and P99 determine the experience. The evaluation script must record percentile latency and distinguish queueing latency, time-to-first-token, and generation latency. Otherwise, it is impossible to locate whether the bottleneck is in the network, scheduling, or the decoding stage.

    3. Consumption: Token Structure Matters More Than the Total

    Token consumption rose by only about 11%, but cost rose by about 30.9%. The difference comes from a unit price adjustment (the output price increased from RMB 72.5 per million tokens to RMB 85.2 per million tokens, a 17.5% increase). The conclusion: the cost model must be split into input tokens, output tokens, and cache hits, each accounted for separately. Any cost estimate that only counts the total will be distorted.

    1. def estimate_cost(calls, in_tok, out_tok, price_in, price_out, cache_ratio=0.0):
    2. billable_in = in_tok * (1 - cache_ratio)
    3. return calls * (billable_in * price_in + out_tok * price_out) / 1_000_000

    4. Cost: Establish a “Per 1,000 Calls” Standard

    Only by normalizing cost to “per 1,000 calls” can it be aligned with business QPS and average revenue per order, and then used to calculate the gross margin of a single task. This is the only reliable standard for judging whether “expensive is worth it.”

    3. Where the Real Gap Between Open Source and Closed Source Lies

    Combining the dimensions above, the gap can be broken into three layers. The first is the peak capability gap: closed-source flagships still lead on hard reasoning and multimodal tasks, but the lead is being compressed to single-digit percentage points. The second is the stability and consistency gap: closed-source services have lower variance in long context, structured output, and tool-calling success rates, which often affects production usability more than peak capability. The third is the total cost of ownership gap: open-source self-deployment replaces “unit price” with “compute depreciation + operations labor + tuning investment,” and only shows an advantage when call volume is large enough and tasks are converged enough.

    So the more pragmatic conclusion is: the gap is no longer about “whether it can be used,” but about “on which business line it is affordable and stable enough to use.”

    4. Implementation Advice: Tiered Routing and Continuous Evaluation

    A tiered routing architecture is recommended: use rules or a small model for intent recognition, route simple requests to a low-cost self-deployed model, and route complex reasoning and multimodal requests to closed-source capabilities. At the same time, use a unified gateway for rate limiting, caching, and fallback.

    1. Request -> Intent classification -> Simple: self-deployed model
    2. -> Complex: closed-source model (with timeout and fallback)
    3. -> All: record metrics -> offline evaluation -> threshold alerting

    Three supporting measures: first, establish a dual-track evaluation of a fixed evaluation set and canary traffic; any model or prompt change must pass the thresholds. Second, connect logging services with monitoring and alerting, and build dashboards for accuracy proxy metrics, P95 latency, and token consumption. Third, write evaluation results into the configuration center to enable “rollback-capable model version management.”

    5. Conclusion

    Judging the gap between open source and closed source requires putting effectiveness, latency, tokens, and cost into the same table, and replacing aggregate-score worship with per-scenario thresholds. When evaluation becomes a routine engineering capability, model selection no longer depends on marketing claims, but is determined jointly by data and business constraints.