Getting started

Quickstart

Three steps: get a key, put money behind it, send a request. The whole thing takes about a minute.

1. Create an API key

Sign in, open API keys in the dashboard, and create one. The secret is shown exactly once — we store only a hash of it, so if you lose it there is no way for us to show it again and you will need to issue a new one.

Keys look like sk-oa_ followed by a random suffix. You can scope a key to specific models or give it a monthly budget at creation time, which is worth doing for anything you deploy.

2. Fund the wallet

The gateway is prepaid: a request with no balance behind it is refused with 402 before it reaches a model. Top up from Billing. The minimum crypto top-up is $1.

3. Send a request

Export the key so the examples below can pick it up:

export OVERAGENT_API_KEY=sk-oa_...
curl https://api.overagent.cc/v1/chat/completions \
  -H "Authorization: Bearer $OVERAGENT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{"role": "user", "content": "Say hello in five words."}],
    "max_tokens": 64
  }'

What you get back

A standard OpenAI completion object. The usage block reports the tokens the request actually consumed, and that is the same number the wallet settles against — so you can reconcile your own logs against the invoice without guessing.

response
{
  "id": "chatcmpl_...",
  "object": "chat.completion",
  "model": "claude-sonnet-5",
  "choices": [
    {
      "index": 0,
      "message": { "role": "assistant", "content": "Hello, good to meet you." },
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 14, "completion_tokens": 7, "total_tokens": 21 }
}

Next

Read Authentication for the header differences between OpenAI and Anthropic clients, or jump to Claude Code and Codex if you want a coding agent pointed at the gateway.