LLM API gateway

One key for every frontier model.

OpenAI- and Anthropic-compatible endpoints behind a single key. Transparent per-token billing and cache-aware pricing.

POST /v1/messages
curl https://ai-api.cloud/v1/messages \
  -H "Authorization: Bearer sk-aiapi-…" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-4-5",
    "max_tokens": 1024,
    "messages": [{"role":"user","content":"Hi"}]
  }'

Two native protocols

Call /v1/chat/completions or native Anthropic /v1/messages with the same key and balance.

Transparent ledger

Every request records the model, cache read/write tokens and the exact charge. No silent fallbacks.