Open vs. Closed-Source LLMs: How Wide Is the Gap Today?

    This article examines how far open-source large language models have closed the gap with closed-source flagships, using a 15,000-question benchmark as a reference point. It breaks the comparison into four metrics and three cross-cutting views, shows where capability gains come from and why token usage and pricing can inflate costs, and separates the remaining gap into score, stability, and serviceability layers. Readers will find practical guidance on tiered routing, structured output validation, and observability loops for balancing capability, cost, and stability.

    1. The Real Question: From Leaderboard Rankings to Engineering Selection

    Debates about the gap between open-source and closed-source LLMs often stop at single benchmark scores. Real business decisions, however, are not about who leads by a few points, but about how much usable capability a given unit of cost buys in a specific scenario. A comprehensive evaluation covering roughly 15,000 questions offers a useful window: a closed-source flagship preview raised overall accuracy from 68.9% in the previous generation to 72.5%, taking first place, while cost per 1,000 calls rose from CNY 189 to CNY 247.3, an increase of about 30.9%, making it the most expensive commercial model in the evaluation. Meanwhile, open-source models already perform close to the top tier on general tasks, with the remaining gap showing up mainly in long-tail stability, tool-calling consistency, and service-readiness.

    Rather than repeating the merits of one product, this article abstracts three transferable technical questions: where capability gains come from, how costs get amplified, and how to trade off open-source and closed-source models under engineering constraints.

    2. Evaluation Framework: Four Dimensions and Three Cross-Cutting Views

    Reliable conclusions depend on a reproducible framework. At minimum, fix four dimensions: accuracy, average response latency, average token consumption, and cost per 1,000 calls. Then layer on three cross-cutting views: comparison within the same cost tier, comparison across old and new versions, and comparison between open-source and closed-source models. The evaluation language and domain bias must also be stated, for example “focused on Chinese-language scenarios”; otherwise the conclusions cannot be generalized.

    A sample structure for recording metrics is shown below (pseudocode, illustrating field design only):

    1. record = {
    2. "model_group": "closed_source", # or open_source
    3. "accuracy": 0.725,
    4. "avg_latency_s": 64,
    5. "avg_tokens": 3119,
    6. "cost_per_1k_calls_cny": 247.3,
    7. "domain_breakdown": {
    8. "education": 0.648,
    9. "medical_mental_health": 0.895,
    10. "reasoning_math": 0.818,
    11. "language_instruction": 0.675,
    12. "agent_tool_use": 0.586,
    13. }
    14. }

    3. Where Capability Gains Actually Come From: Structural Improvement Alongside Local Regressions

    The gains of this closed-source flagship are not evenly distributed. Education rose from 49.1% to 64.8% (+15.7 percentage points), medical and mental health from 77.8% to 89.5% (+11.7), and reasoning and math from 72.2% to 81.8% (+9.6), confirming the direction of “enhanced higher-order reasoning.” But language and instruction following fell from 70.6% to 67.5% (-3.1), and agent and tool calling dropped from 61.0% to 58.6% (-2.4).

    This points to an engineering fact: strengthening multimodal and reasoning capabilities may come at the cost of basic language consistency and tool-calling stability. For a business whose core path is structured output, function calling, and workflow orchestration, “highest overall score” does not automatically mean “best fit.” Open-source models often close this gap through controllable fine-tuning, constrained decoding, and process orchestration, forming a cost-effective advantage that is “good enough and controllable.”

    4. Why Costs Surge: The Dual Amplification of Tokens and Unit Price

    The rise from CNY 189 to CNY 247.3 comes from two stacked factors: average tokens increased from 2,810 to 3,119 (+11%), and the output price was raised from CNY 72.5 per million tokens to CNY 85.2 per million tokens (+17.5%). Costs therefore do not scale linearly with being “smarter”; they are the product of “longer outputs plus higher unit price.” By comparison, average latency over the same period dropped from 67s to 64s (about 4.5% improvement), showing progress in scheduling and inference optimization on the engineering side, but the speed gain cannot offset the cost increase.

    Same-tier comparison makes it more concrete: this flagship costs nearly 16 times the second-place model (CNY 15.6 per 1,000 calls), 2.8 times another mid-tier closed-source model (CNY 87.9 per 1,000 calls), and 31% more than its own previous generation. When the cost difference reaches an order of magnitude, the selection logic should shift from “chasing the highest score” to “tiered routing.”

    5. Open Source vs. Closed Source: A Three-Layer Gap

    The first layer is the score gap. On general Chinese-language tasks, top closed-source models still lead, but the gap has been compressed to a single-digit percentage range, and open-source models can overtake in some vertical domains.

    The second layer is the stability gap. Closed-source providers reduce the variance of “same input, different output” through unified serving and version management; open source requires building your own evaluation, regression, and canary-release systems to approach that consistency.

    The third layer is the serviceability gap. Closed-source offerings come with monitoring, rate limiting, logging, and compliance pipelines built in; open source needs general cloud capabilities to fill the gaps, such as object storage for archiving datasets and artifacts, message queues for decoupling asynchronous tasks, container platforms for elastic scaling, and logging and monitoring services for observability. Baidu AI Cloud can provide support in these general categories, but specific capabilities should be confirmed in the official documentation.

    6. Implementation: Tiered Routing and a Closed Observability Loop

    A tiered routing architecture is recommended: use a low-cost model for high-frequency simple requests first, then escalate to the flagship model when a request misses or returns low confidence; for tool-calling tasks, enforce structured output and schema validation to reduce regression risk. Combined with caching, batching, and rate limiting, this pushes cost per 1,000 calls back into an acceptable range.

    A closed observability loop is equally important. Build a dashboard for the four metric categories — accuracy, latency, tokens, and cost — broken down by domain; run the regression set on every model or prompt change and watch for structural regressions where the overall score rises while a local area drops. Sample routing pseudocode:

    1. def route(req):
    2. if req.complexity < 0.4 and req.domain in SAFE_DOMAINS:
    3. return small_model(req)
    4. draft = small_model(req)
    5. if draft.confidence > 0.8 and validate_schema(draft):
    6. return draft
    7. return flagship_model(req)

    7. Conclusion: The Gap Is Narrowing, Selection Is Getting More Granular

    Overall, the gap between open-source and closed-source models has converged from a “generational gap” to a “scenario gap.” Closed-source flagships still lead on overall score and higher-order reasoning, but rising costs and local regressions are a reminder that there is no all-around champion, only the most suitable combination. Engineering teams should build their own evaluation sets and cost models, and use tiered routing, constrained decoding, and observability systems to balance the triangle of capability, cost, and stability. If cloud support is needed, prioritize general-category capabilities (compute, storage, queues, containers, logging, and monitoring) to build an elastic and observable foundation, approaching a first-tier experience within a controlled budget.