Free & open source · MIT
f3router gives Claude Code, Codex, Pi, OpenCode and other agents a single OpenAI-compatible /v1 endpoint. It sends each request to a free provider that has quota left, and falls over to the next one when a limit is hit.
Your agent talks to one endpoint. f3router ranks the free models you have keys for, sends the request to the best one available, and keeps per-key usage so you stay under each free-tier cap.
Point any OpenAI or Anthropic client at /v1. No SDK changes.
Requests go to the best free model right now, based on reliability, speed and quota.
Rate-limited or failing providers are skipped and cooled down before your agent sees an error.
Provider keys are stored encrypted on your machine. Nothing is sent to us.
Run the installer from the repository, or download the desktop app from GitHub Releases.
Add keys from the providers you use (Groq, Cerebras, Gemini and others have free tiers).
Set the base URL to http://localhost:<port>/v1 and use the key shown in the app.
curl -fsSL https://raw.githubusercontent.com/f3tools/f3router/main/docs/install.sh | sh
Windows: docs/install.ps1 in the repository. Full steps are in the docs.
for Live Updated Curated List
Coming Soonf3router is free and open source today. The premium list is still being prepared.
Yes. The code is MIT licensed and runs on your own machine. The providers you connect have their own free-tier limits.
Only to the providers you configure. They are stored encrypted on your machine.
Any tool that accepts an OpenAI-compatible or Anthropic-compatible base URL, including Claude Code, Codex, Pi, OpenCode, Cline and Aider.
It retries and falls over to other providers first. Failovers, cooldowns and scores are visible per request in Analytics.