- Docs
- Get started
- Quickstart
Quickstart: call Claude, GPT and Gemini through Airoutly
Make your first request in about two minutes. You need an Airoutly account and any HTTP client or SDK.
1. Create an API key
Sign up at console.airoutly.com, top up your balance, then open API keys and create a key. One key works with every model and every tool. Store it as an environment variable:
shell
export AIROUTLY_API_KEY=sk-...2. Set the Base URL
Pick the row that matches the SDK or tool you use. All three take the same key.
| Protocol | Base URL |
|---|---|
| OpenAI (Chat, Responses) | https://api.airoutly.com/v1 |
| Anthropic (Messages) | https://api.airoutly.com |
| Gemini | https://api.airoutly.com/v1beta |
3. Make a request
curl https://api.airoutly.com/v1/chat/completions \
-H "Authorization: Bearer $AIROUTLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-5", "stream": true,
"messages": [{"role": "user", "content": "Hello"}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.airoutly.com/v1",
api_key=os.environ["AIROUTLY_API_KEY"])
stream = client.chat.completions.create(
model="gpt-5", stream=True,
messages=[{"role": "user", "content": "Hello"}],
)Use streaming for long outputsNon-streaming requests that run longer than about two minutes can time out at our edge. Streaming responses are not affected.
4. Use it in your tools
Each coding tool has its own setup page: Claude Code, Codex CLI, Gemini CLI, OpenCode, Cursor, Cherry Studio and CC Switch.
5. Check your usage
Open Usage logs in the console to see tokens and cost for each request.