Unified AI Gateway
One API key for all LLMs
Point any AI client, agent, SaaS backend, or workflow at OctaRouter. Use one key across OpenAI-compatible, Anthropic Messages, and Gemini generateContent routes with prepaid metering built in.
$ curl https://api.octarouter.com/v1/chat/completions \
-H "Authorization: Bearer sk-or-..." \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o","messages":[...]}'Pick a model on the Models page, then follow the official API docs for request parameters.
Why OctaRouter
A lighter way to run model traffic across apps, agents, and backends.
Fewer integrations
One account, one base URL, and one API key instead of signing up, topping up, and wiring each LLM vendor separately.
One balance
Prepaid credits cover every model. No separate invoices or quota spreadsheets.
Clear visibility
Request logs show model, tokens, cost, and status so you can trace failures fast.
Built for
Teams shipping AI features that need reliable routing and predictable spend.
AI-powered apps
Ship chat, summarization, or codegen — point baseUrl at OctaRouter and swap models without new vendor accounts.
Agents & workflows
Run tool-calling agents with model fallbacks. One OctaRouter baseUrl + key in production.
SaaS backends
Meter usage per customer with gateway logs and a shared prepaid pool — configure OctaRouter once in your backend.
Scripts & automation
Call the same baseUrl from curl, CI, or cron — change the model name, not your infrastructure.
How it works
Set up once, then route requests across models with one key.
Create account
Sign up, verify your email, and add prepaid credits to your balance.
Create an API key
Create a gateway key in the dashboard and store it securely. The full secret is shown only once.
Send your first request
Choose a model and protocol from the Models page, then call OctaRouter with the matching base URL and endpoint path.
Three protocols, one key
OpenAI-compatible is the default for every model. Claude and Gemini also support their native protocols. See the docs for base URLs and official API references.
Ready to route your first request?
Create an account, add credits, and reach any major LLM through one key — OpenAI, Anthropic, or Gemini native protocols.
Start routing requests