Base URL
Authentication
Pass your app’s API key as a Bearer token:Compatibility promise
POST /v1/chat/completions accepts the OpenAI Chat Completions request shape (a curated
subset — streaming and non-streaming) and proxies to our curated model list. If you use an
OpenAI SDK, you only change baseURL and apiKey.
Response headers
Versioning
The current API version is date-based and returned in theTokenGift-Version header.
There is only one version today; when a breaking change ships, you’ll be able to pin a
version per request with a TokenGift-Version request header, and existing integrations
keep their behavior.
Roadmap
A management API (balances, gift issuance, usage reports) withIdempotency-Key support
and cursor pagination is in active development — along with official TypeScript and
Python SDKs and an MCP server for AI agents.
