GET /v1/models to retrieve the models available to your current API key.
Response formats
- By default, the response uses the OpenAI-compatible model-list format.
- A request containing
anthropic-versionselects the Anthropic-compatible format. - A request containing
x-goog-api-keyselects the Gemini-compatible format.
data[].id value in subsequent requests. Do not replace it with a translated display name, a plan name, or a supplier name.
Availability depends on the current key and its group. Check the model’s compatible endpoints in Model Square; appearing in the list does not imply support for all API formats.
Continue with Chat Completions, Responses, or Messages.