The real Claude Code CLI — not a knockoff — pointed at two free local routers instead of a paid API. OmniRoute's keyless free pool on one rail, 9Router's token-saving fallback chain on the other, and a one-click switch between them inside the Agent OS. Everything below was built with it, for $0.

Before.
Every idea I wanted to test cost real money.
Spin up Claude Code, build a prototype, watch the token meter run.
I'd found free gateways — but each one wanted its own environment variables, its own port, its own model names.
Get one variable wrong and the CLI silently falls back to your paid account. I burned paid tokens on builds I thought were free.
Two good free routers on my machine, and switching between them meant editing env vars in a terminal like it was 2019.
Then I wired both routers into one switchboard inside the Agent OS.
After.
Now there's one pill: OmniRoute or 9Router. Click it, done.
The CLI picks up the right rail on the next message — no env vars, no restart, no risk of silently billing my paid account.
Every experiment now runs at $0 first. The paid brain only comes out when the idea already works.
The five builds further down this page? All shipped through the switchboard — both rails. Total spend: nothing.
Here's the trap.
Claude Code is the best coding agent there is — and every message costs money.
So you ration it. You save the good tool for "real" work.
Your experiments, your throwaway prototypes, your "what if" ideas — they either don't happen, or they quietly drain the same budget as client work.
Meanwhile free AI gateways exist. Good ones. But they're built for people who enjoy editing shell profiles.
Each router wants different environment variables. Ports collide. And the failure mode is brutal: point one variable wrong and the CLI logs back into your paid account without telling you.
The Free Router Switchboard fixes all of it — two free rails, wired in once, switched with a click.
Scroll to the proof section. Three finished, polished builds — an animated orb, an interactive switchboard, a data infographic — all built by free models through this exact setup.
Free isn't for everything. It's for the 80% of work that doesn't need a frontier brain — and right now you're paying frontier prices for it.
Free Claude Code isn't a clone or a knockoff.
It's the actual claude CLI you already use — with one environment variable changed.
ANTHROPIC_BASE_URL tells the CLI where to send requests. Point it at a free gateway running on your own Mac, and every request routes there instead of the paid API.
The gateway speaks Claude's protocol, so the CLI never knows the difference. Tools work. Files get written. Agents run.
The switchboard part: I run two gateways side by side — because they're good at different things — and flip between them from the Agent OS.
Why two routers instead of one? Because they solve different problems.
npm command) with a trick OmniRoute doesn't have: RTK, which compresses tool results before they hit the model — 20-40% fewer tokens on agent work, where tool output is most of the bill. Plus an auto-fallback chain: your subscription → cheap → free, so a dead provider never stalls a build. It routes through accounts you connect in its dashboard, so it's the rail for squeezing paid accounts too.claude spawn talks to — with one click.Both routers run on your own machine — 127.0.0.1 means requests never leave your Mac except to the model provider you chose. No third-party middleman server.
9Router is open source (read every line on GitHub), and OmniRoute runs entirely locally too. The one real risk is misconfiguration silently using your paid account — which is exactly what the switchboard's status chips make visible.
OmniRoute runs as its own tab inside the Agent OS — members get it pre-wired with the Free Claude Code surface, nothing to hunt down.
Here's what wiring this into the Agent OS actually looks like.
The Free Claude Code panel has a ROUTER switch — two pills, OmniRoute and 9Router, each with a live health dot.

What you're looking at: my Agent OS on the OmniRoute rail. The header chip reads BIG-PICKLE · OMNIROUTE · FREE POOL — the CLI is live on the keyless free pool. Note the ROUTER pills under the description: both dots green, both gateways up.
Click the other pill and everything flips — the chip, the model, the gateway the next message routes through:

