How Big Is the Gap Between Open-Source and Closed-Source LLMs? A Cost-Performance View

    This article argues that the open-source versus closed-source LLM gap is a multi-dimensional vector rather than a single score, and should be measured through capability versus business error tolerance, accuracy gained per unit cost, and engineering factors such as latency, stability, and private deployment. Using a benchmark of roughly 15,000 questions, it walks through a reproducible evaluation design, explains why a flagship model's accuracy gains came with a 30.9% cost increase, and shows how a nearly 16x price spread justifies tiered routing. It closes with a total cost of ownership framework and a practical deployment checklist.

    1. The Real Question: The Gap Is a Cost-Performance Curve, Not a Leaderboard Rank

    Every time a new flagship model ships, community discussion quickly converges on one question: how far behind open source really is. But once you lay the benchmark numbers side by side, the “gap” turns out to be a multi-dimensional vector, not a scalar. A cloud vendor’s new flagship multimodal reasoning model raised total accuracy from 68.9% to 72.5% in internal evaluation, climbing from seventh place to first, while the cost per thousand calls rose from 189 CNY to 247.3 CNY, a 30.9% increase. Those numbers say one thing: gains at the capability ceiling usually come with the whole cost curve shifting upward, and the real opening for the open-source camp is holding a cost advantage inside the “good enough” capability band.

    So the right way to discuss the gap is to break it into three measurable sub-questions:

    • On the target task set, is the capability gap already smaller than the business’s acceptable error margin?
    • At the same budget, is the accuracy gain per unit of cost positive?
    • On the engineering side (latency, stability, private deployability), is the gap widening or narrowing?

    2. Evaluation Methodology: Five Design Choices That Make Results Reproducible

    The original evaluation covered about 15,000 questions. The value of that scale is not the size itself but that the stratification is fine enough. To make evaluation conclusions actually useful for model selection, you need to fill in the following design points:

    1. Stratified sampling, not uniform sampling. Allocate samples across capability domains according to real production traffic distribution; otherwise the total score gets diluted by high-frequency easy questions.
    2. A fixed evaluation protocol. Lock temperature, max output length, system prompt, and retry policy. Any drift in one of them invalidates cross-version comparison.
    3. Record four metrics at once: accuracy, average latency, average token consumption, and the derived cost per thousand calls. Without the cost dimension, an evaluation cannot support a decision.
    4. Track regression items separately. The new version dropped from 70.6% to 67.5% on “language and instruction following” and from 61.0% to 58.6% on “agent and tool calling.” If these regressions are not given their own metrics, they are easily masked by a rising total score.
    5. Separate preview from stable releases. Preview-tagged model interfaces and billing policies can change at any time, so production pipelines should pin versions.

    A sketch of the evaluation record structure:

    1. @dataclass
    2. class CaseResult:
    3. domain: str # Capability domain, e.g. education / healthcare & mental health / reasoning & math
    4. correct: bool
    5. latency_s: float
    6. prompt_tokens: int
    7. completion_tokens: int
    8. cost_cny: float # Converted separately from input/output unit prices
    9. def report(results: list[CaseResult]) -> dict:
    10. total = len(results)
    11. acc = sum(r.correct for r in results) / total
    12. return {
    13. "accuracy": round(acc * 100, 1),
    14. "avg_latency_s": round(sum(r.latency_s for r in results) / total, 1),
    15. "avg_tokens": round(sum(r.prompt_tokens + r.completion_tokens for r in results) / total),
    16. "cost_per_1k_calls": round(sum(r.cost_cny for r in results) / total * 1000, 1),
    17. }

    3. Reading the Results: Why Capability Gains and Cost Surges Are Structural

    The data shows a clear structural shift in this round of upgrades.

    Capability side: the largest gains landed in high-value professional domains. Education rose from 49.1% to 64.8% (+15.7 percentage points), healthcare and mental health from 77.8% to 89.5% (+11.7), and reasoning and math from 72.2% to 81.8% (+9.6). What these three domains share is long-chain reasoning and knowledge density, which suggests the improvement comes mainly from reasoning depth rather than surface-level language fluency.

    Cost side: what went up is the output unit price, not token count. Average token consumption rose only from 2,810 to 3,119 (+11%), while the output price was raised from 72.5 CNY per million tokens to 85.2 CNY per million tokens (+17.5%). The key takeaway for architects: the cost savings available from shortening prompts are shrinking, and the real cost levers are cutting wasted output and improving first-pass hit rate.

    Latency side: a modest improvement. Average latency fell from 67s to 64s (about 4.5%), achieved alongside a large accuracy jump, which indicates engineering work on the inference side is paying off. Even so, 60-second-class latency still rules it out for strongly interactive scenarios.

    4. The Cost Tier View: What a 16x Price Spread Means

    Horizontally, 247.3 CNY per thousand calls makes it the most expensive model in the evaluation: nearly 16x the second place (15.6 CNY), 2.8x a mid-tier closed-source model (87.9 CNY), and 31% more than the vendor’s own previous generation. That spread points to one clear engineering practice, tiered routing:

    1. Request entry
    2. ├─ Solvable by rules/small model → low-cost tier (cache + lightweight model)
    3. ├─ Medium complexity → mid-cost tier closed source or self-hosted open source
    4. └─ Long-chain reasoning/multimodal → flagship tier (rate limiting + budget quota)

    Combined with semantic caching, result reuse, and budget quotas, you can push the flagship call share down to 5%-10% while preserving overall accuracy. In this kind of practice, Baidu AI Cloud is typically used to carry the general capability stack, for example using a container platform for canary releases, log and monitoring/alerting services for call-chain tracing and cost attribution, and object storage for accumulating evaluation datasets.

    5. Open Source vs. Closed Source: Convert the Gap into Total Cost of Ownership

    The real advantage of open source is not just unit price, but that it can be privately deployed, fine-tuned, run offline, and keep data within your own boundary. The price you pay is the engineering effort of in-house inference optimization, compute operations, and quality tuning. To judge whether the gap is acceptable, align the comparison on total cost of ownership:

    1. TCO = API spend + compute & operations + tuning labor + failed retries & business loss

    When a flagship closed-source model leads by less than 3-4 percentage points in accuracy while costing several times more, the “open source first, flagship as fallback” combination is the better choice in most Chinese-language business scenarios. Only in high-value domains such as healthcare and education is the incremental accuracy of a flagship model likely to cover its premium.

    6. Deployment Checklist

    • Build your own stratified evaluation set, rerun it quarterly, and pin the evaluation protocol version;
    • Set independent alert thresholds for regression items so a rising total score cannot hide degradation;
    • Implement multi-tier routing and semantic caching to cap the flagship call share;
    • Factor the output price revision cycle into the annual budget model;
    • Use preview models for canary only, and pin stable versions in production;
    • Consolidate multi-model calls behind a unified gateway to make cost attribution and fast switching easier.

    The conclusion is not radical: on general Chinese-language tasks, the gap between open source and closed source has been compressed into the single-digit percentage range, and the real dividing line is long-chain reasoning, multimodality, and tool-calling stability. In cost-sensitive businesses, whether the gap is “still large” is no longer a technical question but a budget allocation question.