Work

FreeLLMAPI

Every free AI tier, stacked behind one OpenAI-compatible endpoint. An open-source router used by half a million developers.

FreeLLMAPI

DESIGNING FOR DEVELOPERS

One endpoint for every free AI model

Every AI lab gives away a free tier, but each one alone is too small to build on, and stacking them by hand means juggling dozens of SDKs, dozens of rate limits and models that change weekly. I designed and built FreeLLMAPI to do that juggling: add your keys once, point any OpenAI client at it, and a router tracks every limit, picks the best free model for each request and retries the next one when a provider fails. It started as a side project and is now used by half a million developers, with 495k package downloads, 510k desktop app downloads and 21k mobile installs.

Reach: used by half a million developers across the globe. 495k package downloads, 510k desktop app downloads, 21k mobile app installs and 37.3k GitHub stars, over a world map of users.
Built by the community: more than 250 creators have posted videos about FreeLLMAPI on Instagram, TikTok and YouTube without being asked. A wall of their video thumbnails.
The problem: every AI lab gives away a free tier, and each one is too small to build on. Dozens of SDKs, dozens of limits, and models that launch, retire and change quotas every week. Logos of Google, Groq, Cerebras, Mistral, OpenRouter, NVIDIA NIM and 45 more providers.
The stack: 7.4 billion free tokens a month, from every free tier stacked together. 62 providers in the catalog, 977 models in the live catalog, 1 OpenAI-compatible endpoint. The router drains the tiers evenly, so no single cap is the bottleneck.
The app: one dashboard for every free model. Add your keys once, encrypted at rest. See the monthly token budget across every free model. Pick how requests route: balanced, smartest, fastest, most reliable, or a manual order.
How it works: one request in, one answer out. Your app points any OpenAI client at the router. The router tracks every limit, picks the best free model for the request, and retries on 429 or 5xx errors with the next provider, up to 20 tries.
Routing: which of 977 models gets the next request? Thompson sampling: each model rolls a score from its track record and the highest roll wins, so proven models usually win and new models still get a fair chance.
Next case studyUser EvaluationAn AI-native platform for customer understanding at scale, with transcription, AI insights and multimodal AI chat.

See the design process behind this work, or the writing that draws on it.