Like OpenRouter, but for free models
Route across free LLMs with a single API.
FreeRouter is the open-source AI gateway that routes requests across free LLM providers through one OpenAI-compatible API.
13Providers
87+Free models
$0Cost
MITLicense
@freerouter/sdkstreaming
→gpt-4o-mini214ms200
→gemini-2.0-flash189ms200
→llama-3.3-70b267ms200
→mistral-small152ms200
→qwen-2.5-coder231ms200
→deepseek-v3198ms200
One API for any free model
All 87+ free models across 13 providers through a single OpenAI-compatible interface.
Auto-failover
Aliases route to best available model. If one provider fails, FreeRouter tries the next automatically.
BYOK with health isolation
Bring your own free-tier keys. Health tracked per key fingerprint — one user's rate-limit never blocks another.
SDK + HTTP API
Use the TypeScript SDK with Vercel AI SDK v7, or the OpenAI-compatible HTTP API. Works with any OpenAI client.