freellmpool

A free, open-source, OpenAI-compatible gateway that pools the free tiers of 16 LLM providers.

freellmpool is a free, open-source Python tool that pools the free tiers of 16 LLM providers — Groq, Cerebras, NVIDIA, Google Gemini, OpenRouter, Cloudflare, Mistral, Cohere and more — behind one OpenAI-compatible endpoint. It runs as a command-line tool, a Python library, a local proxy, and an MCP server, with automatic failover when a provider is rate-limited and per-day quota tracking across tiers. Two providers (Pollinations and OVHcloud) need no API key, so pip install freellmpool answers immediately — no signup. The proxy speaks both the OpenAI and the Anthropic API, so existing apps and coding agents such as Codex, Claude Code, and aider run on pooled free models with no code changes.

pip install freellmpool
freellmpool ask "Explain the CAP theorem in one sentence."   # no API key needed

GitHub · PyPI · Changelog · MIT license

How it compares

ToolWhat it isInstallKeyless startCLI / library / proxy / MCP
freellmpoolPools many providers' free tierspip installYes (2 providers)All four
OpenRouterHosted paid aggregator (some free models)API keyNo (account + key)API only
LiteLLMMulti-provider SDK/proxy (bring your own keys)pip installNoLibrary + proxy
Self-hosted free-API serversA server you deployDocker + configNo (deploy first)Server only

freellmpool's niche: the keyless, pip-installable client for squeezing the hosted free tiers — not a server you deploy and not a paid aggregator.

What you can do with it

Guides

Per-provider free tiers: Groq · Gemini · Cerebras · NVIDIA · Mistral

FAQ

Is there a free, OpenAI-compatible LLM API gateway?

Yes — freellmpool is a free, open-source, MIT-licensed gateway that exposes one OpenAI-compatible endpoint backed by the free tiers of 16 providers. Install it with pip install freellmpool and point any OpenAI client at the local proxy.

How do I use multiple free LLM APIs at once?

freellmpool pools them: each request goes to a provider you have access to, and if that one is rate-limited or down it automatically fails over to the next. It tracks per-day usage so load spreads evenly across the free tiers, and an optional fast routing mode prefers the lowest-latency provider.

Can I run Claude Code or Codex on free models?

Yes. The proxy implements both the OpenAI and the Anthropic APIs, so you set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to the local proxy and run Codex, Claude Code, aider, Cline, Continue, or Cursor on pooled free models without changing any code. Run freellmpool code claude for the exact setup. (The Claude Code path is experimental: text and tool use, no vision yet.)

Do I need an API key?

No key is required to start: Pollinations and OVHcloud work anonymously, so a fresh install answers immediately. Add free keys for the other 14 providers to unlock more models and higher limits.

Which free LLM providers does it support?

16 providers: Pollinations, OVHcloud, LLM7, Groq, Cerebras, NVIDIA NIM, OpenRouter, Google Gemini, GitHub Models, Cloudflare Workers AI, Mistral, Cohere, SambaNova, Z.ai/Zhipu, Ollama Cloud, and LongCat — 235 live-validated chat models, plus free embeddings.

How is freellmpool different from OpenRouter?

OpenRouter is a hosted aggregator you pay per token (with some rate-limited free models) and access through its API. freellmpool is a local, open-source tool you pip install that pools the providers' own free tiers directly, works with no key to start, and ships a CLI, a Python library, a proxy, and an MCP server.

Is freellmpool free and open source?

Yes — it is MIT-licensed and free to use. Source is on GitHub; the package is on PyPI.

What are the limitations?

Free-tier models are smaller than frontier models — good for drafting, classification, triage, and everyday coding, not GPT-class reasoning on the hardest problems. Limits reset at UTC midnight and capacity varies through the day. The proxy is meant for local/single-user use.

Free and open source (MIT). Latest release: 0.10.1. Page updated 2026-06-03. Project: github.com/0xzr/freellmpool