One Unified API
A single OpenAI-compatible endpoint. Swap models by changing one string — no new SDKs.
Route across Groq, Google Gemini and OpenRouter from a single endpoint. Smart auto-routing picks the best model, and automatic fallback keeps you online.
Routing across leading providers
Everything you need to talk to any model, without vendor lock-in or downtime.
A single OpenAI-compatible endpoint. Swap models by changing one string — no new SDKs.
A routing agent inspects each request and picks the best-fit model for speed, cost, or capability.
If a provider is down or rate-limited, requests reroute instantly to a healthy one. Zero downtime.
Start on generous free models, then upgrade to premium tiers per request — you stay in control.
Already using OpenAI's client? Point base_url at Open LLM and
you're done. Every request is routed, load-balanced and given automatic fallback.
from openai import OpenAI
client = OpenAI(
base_url="https://open-llm-2fgm.onrender.com/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="openai/...",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Open LLM is fully open source under the MIT license. Inspect every line of the router, self-host it on your own infrastructure, or contribute back to the project. We welcome bug fixes, new provider integrations, documentation improvements and feature ideas — no contribution is too small.
Grab a free API key in seconds. No credit card, no subscription.
Get your free key