Endpoints

Every route the API serves.

MethodPathWhat it does
GET/v1/modelsEvery model your key can call, with its id, context and price per 1M tokens. Needs your key.
POST/v1/chat/completionsChat, OpenAI format. Streaming, tool calls, JSON output and images.
POST/v1/responsesResponses format (Codex).
POST/v1/messagesChat, Anthropic format (Claude Code).

Every reply carries usage with the exact input and output tokens you are charged for.