/v1/models endpoint is an OpenAI-compatible interface that returns every model your API key can access. SDKs and clients use this endpoint to auto-discover available models and their supported API formats.
Quick example
Request
No request body (GET).
Response
Response fields
Notes
- Different API keys may see different model lists depending on provider configuration and pricing coverage.
- Omitting the API key returns
401 {"error":{"message":"No token provided"}}.