Overview
Model information endpointsAvailable Operations
- Get - Get a model by its slug
- List - List all models and their properties
- Count - Get total count of available models
- ListForUser - List models filtered by user provider preferences, privacy settings, and guardrails
Get
Returns full details for a single model identified by its author and slug (e.g. openai/gpt-4). Supports variant suffixes (e.g. openai/gpt-4:free) and resolves known slug aliases.Example Usage
Parameters
Response
*components.ModelResponse, errorErrors
List
List all models and their propertiesExample Usage
Parameters
Response
*operations.GetModelsResponse, errorErrors
Count
Get total count of available modelsExample Usage
Parameters
Response
*components.ModelsCountResponse, errorErrors
ListForUser
List models filtered by user provider preferences, privacy settings, and guardrails. Returns text-output models by default; passoutput_modalities (e.g. image,audio,embeddings or all) to include other modalities. If requesting through a regional hostname, the results will be filtered to models that satisfy in-region routing for that region.