Skip to main content
List all available models with their details.
External DocumentationTo learn more, visit the LiteLLM documentation.

Parameters

ParameterDescription
Fallback TypeSelect the fallback type:

* general - alternative models.
* context_window - larger context models.
* content_policy - different safety policies.

Defaults to general when Include Metadata is set to True.
Include MetadataSelect to include model metadata.
Include Model Access GroupsSelect to include model access groups.
Only Model Access GroupsSelect to return model access groups only.
Return Wildcard RoutesSelect to return wildcard routes.
Team IDThe ID of the team to filter models by.

Example Output

{
	"data": [
		{
			"id": "gpt-4o-mini",
			"object": "model",
			"created": 1677610602,
			"owned_by": "openai",
			"metadata": {
				"fallbacks": []
			}
		}
	],
	"object": "list"
}

Workflow Library Example

List Models with Litellm and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop