tashfeenahmed/freellmapi

10.1 billion tokens per month. 87 free LLM providers. 1,313 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

Edition record

  • 2026-11-29 · growth · 7d · x-large — rank 8 / 248
  1. 2026-11-29 · growth · x-large — rank 8 / 248
  2. 2026-11-28 · growth · x-large — rank 8 / 251
  3. 2026-11-27 · growth · x-large — rank 9 / 248
  4. 2026-11-25 · growth · x-large — rank 6 / 247
  5. 2026-11-24 · growth · x-large — rank 5 / 243

Editions on the board: 5

What it solves

Every serious AI lab now offers a free tier, but on its own each one is a toy: a few million tokens a month and a few thousand requests a day. Stacking many free tiers by hand means juggling dozens of different SDKs, rate limits, and failure modes. FreeLLMAPI aggregates free tiers from 87 providers — about 10.1 billion tokens per month of working inference capacity, across 736 model families and 1,313 endpoints — behind a single OpenAI-compatible /v1 API.

How it works

You run a local server (Docker, desktop app, or from source), add your provider API keys on a dashboard, and point any OpenAI-compatible client at http://localhost:3001/v1 with one unified bearer token. The router keeps a signed model catalog that it syncs from freellmapi.co twice a day, so new free models, quota changes, and compatibility fixes land without a git pull. Each request is routed to the best available model based on live speed/capability/reliability scores, with automatic fallover to the next provider on rate limits (429/5xx), cooldowns, and key rotation. Per-key counters track RPM/RPD/TPM/TPD for every (platform, model, key) so routing stays under every free-tier cap. Provider keys are encrypted at rest (AES-256-GCM in SQLite) and decrypted in memory per request; only the single freellmapi-… token is ever exposed to your apps.

The router exposes more than chat: it also serves /v1/embeddings, /v1/images/generations, /v1/videos/generations, /v1/audio/speech, /v1/audio/transcriptions, and /v1/models, plus an Anthropic Messages API surface (/v1/messages), a Gemini-style /v1beta, and opt-in Ollama emulation — so Claude Code, Gemini CLI, Zed, JetBrains, and other clients can all use the same free pool. A Fusion mode fans a prompt out to multiple diverse free models in parallel and has a judge model synthesize one answer from the drafts. Optional prompt compression can deduplicate prompts and trim stale context before routing.

Who it's for

Developers and tinkerers who want free AI inference without maintaining dozens of provider accounts and SDKs. It suits anyone running OpenAI-compatible clients or coding agents (Claude Code, Codex CLI, Gemini CLI, Cursor, Cline, Aider, and many more) who wants a single local endpoint backed by free models. It is local-first and single-user by design, so it fits individuals rather than teams needing shared key management.

Highlights

  • One endpoint, many providers — 87 free providers, 1,313 model endpoints, ~10.1B tokens/month of aggregate free capacity
  • Smart routing — six strategies with live per-model scores, fallover on rate limits, cooldowns, and key rotation
  • Per-key rate tracking — RPM/RPD/TPM/TPD counters that learn providers' reported ceilings and stay under every cap
  • Self-updating catalog — signed model feed syncs twice a day; free installs get the monthly snapshot (models appear ~30 days later), premium routers get same-day updates ($19/yr)
  • Broad API surface — chat, completions, responses, embeddings, images, video, audio, and models, plus Anthropic Messages, Gemini, and Ollama wire formats
  • Fusion multi-model synthesis — parallel drafts from diverse models, judged into one answer
  • Tool calling & structured outputs — OpenAI-style tools round-trip across providers, with plain-text tool calls rescued into real tool_calls
  • Encrypted keys — AES-256-GCM encryption in SQLite; keys never leave your machine
  • Desktop apps — native macOS and Windows menu-bar apps with a live stats popover, plus Docker and Raspberry Pi support
  • Admin dashboard — manage keys, reorder fallback chains, playground, and p50/p95/TTFT analytics over 24h–90d windows, in 60 languages
  • MCP server & interactive docs — ChatGPT and other MCP clients can call inference and inspect routing metadata over /mcp

Related

  • Project
  • Project
  • Project
  • Project
  • Project