Samples
List all models
Get all available OpenAI models: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 createdowned_by: The organization that owns the model
Related functions
openai_list_models_with_raw_response(): get the full API responseopenai_chat_complete(): use models for chat completionopenai_embed(): use models for embeddings