How Big Is the Gap Between Open-Source and Closed-Source LLMs?
This article examines the gap between open-source and closed-source large language models through four metrics that matter in production: task accuracy, response latency, token consumption, and cost per thousand calls. Using a benchmark of roughly 15,000 questions, it shows why a single leaderboard rank is misleading, how generational upgrades can trade off instruction following and tool calling against reasoning gains, and how to build a layered evaluation and routing strategy with your own dataset.
1. The Real Question: How Should the Gap Be Measured?
“How far behind is open source?” is a question that easily gets reduced to a single leaderboard position. In real engineering decisions, the gap is determined by at least four dimensions working together: task accuracy, response latency, token consumption, and cost per call. Any conclusion that looks at only one of them can fall apart in production.
A comprehensive benchmark covering roughly 15,000 questions offers a useful slice. A flagship closed-source model topped the list at 72.5% accuracy, with an average of about 64 seconds per call and about 3,119 tokens consumed, which works out to roughly 247.3 CNY per thousand calls. The previous generation of the same family scored 68.9%, 67 seconds, 2,810 tokens, and 189 CNY. The value of these numbers is not the ranking itself, but the fact that they expose a non-linear relationship between capability gains and cost jumps at the same time.
2. Evaluation Framework: Four Metrics Belong in One Table
1. Accuracy Only Means Something When Broken Down by Domain
An overall score answers “is it good enough on average.” Only the per-domain breakdown answers “can it go to production.” In the benchmark above, the clearest gains came in education (49.1% → 64.8%), medical and mental health (77.8% → 89.5%), and reasoning and math (72.2% → 81.8%). At the same time, two areas regressed: language and instruction following (70.6% → 67.5%) and agents and tool calling (61.0% → 58.6%). This points to a common pattern: stronger multimodal and deep reasoning ability may come at the cost of basic language constraint adherence and tool-calling stability.
2. Latency: Averages Hide the Long Tail
64 seconds is a mean, but what actually determines user experience in production is P95/P99. A practical evaluation should record both time to first token and end-to-end latency, and should separate streaming from non-streaming calls.
3. Token Consumption: Separate Input, Output, and Caching
3,119 tokens is an average, but the cost structure is shaped by input price, output price, and cache-hit strategy together. In the case above, tokens grew by only about 11% while cost rose by about 31%, mainly because the output-side unit price was raised by about 17.5%.
4. Cost: Calculate per Thousand Successful Calls
Failed retries and timed-out reruns are billed too, so the denominator should be successful calls, not calls initiated.
3. Reading the Results: Three Counter-Intuitive Findings
First, the top of the leaderboard is not the best value. That flagship model costs about 247.3 CNY per thousand calls, nearly 16 times a low-cost option on the same list (about 15.6 CNY), and about 2.8 times a mid-tier closed-source configuration (about 87.9 CNY). Cost tier and capability tier do not map to each other linearly.
Second, generational upgrades produce a capability seesaw. Reasoning and subject-matter ability jumped substantially while instruction following and tool calling slipped slightly, which shows that the trade-offs in architecture and alignment strategy are real.
Third, engineering optimization can partly offset cost. Average latency dropped from 67 seconds to 64 seconds (about 4.5%), showing that improvements in inference scheduling, batching, and caching can proceed in parallel with model capability upgrades.
4. The Real Gap Between Open Source and Closed Source: A Layered View
- Capability layer: on top-end tasks that require long chains of reasoning or complex multimodal understanding, closed-source flagships still hold an advantage; on general question answering, text summarization, and routine classification, open-source options are already close to the usable range.
- Cost layer: the main advantage of open source comes from controllable deployment and unit cost, but hardware and operations investment under high concurrency has to be counted in the total.
- Control layer: open weights support on-premises deployment, fine-tuning, and keeping data within your own boundary, which closed-source APIs struggle to replace.
- Stability layer: closed-source APIs offer clearer version management and SLAs; with open source you have to handle version pinning and regression testing yourself.
Conclusion: the gap is not “one percentage point,” but a three-dimensional trade-off across task layering, cost structure, and compliance constraints.
5. A Practical Selection and Evaluation Method
- Build a scenario-based question set: match it to your business distribution, cover both high-frequency and long-tail cases, and avoid substituting public leaderboards for your own data.
- Fix the evaluation protocol: the same prompt, the same temperature setting, the same timeout threshold, while recording accuracy, P95 latency, tokens, and cost.
- Use tiered routing: send simple requests to a low-cost model and escalate complex requests to the flagship model, using rules or a small model as the front-end classifier.
Illustrative pseudocode:
def route(prompt):if is_simple(prompt): # keyword / length / intent classificationreturn call_model("light")return call_model("flagship")def evaluate(dataset):total = len(dataset)correct = 0for item in dataset:resp = route(item.prompt)correct += (resp.answer == item.label)print("accuracy:", correct / total)
- Cost guardrails: set a budget ceiling and alerts per thousand calls, and downgrade automatically once the threshold is crossed.
- Regression mechanism: run a fixed question set after any model or prompt change so that capability regressions are not overlooked.
6. Closing Thoughts
The gap between open source and closed source is shifting from “can it be used” to “under what cost, what latency, and what compliance conditions is it more usable.” Putting accuracy, latency, tokens, and cost into one table, and running a layered evaluation on your own question set, is the right way to answer the question.
