FreeLLMAPI is a free, open-source tool. It runs a small server on your own computer and pools the free tiers of 34 AI providers (Google, Groq, Mistral, NVIDIA and more). The project says that adds up to about 7.4 billion tokens a month.
Claude Code can talk to that server instead of Anthropic. So the Claude Code app keeps working, but the answers come from free models.
Be clear on what you get
- You get the Claude Code app for free. You do not get Claude itself. The answers come from free models, so quality is lower and it varies.
- Free tiers have rate limits. The project says it is for trying things out, not for serious production work.
- Stacking free tiers may not fit every provider's terms. Read them before you rely on it.
What you need
- Node.js on your computer
- Claude Code installed
- Free API keys from a few providers (Google AI Studio, Groq and Mistral are quick to get)
1. Install it
git clone https://github.com/tashfeenahmed/freellmapi cd freellmapi && npm install cp .env.example .env && npm run dev
2. Add your free keys
Open the dashboard it prints (localhost), paste in your provider keys, and copy the one unified key it gives you.
3. Point Claude Code at it
npx freellmapi setup-claude --url http://localhost:3001 --api-key YOUR-UNIFIED-KEY
Add --dry-run first if you want to see what it will change.
4. Use it
Open Claude Code as normal. Requests now go to your free pool.
Tips
- Use it for simple jobs: renaming files, small edits, first drafts.
- Keep real Claude for the work that matters.
- Repo: github.com/tashfeenahmed/freellmapi
Some links are affiliate links: I may earn a commission at no cost to you. Not affiliated with Anthropic.
