Credentials. Each provider used for a tier needs its own key stored in FCC.
Who it is forA developer who wants heavy reasoning on a strong model and quick edits on a cheaper one.
The problemClaude Code expects its model tiers to map to one connection, which limits how much you can save per task.
The outcomeEach Claude model tier is sent to its own configured model, while tools, streaming, and images keep working.
What you need first
- A macOS, Linux, or Windows computer with a terminal
- An API key from at least one provider in the README catalog, such as NVIDIA NIM
- Permission to run the install script from the README
Steps
- Install FCC with the install command from the README and choose Claude Code when prompted.
- Start FCC with
fcc-serveron Linux, or open Free Claude Code on Windows or macOS. - In the Admin UI, configure the providers you want to use and select a model for each tier in Model Config.
- Click Apply to save the routing.
- Run
fcc-claudeand check the /model picker to confirm each tier.
Prompt for your agent
In the repo Alishahryar1/free-claude-code, map the Opus, Sonnet, and Haiku tiers to different FCC models and start `fcc-claude`. Expected output: each tier shows its assigned model in the /model picker. Verify by running one short prompt on each tier and checking the server log.
Caveat. The README says tiers are routed independently only with compatible models, so check each model's support before mapping it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Alishahryar1/free-claude-code and "Route Claude model tiers to different models"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer