Skip to main content
Retrieve a list of all models available from OpenAI, including their creation dates and ownership information. This is useful for discovering available models and verifying access to specific models.

Samples

List all models

Get all available OpenAI models:
Returns:

Find specific models

Search for models matching a pattern:

Check model availability

Verify a specific model is available:

Arguments

Returns

TABLE(id TEXT, created TIMESTAMPTZ, owned_by TEXT): A table with one row per model containing:
  • id: The model identifier (e.g., gpt-4o-mini)
  • created: When the model was created
  • owned_by: The organization that owns the model