Quickstart

From "I have an account" to "I made a routed request" in under five minutes. No SDK switch — just change the base URL.

1. Sign up

Create an account at /signup. The first request to a fresh signup grants superadmin access to that user (you).

2. Create an API key

In the dashboard, go to API Keys → Create. Keys start with edgrt_ and are shown only once at creation — copy it somewhere safe.

Lost a key? Revoke it from the dashboard and create a new one. We never store the secret in plaintext, so we can't show it to you again.

3. Add a provider key (or top up credits)

Two options. Pick whichever fits how you want to handle billing:

  1. BYOK (recommended): paste a key for any of the 11 supported providers. First 1,000 requests/month are free, then $1/1,000 — paid in credits.
  2. Platform keys: top up credits ($5–$100), and EdgeRouteAI uses its own provider keys at a flat 2.5% markup over list price.

4. Make a request

The endpoint is https://api.edgerouteai.com/v1/chat/completions. Use the OpenAI SDK or any HTTP client. Pass model: "auto" to let the smart router pick — or specify any of the 11 providers explicitly (e.g. anthropic/claude-sonnet-4-6).

JavaScript (OpenAI SDK)
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.EDGEROUTE_KEY,
  baseURL: 'https://api.edgerouteai.com/v1',
})

const r = await client.chat.completions.create({
  model: 'auto',
  messages: [{ role: 'user', content: 'Hello' }],
})

console.log(r.choices[0].message.content)
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["EDGEROUTE_KEY"],
    base_url="https://api.edgerouteai.com/v1",
)

r = client.chat.completions.create(
    model="auto",
    messages=[{"role": "user", "content": "Hello"}],
)

What's next

  1. Read BYOK setup to add keys for additional providers.
  2. Wire up MCP if you want EdgeRoute available inside Claude Desktop, Cursor, or Cline.
  3. See Observability for trace IDs and analytics.