OpenRouter 教程:如何修复 OpenAI 与 Claude 的 LLM API 429 限流错误
OpenRouter 发布教程,讲解如何读取 429 错误的 limit_source 和 X-RateLimit-Reset 等头部并针对性修复限流。
推荐理由:OpenRouter 用实测数据对比三种 429 处理方式,给出了按 limit_source 分支选择修复方案的可迁移方法。
OpenRouter 模型路由平台动态:新模型上架、用量排行与开发者选型的真实市场信号。
当前仅显示精选新闻OpenRouter 发布教程,讲解如何读取 429 错误的 limit_source 和 X-RateLimit-Reset 等头部并针对性修复限流。
推荐理由:OpenRouter 用实测数据对比三种 429 处理方式,给出了按 limit_source 分支选择修复方案的可迁移方法。
OpenRouter is officially part of @stripe today! More than 10 million developers and companies use OpenRouter, and as they build with more models across more workloads, they need control over what it costs and where their data goes. OpenRouter has built that operating infrastructure to help run AI across every model and provider, with access to new models, uptime through outages, and enforced spend and data policies for each team. Joining Stripe, which has spent years running critical infrastructure for businesses around the world, means we can build it faster and support companies at every scale. Our commitment to neutrality stays the same. Models and providers compete on quality, reliability, and price. You decide what works for your business.
推荐理由:原文保留了 OpenRouter 对中立性的承诺说明,读者可以据此评估这次收购对模型选择自由度的潜在影响。
OpenRouter is now part of Stripe. Stripe is building the economic infrastructure for AI. Together with OpenRouter, we’ll help businesses explore new models and optimize token routing and usage.
推荐理由:官方宣布并说明了合并后定位与中立承诺,读者可据此判断对模型接入和成本控制工作流的影响。


