#66th of 76 in Gateways and observability

freellmapi

OpenAI-compatible gateway pooling free-tier LLM providers with automatic failover

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
58.7k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 31 weeks+58,236
21 Apr 2026: 461 stars28 Apr 2026: 1,117 stars5 May 2026: 1,237 stars12 May 2026: 1,289 stars19 May 2026: 2,313 stars26 May 2026: 5,901 stars2 Jun 2026: 7,462 stars9 Jun 2026: 9,370 stars16 Jun 2026: 10,738 stars23 Jun 2026: 12,011 stars30 Jun 2026: 14,403 stars7 Jul 2026: 15,555 stars14 Jul 2026: 16,196 stars21 Jul 2026: 16,725 stars28 Jul 2026: 17,373 stars4 Aug 2026: 17,883 stars11 Aug 2026: 18,499 stars18 Aug 2026: 19,002 stars25 Aug 2026: 20,552 stars1 Sept 2026: 23,831 stars8 Sept 2026: 25,291 stars15 Sept 2026: 26,694 stars22 Sept 2026: 28,388 stars29 Sept 2026: 29,912 stars6 Oct 2026: 31,681 stars13 Oct 2026: 35,203 stars20 Oct 2026: 38,872 stars27 Oct 2026: 43,304 stars3 Nov 2026: 47,691 stars10 Nov 2026: 50,961 stars17 Nov 2026: 54,853 stars24 Nov 2026: 58,697 stars

461 on 21 Apr 202658,697 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

FreeLLMAPI serves one OpenAI-compatible /v1 endpoint, plus Anthropic Messages, Gemini and opt-in Ollama surfaces, in front of 34 free-tier providers and custom OpenAI-compatible endpoints. A router ranks models, retries on 429/5xx with key rotation, and tracks RPM/RPD/TPM/TPD per key. Provider keys are AES-256-GCM encrypted in SQLite, and a React dashboard manages keys and the fallback chain.

Who it is for: Developers who want one local endpoint over many free LLM tiers

Ranked among open-source alternatives to OpenRouter (#5 of 10).

Strengths

  • Per-key rate counters keep routing under each provider's free-tier caps
  • Covers chat, embeddings, images, video and speech, plus Anthropic and Gemini wire formats
  • One-command setup for Claude Code, Codex CLI, Cursor, Aider and other agents
  • About 40 MB RSS idle on Node 20+, including Raspberry Pi

Weaknesses

  • Free installs get new models 30 days late; same-day catalog needs $19/yr premium
  • Catalog updates depend on a signed feed from freellmapi.co
  • Single-user by design; no multi-user setup described
  • Quality and limits depend on free tiers that providers change without notice

What it needs

  • no GPU
  • Docker + Compose
  • Needs Node.js 20+, SQLite, Provider API keys, Docker (optional)
  • Models: OpenAI-compatible APIs, Anthropic Messages API, Gemini API, Ollama API (opt-in)
  • port 3001

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Head to head

Also in Gateways and observability

See all 76
Also in Gateways and observability
RankProjectScore
#4new-apiGateway that unifies LLM providers behind OpenAI, Anthropic and Gemini APIs52.6k starsAGPL-3.0known advisory in latest version91 out of 100
#5LiteLLMOpenAI-format gateway and Python SDK for calling 100+ LLM providers64k starscustom license88 out of 100
#7experientialOpenAI-compatible LLM gateway with per-user budgets and traffic-trained routers19.4k stars+6,284 (+48%) in 30 daysApache-2.088 out of 100
#8llm-gatewayOpenAI-compatible gateway routing requests across providers, subscriptions, local models7.7k stars+72 (+0.9%) in 30 daysMIT88 out of 100
#9LangfuseLLM tracing, evaluation, prompt management and cost tracking for agent apps Live demo ↗ (opens in a new tab)37.9k starscustom licensetelemetry on by defaultpart of the code needs a paid license87 out of 100