Retrieve the list of available models
/v1/models endpoint returns a list of models available to your API key. The response is filtered based on your API key’s allowed_models configuration if present.
This endpoint is useful for:
Bearer YOUR_API_KEY"list".model parameter for completions.Examples: "gpt-4.1", "gpt-5.2", "o3-pro""model"."codex-lb"."GPT-4.1 Turbo", "O3 Pro"128000, 200000"text": Text input"image": Image input"audio": Audio input"video": Video inputeffort (string): Effort level identifier (e.g., "low", "medium", "high")description (string): Description of the reasoning level"medium""normal", "concise""1.2.0"allowed_models configured, the response will only include those models:
API Key with restrictions:
allowed_models list will not appear in the response.
allowed_models restrictions (or allowed_models is null/empty), all available models are returned.
/v1/models endpoint is subject to the same rate limiting as other API endpoints. Each request counts toward your API key’s request quota.
/v1/models format with the following additions:
Standard OpenAI fields:
id, object, created, owned_bymetadata object with comprehensive model capabilities