API reference
The API reference lists each endpoint's address, authentication, request fields, response example and error codes, by protocol:
- Overview: base URLs, authentication, error format and rate limits.
- OpenAI-compatible API: Chat Completions, Responses, Embeddings and the model list.
- Anthropic-compatible API: Messages and token counting.
- Gemini-compatible API: generateContent, streaming, token counting and embeddings.
- Models API: the OpenAI format and the platform format.