Finds / Hack Day 03
// Hack Day 03

The Router

One endpoint, 34 providers' free tiers, and the router switches providers the moment one rate-limits you, instead of your app dying on a 429. The setup, the verdicts, and the catch, step by step.

FreeLLMAPI41,323 stars34 providers635 endpointsMIT

The problem: every serious AI lab now offers a free tier, a few million tokens a month, a few thousand requests a day. On its own each tier is a toy. Stacked together they are real inference capacity, but stacking them by hand is painful: thirty-four different SDKs, thirty-four different rate limits, thirty-four places a request can fail. FreeLLMAPI collapses that into one OpenAI-compatible endpoint on your own machine.

Step 1: install it. One Docker command sets it up (curl -fsSL https://freellmapi.co/install.sh | bash), or take the desktop app for macOS or Windows from the project's Releases, or build from source on Node 20+. It runs anywhere Node 20+ runs, including a Raspberry Pi, at about 40 MB of memory idle. Open the dashboard at http://localhost:3001.

Step 2: add your keys, get one key out. Add your own free-tier keys per provider on the Keys page. Your provider keys are stored AES-256-GCM encrypted in a local SQLite database and decrypted in memory per request. Your apps only ever see a single unified freellmapi-… key. Point any OpenAI client at base_url="http://localhost:3001/v1" with that key and model="auto", or a profile, or a model id.

Step 3: the routing. The router picks the best available model per request, tracks per-key RPM, RPD, TPM and TPD so it stays under every free-tier cap, and fails over to the next provider on a 429 or 5xx with cooldowns and key rotation. Conversations stay on one model for 30 minutes (sticky sessions), and an X-Routed-Via header tells you where each request actually went. Coding agents wire in with one command, for example npx freellmapi setup-claude --url http://localhost:3001 --api-key <unified-key>. Claude Code, Codex CLI, Gemini CLI, Cursor, Cline, Roo Code, OpenCode and Aider are all supported.

Step 4: the catalog, free vs premium. The router syncs a signed model catalog from freellmapi.co twice a day: 474 model families, 635 free endpoints (584 chat, 41 embeddings, 7 transcription, 3 video). Free installs get the monthly snapshot, so a model reaches them 30 days after it joins the live feed. Premium is $19 a year for the live feed the same day. The router itself stays MIT and free.

Step 5: the environment. Keep it local and single-user by design. Never expose the router to the internet. Log and audit every call (the router's analytics do this), and respect each provider's terms when traffic is proxied through your keys: Cohere's trial terms forbid personal and household use, and GitHub Models and NVIDIA NIM are experimentation and evaluation only.

The honest number, read this first: the README's "7.4 billion tokens per month" is the arithmetic sum of every catalogued model's listed free-tier ceiling across providers. It is not a usable quota. Request-per-minute caps bind long before those ceilings do, and the same model family is counted once per provider that serves it. The defensible angle is the one above: one endpoint over 34 providers' free tiers, failover on 429, and the best models burn out first each day, then reset at UTC midnight.

The verdicts, because every paid thing gets a free alternative here: good for personal prototyping, a real project with encrypted local key storage and an unusually candid README. Average as a daily-driver inference supply: quality and latency vary by the hour, and the top models burn out by late in the UTC day. Demo only for production, commercial or multi-user use. The author's own words: "This project is for personal experimentation and learning, not production… If you build something real on top of FreeLLMAPI, swap in a paid API before you ship."

The seatbelt: log and audit every call, never expose the router to the internet, and never treat a summed-up free-tier ceiling as capacity you actually own. Cheap is a strategy. Untraceable is a liability.

Research notes, not endorsementsFree tiers, credits and licenses change constantly; every figure here was checked against the live repo and published sources on 2026-10-25 (41,323 stars, 5,571 forks, 1,010 commits, 62 releases, MIT), and you should re-check before building on them. Featuring these tools is analysis, not an endorsement. All credit belongs to the projects' authors and contributors.