Getting started
Mint a key, point your SDK at api.stav.ai, ship your first completion in five minutes.
Loading the catalogue…
The Stav API speaks both OpenAI and Anthropic contracts. Point the SDK you already use at api.stav.ai, send model="auto", and every response tells you the model, the provider and the jurisdiction that served it.
Mint a key, point your SDK at api.stav.ai, ship your first completion in five minutes.
The sovereignty ladder, the Smart Router, reasoning, tools and structured output, credits and billing — the mental model.
Drop-in migrations from the OpenAI and Anthropic SDKs, and enforcing a sovereignty floor end to end.
The parameter contract, every response header, and the full error catalogue — the detail behind /docs/api.
Every endpoint is documented with schemas, code snippets, and a Try-it panel at /docs/api. The raw OpenAPI 3.1 spec downloads at /docs/api/spec for Postman, Insomnia, or openapi-generator.