Skip to main content
Every request needs a token from the console.
POST /v1/messages (Anthropic format) accepts both headers; both were tested:

Base URL per SDK

Token settings

Each token belongs to one tier. In the console you can also give each token a spending limit, an expiry date and a list of allowed models. Use separate tokens for separate apps so you can revoke one without touching the others. A missing or wrong token returns HTTP 401.