Get started
Point your app at ProxyLLM and make your first request in about five minutes.
Read as MarkdownProxyLLM is an OpenAI-compatible gateway. Your app talks to https://api.proxyllm.ai/v1 exactly the way it talks to OpenAI, and ProxyLLM routes each request to the backend you pick: your Codex subscription, your own Claude Code bridge, or provider API keys.
1. Create an account
Sign up at proxyllm.ai/signup. The dashboard is where you connect subscriptions and create keys.
2. Connect something to route to
Pick at least one backend:
- Codex - bring your ChatGPT/Codex subscription. See Connect Codex.
- Claude Code - run inference on your Claude subscription through a server you own. See Claude Code Bridge.
- Provider API keys - save OpenAI, Anthropic, Gemini, or other provider keys under Providers.
3. Create a routing key
A routing key is what your app uses as its API key. Create one under Routing keys, add one or more lanes to it, and copy the key. It starts with pllm_ and is shown once. How routing works.
4. Point your app at the gateway
Set two environment variables:
export OPENAI_BASE_URL="https://api.proxyllm.ai/v1"
export OPENAI_API_KEY="pllm_your_routing_key"
Then make a request:
curl https://api.proxyllm.ai/v1/chat/completions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flagship",
"messages": [{"role": "user", "content": "Say hello."}]
}'
flagship is a stable alias that always resolves to the best model your key can reach, so it keeps working when providers rotate model names. Every OpenAI SDK and tool that accepts a base URL works; see Integrations for copy-paste setups.
5. Watch it run
Every request shows up under Usage with tokens, cost, and which lane served it. Agents and scripts can read the same stats through the API with a read-only account token.