Same panel, one click later — the chip flips to the 9ROUTER · RTK TOKEN SAVER rail. One honest detail from my own setup: before I connected a provider, this panel showed an amber warning card instead of routing — 9Router routes through accounts you connect, and the OS tells you that plainly instead of failing mysteriously. Two connected providers later, the same rail answers a real claude -p request end-to-end.
Under the hood it's one JSON field. The choice persists to ~/.agentic-os/fcc.json, and the next claude spawn reads it and gets the matching environment. No restart. No terminal.
Talk is cheap — so here's what Free Claude Code actually shipped through both rails, each one from a single prompt. Aurora Storm came down the 9Router rail on gemini-3.6-flash; the rest rode OmniRoute's free pool.
This one's live — click the toggle inside it:
A live, interactive piece — built by a free model, through the free rail, from one prompt. Flip its switch and watch the lit path swap. This is the exact system this guide describes, drawn by the system itself.
And the rest of the $0 shelf — click to play them full-screen:
These aren't chat replies — the CLI planned each build, wrote the file to disk, and finished the job through tool calls, on a free model. That is agent work.
The honest split: frontier models are still better at big, complex builds. Which is exactly why it's a switchboard and not a religion — free rails for volume and drafts, your paid brain for the hard 20%.
Five parts, wired once.
The real claude CLI with its base URL pointed at localhost. Nothing forked, nothing downgraded — the same agent, through a free door.
The keyless free pool — 593 models, zero accounts, zero setup beyond starting it. The default rail for everyday building.
The token saver — RTK compression (20-40% off agent work) plus the subscription → cheap → free fallback ladder and multi-account rotation.
One pill in the Agent OS. Persists to a config file, applies on the next spawn, and the header chip always names the live rail.
Real builds shipped through the free rails, kept where you can play them — so "free is good enough for this job" is a fact you can check, not a guess.
Any one piece is nice. Wired together, they change the default: every idea gets tried, because trying is free.
Members post their wins every day — agency owners, ecom founders, course creators, solo operators across 38 countries. Real businesses, real numbers, in their own words.
Read the 158-page wins doc →Everything here is free. Budget 20 minutes.
npm install -g @anthropic-ai/claude-code. This is the only piece that's also your paid tool — the routers never touch that account unless you point them at it.npm install -g 9router then 9router -p 20129 -H 127.0.0.1. Port 20129 keeps it clear of OmniRoute's 20128. Open http://127.0.0.1:20129, log into the local dashboard, and connect at least one provider — an API key on a free tier is fine, and OAuth logins for tools you already pay for work too. No providers connected = it lists models but can't route. Mine runs two: a Gemini key and an OpenRouter key — and the receipt is real: claude -p through this rail answered end-to-end.ANTHROPIC_BASE_URL=http://127.0.0.1:20128 (the rail), ANTHROPIC_AUTH_TOKEN=free-local, and ANTHROPIC_API_KEY=free-local. That last one matters most — without it, the CLI's saved login quietly wins and you're back on the paid account.claude -p "say OK" with those variables set. Answer comes back → your CLI just ran for $0. Swap the port to 20129 and the same command rides the 9Router rail.~/.agentic-os/fcc.json and every spawn reads it. Rolling your own? Persist one field, {"router": "omniroute" | "9router"}, and pick the env block off it at spawn time.Real problem, solved with one line. Free reasoning models love to deliberate, so the Agent OS prepends a steer to every free-rail prompt: act immediately, minimal reasoning, use your tools and stop.
That one sentence is the difference between a free model that rambles and one that ships files. Steal it.
This isn't about replacing your paid Claude. Keep it. It's the best brain you own.
It's about the meter. The quiet tax on every experiment, every draft, every "what if".
Wire the switchboard once and the default flips: ideas get tried at $0 first, and money only follows proof.
More attempts at zero cost beats fewer attempts at full price. That's the whole economics of it.
The real Claude Code CLI, running $0 through local free rails.
OmniRoute: 593 models, keyless, one click in the Agent OS.
9Router's RTK trims 20-40% off agent work, plus the fallback ladder.
One pill flips rails, persists, and names the live rail in the chip.
No providers? Rail down? The panel says so — no silent paid billing.
Five live builds on this page, shipped through both free rails.
Members post their wins every day — agency owners, ecom founders, course creators, solo operators across 38 countries. Real businesses, real numbers, in their own words.
Read the 158-page wins doc →