Drop-in for the OpenAI SDK

Every frontier model,
one magic key.

GPT, Claude, Gemini, Grok, DeepSeek and Qwen answer to the same endpoint. See every price up front, top up when you need, and let routing do the trick.

12
Models in the catalog
7
Model providers

Latest flagships

The newest releases from each lab, at official list prices

Browse the catalog →
Keep your code, swap the model

Point your existing SDK at magicai.lol/v1 and change the model name. No new client library to learn.

Routed for speed

Each request goes straight to the upstream provider that serves the model, with retries handled for you.

Prices you can read

Per-token rates are listed next to every model. Add credit when you need it and spend it on any model.

Quickstart
curl https://magicai.lol/v1/chat/completions \
  -H "Authorization: Bearer $MAGICAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6-luna","messages":[{"role":"user","content":"Hello!"}]}'