# API reference

https://modelportal.ai/docs/api-reference

The API reference lists each endpoint's address, authentication, request fields, response example and error codes, by protocol:

- [Overview](/docs/api-overview): base URLs, authentication, error format and rate limits.
- [OpenAI-compatible API](/docs/api-openai): Chat Completions, Responses, Embeddings and the model list.
- [Anthropic-compatible API](/docs/api-anthropic): Messages and token counting.
- [Gemini-compatible API](/docs/api-gemini): generateContent, streaming, token counting and embeddings.
- [Models API](/docs/api-models): the OpenAI format and the platform format.
