← 返回文章列表 / Back to list
overview

OpenRouter 8款永久免费模型实测:20 RPM/50次/天限速下,qwen-2.5-7b vs deepseek-r1 怎么选(含fallbacks策略)(2026-08-29 验证)

OpenRouter 8 Free Models Live Test: 20 RPM / 50 req/day Limits — qwen-2.5-7b vs deepseek-r1, Which to Pick (with fallbacks) (Verified 2026-08-29)

更新时间: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。

相关文章 / Related

Meta GPT-OSS 120B 入驻 Groq:120B MoE 免费可用,MMLU 90% + Groq LPU 低延迟实测Cerebras Inference 免费 API 完全指南:2000 tokens/s 极速推理,Llama 3.3 70B 零成本接入inclusionAI Ling 3.0 Flash Fin 免费 API:262K 上下文金融推理,零成本上线Cloudflare Workers AI 免费层完全指南:在边缘运行 Llama 3、Mistral 等开源模型Pollinations AI 免费 API 实测:图像真免 Key,文本必须匿名才免费(带 Key 反而 402)