---
title: "List Provider Models"
method: GET
path: "/api/user/providers/{provider}/models"
---

# List Provider Models

`GET /api/user/providers/{provider}/models`

List available models for a provider.

``api_base`` is honored only for a local provider. any-llm resolves a missing
``api_key`` from the server's environment, so honoring a caller-supplied base
for a hosted provider would send that provider's key to whatever host the
caller named. Local providers are keyless, so there is nothing to send, and
they are the only case the settings UI uses the field for: the API-base input
and its "Fetch Models" button render only when the selected provider is
local, and a hosted provider is always listed with no base.

This endpoint is gated by ``get_current_user`` alone, which is every user in
a single-tenant deployment but every *tenant* under a multi-tenant auth
plugin, so the parameter must not be able to redirect a credentialed call.

## Path parameters

- `provider` string, required

## Query parameters

- `api_base` string, nullable — Endpoint to enumerate. Local providers only; a hosted provider always uses the configured LLM_API_BASE.

## Response `200`

Successful Response

- string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/versions/327e305858ac/schema)
