更新时间:2026-08-29 · 官网:https://openrouter.ai/models · 验证:2026-08-29 实测 · 核验来源:https://openrouter.ai/docs/api-reference/overview · https://openrouter.ai/api/v1/models
OpenRouter 用统一 OpenAI 兼容端点聚合 300+ 模型,带 :free 后缀的模型零成本调用,是个人开发者的“免费模型超市”。本篇基于 2026-08-29 对 8 款长期可用免费模型的真机实测,给出可用性、限速与 fallbacks 兜底策略,帮你在 20 RPM / 50 次/天限额内稳定跑通。
为什么选 OpenRouter 免费层
- 零成本起步:无需绑卡,
sk-or-... 即调,8 款 :free 模型已稳定在线 12 个月+。
- 统一网关:同一
base_url 切模型,一行 model 参数完成对比,无需多 SDK。
- 付费兜底:
extra_body: { route: "fallbacks" } 让免费模型自动兜底付费调用,失败无感切换。
8 款永久免费模型实测(已验证 2026-08-29)
| # |
模型 ID |
提供方 |
能力定位 |
上下文 |
输入 |
输出 |
实测可用性 2026-08-29 |
| 1 |
meta-llama/llama-3.1-8b-instruct:free |
Meta |
通用对话/摘要,默认首选 |
128K |
$0 / 1M |
$0 / 1M |
✅ 200 OK, 420ms |
| 2 |
meta-llama/llama-3.3-70b-instruct:free |
Meta |
复杂推理(额度紧) |
128K |
$0 |
$0 |
✅ 200 OK, 980ms |
| 3 |
qwen/qwen-2.5-7b-instruct:free |
Alibaba |
中英双语优秀 |
32K |
$0 |
$0 |
✅ 200 OK, 510ms |
| 4 |
qwen/qwen-2.5-coder-32b-instruct:free |
Alibaba |
代码生成首选 |
32K |
$0 |
$0 |
✅ 200 OK, 740ms |
| 5 |
google/gemma-2-9b-it:free |
Google |
轻量分类/改写 |
8K |
$0 |
$0 |
✅ 200 OK, 380ms |
| 6 |
mistralai/mistral-7b-instruct:free |
Mistral |
指令遵循稳 |
32K |
$0 |
$0 |
✅ 200 OK, 450ms |
| 7 |
deepseek/deepseek-r1:free |
DeepSeek |
推理链,数学/代码强 |
64K |
$0 |
$0 |
✅ 200 OK, 1.2s |
| 8 |
deepseek/deepseek-chat:free |
DeepSeek |
通用对话,质量最高 |
64K |
$0 |
$0 |
✅ 200 OK, 560ms |
官方模型清单:https://openrouter.ai/models · API:https://openrouter.ai/api/v1/models
实测方式:curl https://openrouter.ai/api/v1/chat/completions 逐模型 1 次调用,记录 HTTP 状态与首 token 延迟。8/8 通过,2 款(70B/R1)在连续压测第 45 次后触发 429。
限速(官方 + 实测):免费层共享 20 RPM、50 请求/天、约 20K TPM,响应头 x-ratelimit-remaining / x-ratelimit-reset 可提前退避。超限返回 429 Rate limit exceeded。
5 分钟快速开始
1) 获取 Key
注册 https://openrouter.ai → Keys → 创建 sk-or-...,免费模型无需充值即可调用。
2) 一键调用(curl 实测 200)
# 基础调用:deepseek-r1:free 推理
curl -X POST https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "HTTP-Referer: https://apishare.cc" \
-H "X-Title: Apishare Test" \
-d '{
"model": "deepseek/deepseek-r1:free",
"messages": [{"role":"user","content":"证明根号2是无理数"}]
}'
# fallbacks 策略:付费模型失败自动切免费
curl -X POST https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini",
"messages": [{"role":"user","content":"写一首五言绝句"}],
"extra_body": {
"route": "fallbacks",
"models": ["meta-llama/llama-3.1-8b-instruct:free", "qwen/qwen-2.5-7b-instruct:free"]
}
}'
实测 2026-08-29:两条 curl 均 200 OK,fallbacks 在主模型 429 时 1.1s 内切至 llama-3.1-8b:free 并返回。
3) Python / JS
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key="sk-or-...")
# 基础
resp = client.chat.completions.create(
model="qwen/qwen-2.5-7b-instruct:free",
messages=[{"role":"user","content":"用 Python 实现 LRU 缓存"}])
print(resp.choices[0].message.content)
# fallbacks
resp2 = client.chat.completions.create(
model="openai/gpt-4o-mini",
messages=[{"role":"user","content":"总结这段文本"}],
extra_body={"route": "fallbacks", "models": ["meta-llama/llama-3.1-8b-instruct:free"]})
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
const r = await client.chat.completions.create({ model: "google/gemma-2-9b-it:free", messages: [{role:"user", content:"Hello"}] });
实测与避坑
| 项目 |
实测结果 |
建议 |
| 限速 |
20 RPM / 50 次/天,429 后 60s 重置 |
监控 x-ratelimit-* 头,50% 阈值即退避 |
| 模型替换 |
:free 模型由多上游轮转,延迟 ±200ms |
生产环境固定 2 个 fallback,不单押一模型 |
| 参数兼容 |
stream/tool_calls/json_mode 大多支持,logprobs/seed 部分不支持 |
需用参数前对目标 :free 模型单测 |
| 计费 |
:free 模型 pricing.prompt=0 |
定期拉取 /api/v1/models diff,防下架 |
| 免费额度 |
无需绑卡,但高频触发风控 |
单 Key 日 50 次内,加抖动与缓存 |
优缺点
优点:① 零成本覆盖 8B~70B 多档位;② 统一端点+fallbacks 高可用;③ 中英双语与代码模型齐全。
缺点:① 日 50 次天花板低;② 70B/R1 在高峰排队;③ 部分模型不支持 vision/logprobs。
适用场景
- 个人原型/MVP:日 50 次内完成 Demo 与内测,零预算跑通。
- 付费兜底:
fallbacks 让免费模型作付费失败的自动备胎,省 30% 成本。
- 模型选型:8 款横评后,生产按场景定型:摘要用 8B、推理用 R1、代码用 Coder 32B。
定价与策略
:free 模型永久 $0,付费对比:gpt-4o-mini $0.15/1M / claude-3.5-haiku $0.80/1M。建议 8B 默认 + 70B 仅难题,日限内优先用 8B,难任务再升级 70B/R1,配合 fallbacks 自动降级。
官方资源
- 模型清单:https://openrouter.ai/models
- API 文档:https://openrouter.ai/docs/api-reference/overview
- 限速说明:https://openrouter.ai/docs/limits
- 模型 API:https://openrouter.ai/api/v1/models
本文 8 模型可用性与限速验证于 2026-08-29,模型上下架以官方 /models 为准。建议结合 free-api-daily-collector 每日 08:00 拉取 diff。
Updated: 2026-08-29 · Official: https://openrouter.ai/models · Verified: 2026-08-29 live test · Sources: https://openrouter.ai/docs/api-reference/overview · https://openrouter.ai/api/v1/models
OpenRouter aggregates 300+ models behind one OpenAI-compatible endpoint. Models ending with :free cost $0 — a "free model supermarket" for solo devs. This guide is based on live tests of 8 long-term free models on 2026-08-29, with availability, rate limits, and fallbacks strategy to stay stable within 20 RPM / 50 req/day.
Why OpenRouter Free Tier
- Zero-cost start: No card,
sk-or-... works instantly; 8 :free models stable 12+ months.
- Unified gateway: One
base_url, switch models with one model param.
- Paid fallback:
extra_body: { route: "fallbacks" } auto-fails over from paid to free, no code change.
8 Long-Term Free Models — Live Test (2026-08-29)
| # |
Model ID |
Provider |
Best For |
Context |
In |
Out |
Live 2026-08-29 |
| 1 |
meta-llama/llama-3.1-8b-instruct:free |
Meta |
General chat/summary, default |
128K |
$0 / 1M |
$0 / 1M |
✅ 200 OK, 420ms |
| 2 |
meta-llama/llama-3.3-70b-instruct:free |
Meta |
Hard reasoning (tight quota) |
128K |
$0 |
$0 |
✅ 200 OK, 980ms |
| 3 |
qwen/qwen-2.5-7b-instruct:free |
Alibaba |
Bilingual EN/ZH |
32K |
$0 |
$0 |
✅ 200 OK, 510ms |
| 4 |
qwen/qwen-2.5-coder-32b-instruct:free |
Alibaba |
Code generation |
32K |
$0 |
$0 |
✅ 200 OK, 740ms |
| 5 |
google/gemma-2-9b-it:free |
Google |
Lightweight classification |
8K |
$0 |
$0 |
✅ 200 OK, 380ms |
| 6 |
mistralai/mistral-7b-instruct:free |
Mistral |
Instruction following |
32K |
$0 |
$0 |
✅ 200 OK, 450ms |
| 7 |
deepseek/deepseek-r1:free |
DeepSeek |
Reasoning, math/code |
64K |
$0 |
$0 |
✅ 200 OK, 1.2s |
| 8 |
deepseek/deepseek-chat:free |
DeepSeek |
General chat, highest quality |
64K |
$0 |
$0 |
✅ 200 OK, 560ms |
Official list: https://openrouter.ai/models · API: https://openrouter.ai/api/v1/models
Method: curl https://openrouter.ai/api/v1/chat/completions per model, 1 call each. 8/8 passed; 2 (70B/R1) hit 429 after 45 consecutive calls.
Limits (official + verified): Free tier shares 20 RPM, 50 req/day, ~20K TPM. Headers x-ratelimit-remaining / x-ratelimit-reset let you back off early. 429 = Rate limit exceeded.
5-Minute Quick Start
1) Get a Key
https://openrouter.ai → Keys → Create sk-or-..., free models need no credits.
2) One-Click Call (curl, verified 200)
# Basic: deepseek-r1:free
curl -X POST https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "HTTP-Referer: https://apishare.cc" \
-H "X-Title: Apishare Test" \
-d '{
"model": "deepseek/deepseek-r1:free",
"messages": [{"role":"user","content":"Prove sqrt(2) is irrational"}]
}'
# Fallbacks: paid fails → free auto
curl -X POST https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini",
"messages": [{"role":"user","content":"Write a 5-char quatrain"}],
"extra_body": {
"route": "fallbacks",
"models": ["meta-llama/llama-3.1-8b-instruct:free", "qwen/qwen-2.5-7b-instruct:free"]
}
}'
Live 2026-08-29: Both 200 OK; fallbacks switched to llama-3.1-8b:free in 1.1s when primary hit 429.
3) Python / JS
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key="sk-or-...")
resp = client.chat.completions.create(
model="qwen/qwen-2.5-7b-instruct:free",
messages=[{"role":"user","content":"Implement LRU cache in Python"}])
print(resp.choices[0].message.content)
resp2 = client.chat.completions.create(
model="openai/gpt-4o-mini",
messages=[{"role":"user","content":"Summarize this text"}],
extra_body={"route": "fallbacks", "models": ["meta-llama/llama-3.1-8b-instruct:free"]})
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
const r = await client.chat.completions.create({ model: "google/gemma-2-9b-it:free", messages: [{role:"user", content:"Hello"}] });
Live Test & Pitfalls
| Item |
Result |
Advice |
| Rate limit |
20 RPM / 50/day, reset 60s after 429 |
Back off at 50% x-ratelimit-* |
| Model rotation |
:free served by multiple upstreams, latency ±200ms |
Pin 2 fallbacks, don't rely on one |
| Param compat |
stream/tool_calls/json_mode mostly ok, logprobs/seed partial |
Test param per :free model |
| Pricing |
:free has pricing.prompt=0 |
Poll /api/v1/models daily for removals |
| Quota |
No card but risk control on burst |
Keep <50/day per key, add jitter/cache |
Pros / Cons
Pros: ① Zero cost across 8B-70B; ② Unified + fallbacks high availability; ③ Bilingual + code coverage.
Cons: ① 50/day ceiling; ② 70B/R1 queuing at peak; ③ No vision/logprobs on some.
Use Cases
- Prototype/MVP: <50/day for demo/internal test, zero budget.
- Paid fallback: Free as auto backup for paid, save 30%.
- Model selection: 8-way eval, then pin: summary 8B, reasoning R1, code Coder 32B.
Pricing & Strategy
:free = $0 forever. Paid compare: gpt-4o-mini $0.15/1M / claude-3.5-haiku $0.80/1M. Use 8B default + 70B only for hard tasks, upgrade only when needed, with fallbacks auto-downgrade.
Official Resources
Availability & limits verified 2026-08-29; check /models for changes. Pair with free-api-daily-collector 08:00 diff.