Model Hub
Tell developers what models are available on the proxy.
This feature is available in v1.74.3-stable and above.
Overview​
Admin can select models to expose on public model hub -> Users can go to the public url (/ui/model_hub_table) and see available models.
How to use​
1. Go to the Admin UI​
Navigate to the Model Hub page in the Admin UI (PROXY_BASE_URL/ui/?login=success&page=model-hub-table)
2. Select the models you want to expose​
Click on Make Public and select the models you want to expose.
3. Confirm the changes​
4. Success!​
Go to the public url (PROXY_BASE_URL/ui/model_hub_table) and see available models.
API Endpoints​
LiteLLM also exposes REST endpoints:
GET /public/model_hub– returns the list of public model groups. Requires a valid user API key.GET /public/model_hub/info– returns metadata (docs title, version, useful links) for the public model hub.GET /public/providers– returns a sorted list of all providers supported by LiteLLM. No authentication required.
Example:
curl -s PROXY_BASE_URL/public/providers | jq