Quickstart

Quickstart

OctaRouter gives you one account for every major LLM: register, top up prepaid credits, create an API key, then paste OctaRouter's base URL + key into any AI app, agent, SaaS backend, or workflow. Swap models by changing the model name — no new vendor sign-ups or keys.

  1. Sign up at OctaRouter and verify your email.
  2. Open Dashboard → API keys and create a key. Copy the secret immediately.
  3. Set your client's base URL to OctaRouter (see Models & protocols or the home page for OpenAI / Anthropic / Gemini paths).
  4. Send a request:
curl "$GATEWAY_URL/v1/chat/completions" \
  -H "Authorization: Bearer sk-or-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Replace sk-or-... with your key and $GATEWAY_URL with the proxy root configured for your deployment.

The OpenAI protocol (/v1/chat/completions) works for virtually every model on OctaRouter. For Claude or Gemini, you can optionally use their native protocols instead — see Models & protocols.

Top up credits

Go to Dashboard → Top up, choose a quantity (US$10 per unit), and complete Stripe Checkout. Credits are added to your gateway budget after payment.