
FreeAITokens
Desktop app that pools the free tiers of 27 AI providers so your AI tools keep working without a subscription
Replaces Openrouter

Who it's for
Run Claude Code, Codex, Gemini CLI or OpenCode through free providers with one command.
Point the base URL at the local endpoint and use the model name free.
Free allowances from 27 providers, added together.
The problem
Each AI provider's free tier is small, and switching between them by hand when one runs out is tedious.
How it works
OpenAI, Anthropic, Gemini and Ollama formats on one address on your machine.
It picks a model that fits the context size, tools and images the request needs.
On a rate limit or error it moves to the next provider before your tool notices.
Features
- 96 models across chat, transcription, speech, images and embeddings
- Automatic switch when a provider runs out
- Runs locally, keys only go to their provider
- Mac, Windows and Linux
How to install
npx freeaitokens npx freeaitokens add
Recommended for this setup
Strengths
- Works with no account on providers that need no key.
- Keys stay local and only go to their own provider.
- Launchers for Claude Code, Codex and Gemini CLI write nothing to their config.
Trade-offs
- Free tiers are for trying things: they are not meant for running a business.
- Desktop app not code-signed yet: your computer warns you the first time.
- Some providers may train on what you send: the app tells you which.
Tech stack
FAQ
No to start. A couple of providers need no key; each free key you add raises the total.
Claude Code, Codex, Gemini CLI, OpenCode, Aider, Cline and anything OpenAI-compatible.
They stay on your computer and are only sent to the provider they belong to.