Quickstart Guide

Prepare your AIOrouter integration and run your first API call after BETA access is enabled for your account.

1. Create an Account

Visit dashboard.aiorouter.ca and create an account. You'll need to:

2. Get Your API Key

During the BETA preview, registration and Dashboard onboarding may be available before new payments and API key generation are opened. Your first API key is created from the Dashboard only after your account has completed required setup and has active BETA billing access. Save it immediately — it will only be shown once.

API keys follow this format: ak- followed by 43 base64url characters.

3. Install the OpenAI SDK

AIOrouter is fully compatible with the OpenAI SDK. No new libraries needed.

# Python
pip install openai

# Node.js
npm install openai

4. Make Your First API Call After Access Is Enabled

Change one line — the base_url:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.aiorouter.ca/v1",
    api_key="ak-your_key_here"
)

response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[
        {"role": "user", "content": "Explain quantum computing in one sentence."}
    ]
)

print(response.choices[0].message.content)
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.aiorouter.ca/v1',
  apiKey: 'ak-your_key_here'
});

const response = await client.chat.completions.create({
  model: 'deepseek-v4-pro',
  messages: [
    { role: 'user', content: 'Explain quantum computing in one sentence.' }
  ]
});

console.log(response.choices[0].message.content);
curl https://api.aiorouter.ca/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ak-your_key_here" \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [{"role": "user", "content": "Explain quantum computing in one sentence."}]
  }'

5. Explore Available Models

models = client.models.list()
for model in models.data:
    print(f"{model.id}: {model.owned_by}")

See the Model Catalog for a full list with capabilities and use cases.

Next Steps

Support