Quickstart
Sign in, add an upstream, mint a proxy key, and send your first request to the Ada AI API in five minutes.
This guide walks through one full path: signing in, connecting a provider, minting a proxy key, and making your first chat-completions request.
1. Sign in
Open ada.ai, enter your email, and click Send magic link. Click the link in your inbox. First-time emails create an account automatically — there's no separate signup step.
You can also sign in with a password if you've set one.
2. Add an upstream
An upstream is a provider endpoint paired with your own API key. The proxy routes your traffic across whichever upstreams you've enabled, in priority order.
In the dashboard, go to Upstreams → Add upstream and pick from the preset list, or define a custom one. You'll need:
| Field | Notes |
|---|---|
| Name | A label for you. Any string. |
| Base URL | The provider's API root including the version segment, e.g. https://api.openai.com/v1. The proxy appends /chat/completions and /models to this. Presets fill it in for you. |
| API key | Your provider key (sk-... from OpenAI, etc.). Encrypted at rest. |
| Priority | Higher number is tried first. Use 10 for your primary, 1 for failover. |
After saving, click Sync models so the proxy can see which model IDs are available on that upstream. The Models page shows the union across all your enabled upstreams.
3. Mint a proxy key
Go to Keys → New key, name it, and click Create. You'll see the full
key once — it looks like sk-rc-<random>.
Copy it now
The dashboard won't show the full key again. If you lose it, rotate the key (which invalidates the old one) and copy the new value.
The key is personal by default. To scope it to an organization instead, pick the org from the Owner field when minting — see Organizations and API keys.
4. Send your first request
curl https://api.ada.ai/v1/chat/completions \
-H "Authorization: Bearer sk-rc-..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7",
"messages": [{"role": "user", "content": "Say hello in one word."}]
}'You'll get a standard OpenAI chat-completion response:
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "glm-4.7",
"choices": [
{ "index": 0, "message": { "role": "assistant", "content": "\n\nHello" }, "finish_reason": "stop" }
],
"usage": { "prompt_tokens": 16, "completion_tokens": 2, "total_tokens": 18 }
}5. Point your SDK at Ada AI
Because the API is OpenAI-compatible, existing SDKs work unchanged — just change the base URL and use your proxy key as the API key.
from openai import OpenAI
client = OpenAI(
api_key="sk-rc-...",
base_url="https://api.ada.ai/v1",
)
response = client.chat.completions.create(
model="glm-4.7",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Next steps
Coding agents
Point Pi and OpenCode at Ada AI using your proxy key — no SDK changes.
Chat completions API
Streaming, tool calls, and the full request/response reference.
Anthropic messages API
Use /v1/messages with the Anthropic SDK against any provider.
Models & routing
Priority ordering, failover, and model discovery.
API keys
Scoping keys to organizations, rotating, and revoking.
Overview
Ada AI is a model gateway and control plane. Bring your provider keys, route traffic through one endpoint, and keep explicit control over model selection, priority, and failover.
Coding agents
Point coding agents like Pi and OpenCode at Ada AI so every request flows through your proxy key, your upstreams, and your routing rules.