K
KairosRoute
Docs/Quickstart

Quickstart

Two lines: point the OpenAI client at us, pass model="auto". That's it.

1. Grab a key

Sign up — no credit card. You get 100K tokens/month BYOK plus a $5 managed-key trial.

Get Your API Key →

2. Make your first call

pip install openai # the official OpenAI SDK
from openai import OpenAI

client = OpenAI(
    api_key="kr-your-key",
    base_url="https://api.kairosroute.com/v1",
)

resp = client.chat.completions.create(
    model="auto",  # let the router pick
    messages=[{"role": "user", "content": "Explain quantum computing simply."}],
)

print(resp.choices[0].message.content)

Replace kr-your-key with the key from your dashboard. Any OpenAI-compatible client works — change two lines, done.

3. Check the receipt

Every request leaves a receipt in the dashboard — model picked, input/output tokens, cost, latency, fallback hops if any. Your first call shows up within a second.

Open Dashboard →

Already on OpenAI?

The migration guide is a one-page diff — keep everything else, swap the base URL.

Using a framework?

LangChain, CrewAI, AutoGen, Vercel AI, Semantic Kernel — see framework integrations.