OpenRouter is now part of Stripe. Stripe is building the economic infrastructure for AI. Together with OpenRouter, we’ll help businesses explore new models and optimize token routing and usage.
推荐理由:原文汇集双方声明并补充作者对 token 路由基础设施战略价值的判断,可帮助读者理解这起收购的背景。
推荐理由:当事方官方宣布并入 Stripe,并保留对模型与供应商保持中立的承诺,可据此判断对使用方的影响。
OpenRouter 发布教程,讲解三种获取 LLM 结构化输出的方法:模型支持时发 strict JSON Schema(配 require_parameters: true),只有工具时强制一次工具调用,只需标签时用决策模型 Jev。
推荐理由:原文用 9 个模型、24 条脏数据实测三种结构化输出方案的可靠性差异,给出了可直接照抄的 schema 写法和降级路径。
OpenRouter 发布教程,用 Python 构建餐厅订座语音 Agent,通过一个 OpenRouter API key 串联 elevenlabs/scribe-v2 转写、openai/gpt-6-luna 对话与工具调用、elevenlabs/eleven-flash-v2.5 语音生成,并给出 LiveKit 实时接入示例。
推荐理由:OpenRouter 用餐厅订座示例给出语音 Agent 全链路实测,含延迟分阶段数据和 TTS 占九成成本的结论,方法可迁移。
Claude Fable 5.2 from @AnthropicAI is live on OpenRouter Anthropic's model for the most ambitious technical work, a step above Opus 5.5 on most of its evals. Up to 30% faster output than Fable 5.1, now at a lower price: $8/M input, $40/M output, 1M context. Anthropic's numbers: 69.9% on FrontierSWE v2, 89.3% on OSWorld 2.1 and 74.2% on Humanity's Last Exam with tools. See more: http://openrouter.ai/anthropic/claude-fable-5.2
推荐理由:Anthropic 新模型上线 OpenRouter,原文给出价格、1M 上下文和评测数字,便于直接对比选型成本。
Sentry 于 2026 年 7 月把内部 AI 用量迁到 OpenRouter,约三周内清理约 500 个 Anthropic 和 OpenAI 直连密钥,8 月关闭直连访问。迁移后支出可追溯到个人或工作区,45+ 应用经同一账户调用,前三个月用了 147 个模型,失控账单上限降低约 93%,工程师试用新模型只需改配置而无需供应商审批。
推荐理由:案例复盘给出了迁移耗时、密钥清理数量和预算上限等具体数据,其他团队可参照其做法管理内部 AI 用量。
OpenRouter 推出基于全新技术底座的新一代 Auto Router,并新增编码专用路由器 openrouter/auto-code。新路由器按十一个因素结合实时价格、provider 健康度和缓存状态选模型,部分基准较旧版提升至 4 倍,p90 路由耗时从 1.96s 降至 0.65s。
推荐理由:官方公布了新旧路由器的基准对比和实际延迟数据,可据此评估自动模型选择在编码和通用场景里的成本收益。
Cohere 的 Embed 5 和 Rerank 5 现已在 OpenRouter 上线,官方教程用几十行 Python 通过单一 API 搭建带评分引用的 RAG 管线。
推荐理由:教程展示了 Embed 5 与 Rerank 5 协同的完整 RAG 管线,共享嵌入空间和校准分数阈值是可直接迁移的设计要点。
OpenRouter 发布教程,提供一个仅用标准库的 233 行 Python 脚本 review.py,通过 Responses API 的 Files、Shell 和 Apply Patch 工具在 Linux 沙箱中运行代码确认 bug,并以补丁形式返回修复。
推荐理由:原文给出可直接复用的脚本和四款模型实测对比数据,还记录了构建时踩到的 API 兼容坑,方法可迁移到自己的仓库。
OpenRouter 发文解释开源权重与闭源模型的区别:开源权重模型公开权重可自行运行和微调,闭源模型只能通过厂商或授权云使用。
推荐理由:OpenRouter 用自家流量和价格数据分析开源权重与闭源模型的差异,读者可据此了解用量变化与选型取舍。
OpenRouter 发布教程,用 TypeScript 和 @openrouter/agent 0.11.0 构建一个定时检查 Hacker News 并生成摘要的 always-on AI Agent。
推荐理由:教程给出可复现的定时 Agent 完整代码和实测成本数据,读者可以照着搭建并控制自己的长期运行智能体。
OpenRouter 对 Claude Opus 5.5、Sonnet 5.5、Haiku 5.5 做了 11 个隐藏测试编码任务和 Claude Code 修 bug 测试,三个模型全部通过,差异主要在成本。
推荐理由:原文用自测的编码与基准数据对比 Claude 5.5 三档模型,给出按任务选型的价格和可靠性依据,方法可直接迁移。
OpenRouter 基于截至 2026 年 10 月 18 日 30 天的真实会话数据公布 Claude Code 各模型成本中位数:2–9 轮会话在 Opus 5.5 上为 $0.31,Sonnet 5.5 为 $0.16,Haiku 5.5 不到 1 美分。
推荐理由:原文用 OpenRouter 真实会话数据给出各模型会话成本中位数和降本方法,读者可以据此估算自己的 Claude Code 开销。
OpenRouter 宣布自创立以来最大的一次路由算法升级,默认路由不再主要按输入价格分配流量,而是实时跟踪各端点的有效价格、TTFT、吞吐、错误率和输出质量,计算“一次尝试的成本乘以成功率”的 Routing Cost。
推荐理由:官方给出新路由算法的机制细节和一周实验数据,读者可以据此评估成本上升 6% 换来的速度与可靠性提升是否值得。
OpenRouter 发布教程,介绍 Claude Code 触发五小时或每周用量限额后,改用 OpenRouter API key 按 token 计费继续编码,且无五小时和每周限制。
推荐理由:作者实测了用 OpenRouter API key 绕过 Claude Code 五小时限额的完整流程,并给出真实计费与提示词缓存等成本细节。
OpenRouter 发文解释 Claude 529 overloaded_error 是 Anthropic API 对该模型整体容量不足,与用户密钥、套餐无关,429 才是自身用量问题。
推荐理由:教程区分 529 与 429 的成因,并给出指数退避重试、多提供商路由和备用模型三层可复用解法。
OpenRouter 发布提示词注入防御教程,用自建 13 种攻击加其他模型编写的 12 种攻击,测试 Claude Haiku 5.5、GPT-6 Luna、DeepSeek V4.1 Flash 和 GLM 5.3 Flash 四个模型。
推荐理由:原文用 25 种攻击对 4 个模型实测三层防御,给出 Armor 拦截全部攻击邮件及误拦截场景的可复现数据。