Claude Code 达到用量限制后的替代方案
OpenRouter Blog 称,用户达到 Anthropic 套餐用量限制后,可改用 OpenRouter API 密钥继续运行 Claude Code,并按令牌用量付费,不再受套餐五小时和每周窗口限制。文章介绍了浏览器登录的 Ori Harness 和通过三个环境变量手动配置两种方式,并称测试输出与成本数据来自实际运行。
该指南为达到套餐限制的 Claude Code 会话提供了可操作的接续方案,并涵盖支出控制与模型选择,但相关能力和成本对比主要来自 OpenRouter 自身测试。
Hit Your Claude Code Usage Limit? How to Keep Coding
OpenRouter ·10/28/2026


When you hit your Claude Code usage limit, you can keep coding by running Claude Code on an OpenRouter API key. Through OpenRouter, Claude Code runs on a pay-per-token API key with the same Claude models and no five-hour window. You set three environment variables, and you switch back to your plan when it resets.
We tested this setup with Claude Code. The outputs and costs below come from those runs.
#OpenRouter#Claude Code#Ori Harness#Anthropic#Claude Sonnet 5.5#Claude Opus 5.5#Claude Haiku 5.5