开源权重模型是指其训练权重已公开,任何人都可以下载、在自己的硬件上运行、进行微调或提供给他人使用的模型。闭源权重模型则保持其权重的私密性,因此使用它的唯一途径是通过构建该模型的公司或其授权的云平台。
在 OpenRouter 上,开源权重模型占前 50 名模型令牌(tokens)的比例从 2025 年 10 月的 27% 上升至 2026 年 9 月底的 72%。
简而言之
开源权重模型公开其权重,因此任何人都可以运行、微调或提供这些模型的服务。闭源权重模型仅由其制造商及其授权的云平台提供。
在 2026 年 9 月底,OpenRouter 上前 50 名模型的令牌中,有 72% 由开源权重模型处理,而一年前这一比例仅为 27%。
它们的每令牌成本约为闭源模型的三分之一,主要是因为许多提供商竞争为同一模型提供服务。
最好的闭源模型在 Artificial Analysis Intelligence Index 上的得分仍高出约 11 分。建议先从开源权重模型开始,对其进行测试,然后对需要更高能力的步骤使用闭源模型。
什么是开源权重模型?
通过订阅,您同意接收 OpenRouter 的时事通讯:包括模型使用数据、产品更新和研究报告,大约每周发送一封电子邮件。您可以通过每封电子邮件中的链接随时取消订阅。请参阅我们的隐私政策。
模型的权重是其在训练过程中学习的数值,也是你下载模型时获取的内容。通常将这些权重发布在 Hugging Face 上,任何人都可以运行该模型。DeepSeek V4.1 Flash、GLM-5.3、Kimi K3 和 MiMo-V2.6-Pro 属于开源权重模型。Claude、GPT 和 Gemini 模型则属于闭源权重模型。
发布权重并不意味着你可以随意处置它们。许可证差异很大。正如我们在六月对开源权重模型的综述中指出的那样,DeepSeek V4 Flash 采用 MIT 许可证发布,而 MiniMax M3 的社区许可证要求署名,并要求较大的商业产品先获得书面许可。在基于某个模型构建之前,请务必查看其许可证。
开源权重与开源有何不同?
在开放源代码促进会(Open Source Initiative)的定义中,“开源”意味着你获得了研究并重建它所需的一切:对于模型而言,这包括训练数据(或在法律上无法共享时对数据的详细信息)、代码和权重。
大多数开源权重模型并未发布其训练数据,因此“开源权重”是更准确的术语。不过,搜索结果和模型页面通常宽松地使用这些词汇,因此当你看到“开源大语言模型(open-source LLM)”时,它几乎总是指开源权重模型。
每种模式你能得到什么?
| 开源权重 (Open-weight) | 闭源权重 (Closed-weight) | |
|---|---|---|
| 自行运行 | 是,在自己的 GPU 上 | 否 |
| 微调权重 | 是 | 仅通过供应商的微调 API(如果有的话) |
| 服务提供商 | 任何人,OpenRouter 上有 20 到 31 家提供商为热门模型提供服务 | 供应商和少数几家授权云平台 |
| OpenRouter 标价 (令牌加权,过去 4 周) |
每百万令牌输入 $0.28 / 输出 $1.62 | 每百万令牌输入 $1.27 / 输出 $6.36 |
| Artificial Analysis Intelligence Index 最佳得分 | 46.3 (MiMo-V2.6-Pro) | 57.6 (Claude Opus 5.5) |
前两行解释了为什么某些团队需要开源权重。他们的数据不能离开其自身的基础设施,或者他们希望模型在其自有数据上进行微调。对于其他人来说,选择取决于最后三行,而价格通常是决定因素。使用数据说明了原因。
开发者使用开源权重模型的频率如何?
每个季度的使用量都在增长。2026 年初,MIT Sloan 发布了一项基于 OpenRouter 2025 年 5 月至 9 月流量数据的研究,发现闭源模型处理了近 80% 的令牌。我们自己在 2025 年底的数据也类似,但此后发生了巨大变化。
我们将 OpenRouter 前 50 名中的每个模型按每周令牌量分类为开源权重或闭源权重,依据是其目录条目是否链接到已发布的权重:
| 周次 | 开源权重占比 | 开源权重令牌数 | 闭源权重令牌数 |
|---|---|---|---|
| 2025 年 10 月 6 日当周 | 26.8% | 1.3T | 3.4T |
| 2026 年 1 月 26 日当周 | 35.1% | 2.6T | 4.9T |
| 2026 年 4 月 20 日当周 | 47.7% | 8.9T | 9.8T |
2026年7月20日 77.5% 41.1T 11.9T
2026年9月28日 71.7% 83.5T 33.0T
这两类模型的使用量均有所增长。闭源权重的体积增长了近十倍,从每周3.4万亿个token增加到33万亿个token,而开源权重的体积增长了60倍以上。开源份额在7月达到77.5%的峰值,此后一直保持在三分之二以上。
过去四周使用最多的开源权重模型是DeepSeek V4.1 Flash、GLM-5.3 Flash、Hunyuan 4 Preview和DeepSeek V4 Flash。在闭源方面,GPT-5.6 Luna以巨大优势领先,其次是Gemini 3.8 Flash和GPT-6 Luna。在这两类模型中,大部分使用量都集中在廉价、快速的模型上,而不是得分最高的模型。
开源权重模型更便宜吗?
通常是的。在过去四周中,开源权重模型的按token加权的列表价格为每百万输入token 0.28美元,每百万输出token 1.62美元。对于闭源权重模型,这一价格分别为1.27美元和6.36美元,大约是前者的四倍。
主要原因是竞争。任何人都可以部署开源权重模型,因此提供商针对同一模型在价格上进行竞争。以下是2026年10月21日OpenRouter上服务六个流行模型的提供商数量,以及它们在各端点上的输入价格分布:
模型 权重 提供商 输入价格范围(每百万token)
z-ai/glm-5.3-flash 开源 30 $0.04 至 $1.15
deepseek/deepseek-v4.1-flash 开源 31 $0.03 至 $0.60
moonshotai/kimi-k3 开源 20 $0.24 至 $4.50
anthropic/claude-sonnet-5.5 闭源 5 $2.00 至 $2.20
openai/gpt-6-luna 闭源 3 $0.05 至 $0.20
google/gemini-3.8-flash 闭源 2 $0.38 至 $1.35
开源权重模型的价格范围较宽,因为提供商在硬件、量化、速度和数据策略方面存在差异。最便宜的端点并不总是你需要的,我们关于评估提供商性能的指南展示了如何比较它们。提供商路由功能允许你按价格排序、按量化或数据策略过滤,或设置价格上限。
这两类模型的范围也有重叠。Kimi K3的最便宜端点成本低于Claude Sonnet 5.5,但其最贵端点的成本约为后者的两倍。GPT-6 Luna的列表价格为每百万输入token 0.10美元,低于任何Kimi K3提供商收取的费用。请比较你考虑的具体模型,而不是类别。
我们进行此类比较的快捷方式是先设置价格上限,然后对剩余模型按吞吐量排序。它需要一个提供商对象:{"max_price": {"prompt": 1, "completion": 4}, "sort": "throughput"}。超出预算的端点将被排除,而你能负担得起的最快端点将优先尝试。
开源权重模型的质量与闭源模型相当吗?
价格是权衡的一半,质量是另一半。在此方面,开源权重模型尚未达到顶尖水平。在Artificial Analysis Intelligence Index中(由我们的基准测试端点聚合),得分最高的闭源模型是Claude Opus 5.5(57.6分)和Claude Sonnet 5.5(56.0分)。得分最高的开源模型是MiMo-V2.6-Pro(46.3分)、GLM-5.3(44.8分)和Step 5 Preview(43.7分),Kimi K3紧随其后,得分为43.6。每个分数均对应模型在最高推理努力设置下的表现。
该设置会影响这些数值,因此请在计划使用的努力水平下比较模型。
这11分的差距出现在索引所衡量的最困难任务中最强模型之间,它并不能告诉你这个差距对你的工作负载有多大影响。我们在六月的综述中指出,在索引的早期版本上,这一差距约为5分,因此请将具体数字视为一个快照。
面对11分的质量差距和4倍的价格差距,我们的默认建议是先从开源权重模型开始,并在你自己的任务上进行测试。仅在测试表明额外质量能改变结果的步骤中,才切换到闭源模型。这通常是工作流中最困难的步骤,例如智能体中的规划,而不是每一次调用。
如何在同一个应用中使用这两类模型?
我们通过相同的API提供这两类模型,因此你可以在不重写应用的情况下混合使用它们。在models数组中首先列出闭源权重模型,随后列出开源权重模型作为回退选项。
我们关于模型路由工作原理的指南解释了我们的尝试顺序。此请求还将价格上限设定为每百万输入令牌 1 美元,每百万输出令牌 4 美元。Claude Sonnet 5.5 的价格高于此标准,因此我们跳过它并将请求路由到 GLM-5.3 Flash:
import os
import requests
r = requests.post(
"https://openrouter.ai/api/v1/chat/completions" ,
headers = { "Authorization" : f "Bearer { os.environ[ 'OPENROUTER_API_KEY' ] } " },
json = {
"models" : [ "anthropic/claude-sonnet-5.5" , "z-ai/glm-5.3-flash" ],
"provider" : { "max_price" : { "prompt" : 1 , "completion" : 4 }},
"messages" : [
{ "role" : "user" , "content" : "In one sentence: what is an open-weight model?" }
],
},
timeout = 120 ,
)
data = r.json()
print (r.status_code, data.get ( "model" ), data.get ( "provider" ))
print (data[ "choices" ][ 0 ][ "message" ][ "content" ] if "choices" in data else data)
print ( f "$ { data.get ( 'usage' , {}).get ( 'cost' , 0 ) :.6f } " )
200 z-ai/glm-5.3-flash Relace
开放权重模型是指其训练参数(权重)被公开发布,供任何人下载、运行、检查和微调的机器学习模型,但通常不包含使其完全“开源”的训练数据或完整的开发细节。
$0.000023
响应中的 model 字段显示了哪个模型做出了回答,这也是您被计费的对象。如果从列表中移除 GLM-5.3 Flash,相同的请求将会失败,因为没有端点满足价格上限:
404 {'error': {'message': 'No endpoints found that satisfy the max price for this request', 'code': 404,
'metadata': {..., 'failed_routing_step': 'Filter by Max Price'}}}
价格上限是一个触发条件。当遇到速率限制、停机、上下文长度错误或审核拒绝时,模型回退机制也会切换到列表中的下一个模型。使用闭源权重作为主选模型、开源权重作为回退模型,可以在主供应商发生故障时确保您的应用继续提供回答。
我们如何衡量这些数据
本文中的所有使用情况、价格和基准数据均来自我们自己的 API,本节解释了我们是如何提取和分类它们的。使用情况数据来自我们的公开排名数据集,该数据集提供了前 50 个模型的每周令牌总量。我们使用的日期范围是 2025 年 10 月 6 日至 2026 年 9 月 28 日。如果模型的 OpenRouter 目录条目链接到 Hugging Face 仓库,则该模型被视为开放权重模型。我们通过发布者对已离开目录的退役模型进行分类(在情况明确时)。
两种类型的流量未包含在份额中。数据集中的“其他”行汇总了前 50 名之外的所有内容,每周范围从 0.3 到 10.8 万亿令牌。隐身模型是未公开的,因此我们无法对其进行分类,它们在最近一周达到了 38.7 万亿令牌。令牌计数来自每个提供商自己的分词器,因此它们适合比较趋势,但不像精确的一对一计数那样准确。令牌加权价格来自我们 2026 年 10 月 8 日的模型和端点 API 的列表价格。提供商数量和价格范围是在 2026 年 10 月 21 日提取的。
常见问题
Llama 是开源的吗?
根据开放源代码促进会(Open Source Initiative)的定义,Llama 是开放权重的,而非开源。Meta 发布了权重但未发布训练数据,且 Llama 许可证要求拥有超过 7 亿月活跃用户的企业向 Meta 申请单独的许可证。大多数被称为开源的大语言模型(LLM)以相同的方式属于开放权重。
我可以免费运行开放权重模型吗?
在您的自有硬件上,模型是免费的,但 GPU 不是。通过 API,OpenRouter 上有几个开放权重模型提供免费变体,其速率限制涵盖在我们的免费 LLM API 比较中。热门开放权重模型的付费端点每百万输入令牌起价仅为几分钱。
使用开放权重模型我的数据更安全吗?
除非你自行运行,否则数据不会离开你的服务器。通过托管提供商使用时,关键在于该提供商的数据政策,无论其提供何种类型的模型。在 OpenRouter 上,你可以针对每种模型类型,按请求或跨账户限制请求至零数据保留端点。
我应该从哪个开源权重模型开始?
我们建议从 DeepSeek V4.1 Flash 开始。它是 OpenRouter 上使用最广泛的开源权重模型,有 31 家提供商提供服务,因此通过 OpenRouter 路由可确保在一家提供商宕机时仍能保持可用性。它还支持图像和文本输入。当你需要更强的能力时,可以尝试 GLM-5.3 或 Kimi K3。排行榜页面展示了开发者当前正在使用的模型。
下一步
An open-weight model is one whose trained weights are published, so anyone can download it, run it on their own hardware, fine-tune it, or serve it to others. A closed-weight model keeps its weights private, so the only way to use it is through the company that built it or a cloud it licenses to.
Across OpenRouter, open-weight models went from 27% of the top 50 models’ tokens in October 2025 to 72% in late September 2026.
Tl;dr
Open-weight models publish their weights, so anyone can run, fine-tune or serve them. Closed-weight models are only available from their maker and the clouds it licenses.
Open-weight models handled 72% of the top 50 models’ tokens on OpenRouter in late September 2026, up from 27% a year earlier.
They cost about a quarter as much per token, mostly because many providers compete to serve the same model.
The best closed-weight models still score about 11 points higher on the Artificial Analysis Intelligence Index. Start on an open-weight model, test it, and use a closed-weight model for the steps that need it.
What is an open-weight model?
By subscribing you agree to receive the OpenRouter newsletter: model usage data, product updates, and research reports, about one email a week. Unsubscribe anytime via the link in every email. See our Privacy Policy .
A model’s weights are the numbers it learned during training, and they’re what you download when you download a model. Publishing them, usually on Hugging Face, lets anyone run the model. DeepSeek V4.1 Flash, GLM-5.3, Kimi K3 and MiMo-V2.6-Pro are open-weight. Claude, GPT and Gemini models are closed-weight.
Publishing the weights doesn’t mean you can do anything you like with them. Licenses vary a lot. As we noted in our June roundup of open-weight models , DeepSeek V4 Flash shipped under the MIT license, while MiniMax M3’s community license requires attribution and asks larger commercial products to get written permission first. Check the model’s license before you build on it.
How is open weight different from open source?
Open source, in the Open Source Initiative’s sense, means you get what you need to study and rebuild it: for a model, that includes the training data (or detailed information about the data when it can’t legally be shared), the code and the weights.
Most open-weight models don’t release their training data, so “open weight” is the more accurate term for them. Search results and model pages use the words loosely, though, so when you see “open-source LLM,” it almost always means open-weight.
What do you get with each?
Open-weight Closed-weight
Run it yourself Yes, on your own GPUs No
Fine-tune the weights Yes Only through the vendor’s fine-tuning API, if it has one
Who serves it Anyone, with 20 to 31 providers for popular models on OpenRouter The vendor and a few licensed clouds
List price on OpenRouter (token-weighted, last 4 weeks) $0.28 in / $1.62 out per million tokens $1.27 in / $6.36 out per million tokens
Best Artificial Analysis Intelligence Index score 46.3 (MiMo-V2.6-Pro) 57.6 (Claude Opus 5.5)
The first two rows are why some teams need open weights. Their data can’t leave their own infrastructure, or they want a model fine-tuned on their own data. For everyone else, the choice comes down to the last three rows, and price is the one that usually decides it. The usage data shows why.
How much are developers using open-weight models?
Usage has grown every quarter. Early in 2026, MIT Sloan published research based on OpenRouter traffic from May to September 2025 that found closed models handled nearly 80% of tokens. Our own data from late 2025 looks similar, and it has changed a lot since.
We classified every model in OpenRouter’s top 50 by weekly token volume as open-weight or closed-weight, based on whether its catalog entry links to published weights:
Week of Open-weight share Open-weight tokens Closed-weight tokens
Oct 6, 2025 26.8% 1.3T 3.4T
Jan 26, 2026 35.1% 2.6T 4.9T
Apr 20, 2026 47.7% 8.9T 9.8T
Jul 20, 2026 77.5% 41.1T 11.9T
Sep 28, 2026 71.7% 83.5T 33.0T
Both kinds grew. Closed-weight volume rose almost tenfold, from 3.4 trillion to 33 trillion tokens a week, while open-weight volume rose more than 60-fold. The open share peaked at 77.5% in July and has stayed above two-thirds since.
The most-used open-weight models over the last four weeks were DeepSeek V4.1 Flash, GLM-5.3 Flash, Hunyuan 4 Preview and DeepSeek V4 Flash. On the closed side, GPT-5.6 Luna led by a wide margin, followed by Gemini 3.8 Flash and GPT-6 Luna. On both sides, most of the volume goes to cheap, fast models rather than the highest-scoring ones.
Are open-weight models cheaper?
Usually they are. Over the last four weeks, the token-weighted list price for open-weight models was $0.28 per million input tokens and $1.62 per million output tokens. For closed-weight models, it was $1.27 and $6.36, about four times as much.
The main reason is competition. Anyone can serve an open-weight model, so providers compete on price for the same model. Here’s how many providers served six popular models on OpenRouter on October 21, 2026, and the spread of their input prices across endpoints:
Model Weights Providers Input price range, per million tokens
z-ai/glm-5.3-flash Open 30 $0.04 to $1.15
deepseek/deepseek-v4.1-flash Open 31 $0.03 to $0.60
moonshotai/kimi-k3 Open 20 $0.24 to $4.50
anthropic/claude-sonnet-5.5 Closed 5 $2.00 to $2.20
openai/gpt-6-luna Closed 3 $0.05 to $0.20
google/gemini-3.8-flash Closed 2 $0.38 to $1.35
The ranges are wide for open-weight models because providers differ in hardware, quantization, speed and data policy. The cheapest endpoint isn’t always the one you want, and our guide to evaluating provider performance shows how to compare them. Provider routing lets you sort by price , filter by quantization or data policy, or set a price ceiling.
The two categories also overlap. Kimi K3’s cheapest endpoint costs less than Claude Sonnet 5.5, but its most expensive one costs about twice as much. GPT-6 Luna lists at $0.10 per million input tokens, less than any Kimi K3 provider charges. Compare the specific models you’re considering, not the categories.
Our shortcut for that comparison is to set the price ceiling first and sort whatever is left by throughput. It takes one provider object, {"max_price": {"prompt": 1, "completion": 4}, "sort": "throughput"} . Endpoints over your budget drop out, and the fastest one you can afford is tried first.
Are open-weight models as good as closed-weight models?
Price is one half of the trade-off, and quality is the other. Here, open-weight models aren’t at the top yet. On the Artificial Analysis Intelligence Index, as aggregated by our benchmarks endpoint , the best closed-weight scores were Claude Opus 5.5 at 57.6 and Claude Sonnet 5.5 at 56.0. The best open-weight scores were MiMo-V2.6-Pro at 46.3, GLM-5.3 at 44.8 and Step 5 Preview at 43.7, with Kimi K3 just behind at 43.6. Each score is the model at its highest reasoning effort setting.
The setting moves these numbers, so compare models at the effort you plan to run them at.
The 11-point gap is between the strongest models on the hardest tasks the index measures, and it doesn’t tell you how much the gap matters for your own workload. Our June roundup put it at about five points on an earlier version of the index, so treat the exact figure as a snapshot.
With an 11-point quality gap against a 4x price gap, our default is to start on an open-weight model and test it on your own tasks. Move to a closed-weight model only for the steps where the test shows the extra quality changes the result. That’s usually the hardest step in a workflow, such as planning in an agent, rather than every call.
How do you use both in one app?
We serve both kinds through the same API, so you can mix them without rewriting your app. List a closed-weight model first in the models array and an open-weight model after it as the fallback.
Our guide to how model routing works explains the order we try them in. This request also caps the price at $1 per million input tokens and $4 per million output tokens. Claude Sonnet 5.5 costs more than that, so we skip it and route the request to GLM-5.3 Flash:
import os
import requests
r = requests.post(
"https://openrouter.ai/api/v1/chat/completions" ,
headers = { "Authorization" : f "Bearer { os.environ[ 'OPENROUTER_API_KEY' ] } " },
json = {
"models" : [ "anthropic/claude-sonnet-5.5" , "z-ai/glm-5.3-flash" ],
"provider" : { "max_price" : { "prompt" : 1 , "completion" : 4 }},
"messages" : [
{ "role" : "user" , "content" : "In one sentence: what is an open-weight model?" }
],
},
timeout = 120 ,
)
data = r.json()
print (r.status_code, data.get( "model" ), data.get( "provider" ))
print (data[ "choices" ][ 0 ][ "message" ][ "content" ] if "choices" in data else data)
print ( f "$ { data.get( 'usage' , {}).get( 'cost' , 0 ) :.6f } " )
200 z-ai/glm-5.3-flash Relace
An open-weight model is a machine learning model whose trained parameters (weights) are publicly released for anyone to download, run, inspect, and fine-tune, though typically without the training data or full development details that would make it fully "open-source."
$0.000023
The model field in the response shows which model answered, and that’s the model you’re billed for. If you remove GLM-5.3 Flash from the list, the same request fails because no endpoint meets the cap:
404 {'error': {'message': 'No endpoints found that satisfy the max price for this request', 'code': 404,
'metadata': {..., 'failed_routing_step': 'Filter by Max Price'}}}
A price cap is one trigger. Model fallbacks also move to the next model on rate limits, downtime, context-length errors and moderation refusals. With a closed-weight primary and an open-weight fallback, your app keeps answering when the primary vendor has an outage.
How we measured this
Every usage, price and benchmark figure in this post comes from our own APIs, and this section explains how we pulled and classified them. The usage numbers come from our public rankings dataset , which gives weekly token totals for the top 50 models. We used October 6, 2025 to September 28, 2026. A model counts as open-weight if its OpenRouter catalog entry links to a Hugging Face repository. We classified retired models that have left the catalog by publisher, where that was unambiguous.
Two kinds of volume are left out of the shares. The dataset’s “other” row, which combines everything outside the top 50, ranged from 0.3 to 10.8 trillion tokens a week. Stealth models are unannounced, so we can’t classify them, and they reached 38.7 trillion tokens in the most recent week. Token counts come from each provider’s own tokenizer, so they’re good for comparing trends but aren’t exact like-for-like counts. The token-weighted prices are list prices from our models and endpoints APIs on October 8, 2026. The provider counts and price ranges were pulled on October 21, 2026.
Frequently asked questions
Is Llama open source?
Llama is open-weight, not open source under the Open Source Initiative’s definition. Meta publishes the weights but not the training data, and the Llama license requires companies with more than 700 million monthly active users to request a separate license from Meta. Most LLMs described as open source are open-weight in the same way.
Can I run an open-weight model for free?
On your own hardware, the model is free but the GPUs aren’t. Through an API, several open-weight models have free variants on OpenRouter, with rate limits that our free LLM API comparison covers. Paid endpoints for popular open-weight models start at a few cents per million input tokens.
Is my data safer with an open-weight model?
Only if you run it yourself, so the data never leaves your servers. Through a hosted provider, what matters is that provider’s data policy, whichever kind of model it serves. On OpenRouter you can restrict requests to zero data retention endpoints for both kinds of model, per request or across your account.
Which open-weight model should I start with?
We’d start with DeepSeek V4.1 Flash. It’s the most-used open-weight model on OpenRouter, and 31 providers serve it, so routing it through OpenRouter keeps it available when one provider goes down. It also accepts images as well as text. When you need more capability, try GLM-5.3 or Kimi K3. The rankings page shows what developers are using right now.
Next steps
| 刊期 | 得分 | 排名 | 结果 |
|---|---|---|---|
| 2026-11-09 | 8.4 | 18 | 入选 |
| 2026-11-01 | 9.95 | 24 | 入选 |