by 0xzr
Free LLM gateway: 22 LLM providers, 178 enabled chat routes, 431 cataloged chat models; keyless start when available.
# Add to your Claude Code skills
git clone https://github.com/0xzr/freellmpoolGuides for using mcp servers skills like freellmpool.
freellmpool is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 0xzr. Free LLM gateway: 22 LLM providers, 178 enabled chat routes, 431 cataloged chat models; keyless start when available. It has 161 GitHub stars.
freellmpool's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/0xzr/freellmpool" and add it to your Claude Code skills directory (see the Installation section above).
freellmpool is primarily written in Python. It is open-source under 0xzr on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh freellmpool against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
freellmpool catalogs 23 LLM providers as distinct groups spanning recurring free tiers, keyless endpoints, finite trials, pin-only routes, and disabled candidates. It exposes 178 enabled chat routes and 443 cataloged chat models, and automatically pools only enabled routes you can access behind one OpenAI-compatible endpoint — as a CLI, a Python library, or a local proxy. It can start without credentials when an enabled keyless route is available.
FAQ: where prompts go, ToS posture, failover, bans, and comparisons.
Latest release: 0.13.0. The GitHub release and PyPI package are both
0.13.0; pip install freellmpool and uvx freellmpool install the audited
provider catalog, bounded streaming and sentinel hardening, Hermes profile,
proxy readiness/provider APIs, spread routing, and OpenCode
registry-readiness hardening.
Registry publication status: pending. opencode-freellmpool and
opencode-freellmpool-tui are tested but not published on npm as of
2026-08-29. Use their repository-local installation instructions for now.
Fresh install to first free-model reply is measured at about 19 seconds under the 30-second target on a clean Linux/Python 3.12 environment, with no API keys when a keyless provider is up:
# One command when uv is installed; no checkout or manually managed virtualenv:
uvx freellmpool ask --max-tokens 32 "Reply with one short sentence: freellmpool is ready."
Portable virtual-environment path:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install freellmpool
freellmpool ask --max-tokens 32 "Reply with one short sentence: freellmpool is ready."
CI runs the same path from this checkout with
FREELLMPOOL_QUICKSTART_PACKAGE=. scripts/quickstart-test.sh.
The catalog covers provider-operated free tiers, keyless routes, and a few explicit finite-trial or disabled candidates. Eligibility and limits differ by provider. freellmpool automatically uses only enabled routes you can access, fails over when one is rate limited or down, and tracks local per-day usage.
Several providers (Pollinations, OVHcloud, and Kilo Gateway) need no API key, and LLM7 works without one, so the quickstart can answer without signup when a keyless provider is available.
To inspect your local provider keys, agent CLIs, proxy config, and Tailscale state before wiring tools, run the print-only init wizard:
freellmpool init --yes
freellmpool init --yes --agent opencode
freellmpool init --yes --agent metaswarm --tailnet
Add keys for the other providers to unlock more models and higher limits.
LM Studio, Ollama, and llama.cpp can be previewed from a fixed list of literal loopback endpoints without scanning your LAN or processes:
freellmpool local discover
freellmpool local discover --name lm_studio
freellmpool local import --name lm_studio --yes
freellmpool ask --providers local_lm_studio --model "<model-from-discover>" "hello"
Discovery is read-only. Import is a separate affirmative step, writes no
credential, and keeps every imported model out of automatic routing
(auto = false). freellmpool local remove local_lm_studio --yes reverses only
the block managed by the importer. Custom endpoints must be canonical literal
loopback URLs such as http://127.0.0.1:1234/v1; hostnames, LAN addresses,
redirects, and broad network scans are rejected.
freellmpool initfreellmpool init inspects provider keys, installed agent CLIs, Tailscale
state, and proxy config, then prints one copy-pastable next step without editing
files. Run it detect-only first:
freellmpool init --yes
--json emits the same detection as versioned JSON for scripts and agents.
Serve the proxy on your Tailscale 100.x address with a generated API key:
freellmpool tailnet serve --port 8080
From a remote machine:
freellmpool tailnet connect <tailnet-ip> --port 8080
Both sides support --api-key <shared-secret> if you want to pin a key instead
of using a generated token. Tailnet serving requires auth by default; do not
run unauthenticated over non-loopback interfaces.
This project uses one Umans/Kimi K2.7 worker lane, one MiniMax M3 lane, Codex as escalation, and Claude Opus only for final pre-ship review. The installable Metaswarm profile mirrors that posture: one free/cheap worker lane through the local proxy, one larger freellmpool reviewer lane, and Codex/Opus as explicit user-owned paid escalation/final-review lanes only (never silent).
freellmpool init --yes --agent metaswarm --tailnet
freellmpool profile install metaswarm
freellmpool tailnet serve --port 8080
freellmpool profile doctor metaswarm --dry-run
freellmpool's proxy speaks the OpenAI API and includes an experimental Anthropic-compatible path, so coding agents can run against pooled free tiers — just point them at the proxy:
freellmpool proxy # starts http://localhost:8080
freellmpool code claude # prints the one-line setup for Claude Code
freellmpool profile list # richer installable profiles
freellmpool profile show metaswarm # Tailnet-aware Metaswarm profile
freellmpool profile install hermes # Hermes custom-endpoint config
# (also: codex, aider, cline, continue, cursor, hermes, opencode, metaswarm)
The Hermes profile prints (and never writes) this supported custom-endpoint
block; hermes model provides the interactive equivalent:
model:
provider: custom
default: quality
base_url: http://localhost:8080/v1
api_key: anything
Claude Code gateway mode can also be launched directly:
ANTHROPIC_BASE_URL=http://localhost:8080 \
ANTHROPIC_AUTH_TOKEN=dummy \
ANTHROPIC_API_KEY=dummy \
ANTHROPIC_MODEL=auto \
ANTHROPIC_SMALL_FAST_MODEL=auto \
CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1 \
claude
Existing OpenAI-compatible apps work the same way: set
OPENAI_BASE_URL=http://localhost:8080/v1 and keep your code unchanged.
Anthropic-compatible tools can use the experimental bridge with
ANTHROPIC_BASE_URL=http://localhost:8080.
Text-only /v1/responses and /v1/messages requests stream incrementally from
the selected provider. Tool calls and richer content intentionally stay on the
buffered compatibility path. The browser dashboard and playground share one
public, data-free shell; when proxy auth is enabled it prompts for the bearer
token and keeps it only in page memory while protected status, inventory,
model, and battle calls continue to require the Authorization header.
OpenCode gets a deeper integration in 0.12.0: a live in-editor dashboard (routing mode,
estimated savings, tokens served free, provider race, latency), per-request
agent routing via the model picker (freellmpool/agent|spread|auto|fast|quality|fair), and freellmpool_status
/ freellmpool_models tools — see integrations/opencode-tui
and the guide.
The plugin registers its routing aliases automatically on supported OpenCode
versions without rewriting user configuration. Restart OpenCode and check
opencode models freellmpool.
The package tarballs are validated in CI, but npm publication remains pending;
the linked local-file instructions remain the working install path.
New in 0.11: capacity tools — freellmpool capacity status shows which free
tiers are usable right now, freellmpool providers health live-probes them, and
freellmpool keys add walks you through configuring more (see
Capacity & provider health and
docs/CAPACITY.md).
New in 0.10: an async API (AsyncPool), an MCP server (freellmpool mcp),
latency-aware routing with freellmpool benchmark, observability hooks, and a
plugin system for custom providers. See the changelog.
pip install freellmpool # or: pipx install freellmpool
Only dependency is httpx. Python 3.11+.
The published container runs the local proxy as an unprivileged user. Persist quota, stats, route-health, cache, and configuration state in a named volume:
docker volume create freellmpool-data
docker run --rm -p 127.0.0.1:8080:8080 \
--volume freellmpool-data:/home/freellmpool/.config/freellmpool \
--env GROQ_API_KEY \
ghcr.io/0xzr/freellmpool:0.13.0
Omit --env GROQ_API_KEY if you want a credential-free start; the proxy can
answer only while an enabled keyless route is available. Keep the published
port on loopback. If you deliberately expose it, set
FREELLMPOOL_PROXY_KEY and require that Bearer token from clients.
For the bundled Open WebUI stack, place any provider credentials in .env and
run docker compose up -d. Compose waits for the proxy health check and keeps
both freellmpool and Open WebUI state in named volumes; open
http://localhost:3000 after both services are healthy.
freellmpool ask "Write a