A-TIER technique
Claude Code on OpenRouter — keep the harness, swap in cheaper models
100k ft — What is this?
Claude Code on OpenRouter — keep the harness, swap in cheaper models
50k ft — Why care?
When you hit Claude Code's usage limit, you can point it at OpenRouter instead of Anthropic: create an OpenRouter API key and apply a config that reroutes the API base. You keep the agent loop, skills and harness while running whichever model you pick, including free open-weight ones. The exact config is gated behind a comment-for-link.
10k ft — Key takeaways
• Claude Code's harness can run on non-Anthropic models via OpenRouter
• Expect weaker tool-use from small free models
• Useful as overflow when you hit plan limits
5k ft — Tools & techniques
Anthropic, Claude Code, OpenRouter
AI agents, API base override, API integration, model routing
1k ft — Deep-dive / try it
Comment 'OPEN' and I'll send it over.
Transcript excerpt
Imagine if you could use Cloud Code for free, because once you hit that limit, it literally stops you mid-built. Here's exactly how to get around that. Go to OpenRouter and create an API key. Then comes the part that most people miss, which is that you need to paste a config prompt into your Cloud setup through something like anti-gravity. That prompt rewires Cloud Code to use OpenRouter instead of Anthropic. And now you've got Cloud Code running with whatever model that you picked, even the free open source ones. You still get the agent loop, and the skills, and the harness that's built around Cloud Code, but you're using a different model, so it's cheaper or potentially free. So if you just want to keep building without burning credits, then comment open and I'll send you the exact config prompt in full setup.
More from @nateherkai
- A-TIER Claude Opus 5.5 to Blender — 3D animation built entirely as code
- A-TIER Claudex skill — Claude and GPT-6 Astra cross-audit plan and build
- B-TIER Google game Playground — why a harness that can't see its output fails
- A-TIER Claude trading watcher — LiquidTrade + QuiverQuant for insider-trade alerts
- A-TIER Claude design stack — Emil Kowalski, Impeccable, taste skills plus Figma MCP