LiteLLM icon

LiteLLM

Interact with LiteLLM Gateway API

Actions8

Model → List Models

AI-generated

Summary

Fetches the models available from the configured LiteLLM gateway. The operation sends an authenticated GET request to /models and returns each model as a separate n8n item.

Inputs

None.

Output shape

A list of items, one per model returned by the gateway.

Each item's JSON contains the corresponding model object. Returns an empty list if the response has no data array or the array is empty. Requires LiteLLM API credentials configured on the node.

Links

Discussion