freellmpool › guide
Anthropic doesn't publish a free Claude API tier, so "a free Claude API key"
doesn't exist. What you can do is run Claude Code and any Anthropic-API app against free LLM
models by pointing them at freellmpool — a local proxy
with an experimental Anthropic-compatible path (/v1/messages) over 24 pooled free
providers with failover. It supports keyless start when routes are available for text/tool
workflows.
pip install freellmpool
freellmpool proxy
export ANTHROPIC_BASE_URL=http://localhost:8080
export ANTHROPIC_AUTH_TOKEN=dummy
export ANTHROPIC_API_KEY=dummy
export ANTHROPIC_MODEL=auto
export ANTHROPIC_SMALL_FAST_MODEL=auto
export CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1
claude
Run freellmpool code claude to print this setup. See the full
coding-agents guide for Codex, Aider, Cline and more.
from anthropic import Anthropic
client = Anthropic(base_url="http://localhost:8080", api_key="anything")
msg = client.messages.create(model="claude-3-5-sonnet-latest", max_tokens=256,
messages=[{"role":"user","content":"Hello"}])
# claude-* model names auto-route to a free model
pip, keyless start when routes are available.Privacy note: freellmpool is not a privacy layer; prompts go to the selected upstream provider. See the FAQ.
Anthropic doesn't offer a free Claude API tier. The practical free path is to run Claude Code and Anthropic-API apps on free models from other providers via freellmpool's experimental Anthropic-compatible path — keyless start when routes are available.
Start freellmpool proxy, set ANTHROPIC_BASE_URL=http://localhost:8080 and any
ANTHROPIC_API_KEY, then run claude. It runs on pooled free models. The path is
experimental (text + tools, no vision).
No — real Anthropic Claude models aren't available for free. freellmpool routes the Anthropic-compatible path interface to free models from other providers, which is what makes it free.