# list_models

URL: https://codepanel.ai/docs/mcp-server/list_models

The CodePanel MCP tool that lists the models your panel members can use, with prices per million tokens, typical call cost and cost tiers.

`list_models` lists the models your panel members can use, each with its price per million tokens, what a typical reviewer call costs and the cost tiers that would pick it. It is the only valid source for the `provider` and `modelId` that `add_reviewer`, `update_panel_member` and `set_orchestrator` accept. It needs only the `read` scope.

## When to call it

- **Before you choose a model yourself.** A `modelId` that is not listed here is refused when you save it. The list is built from what each provider's own endpoint reported for your key, so it cannot hold a retired or mistyped id.
- **To compare cost.** `typicalCallUsd` prices one reviewer call of a typical size, so two models compare on the same footing.
- **To see which model a tier would pick.** `tiers` shows which of `economy`, `balanced` and `frontier` a model fills for its provider.

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |


It only reads: the server marks it `readOnlyHint: true`, so clients that ask before a write can run it without asking.

The tool takes no inputs.

## What it returns

An array with one entry per model, listed by provider. Each entry has:

- `provider`, `providerName` and `id`. Pass `provider` and `id` as `provider` and `modelId` to the panel tools. `displayName` is present when the provider reports one.
- `source`: `own_key` when your own valid key reaches the model, or `credits` when only CodePanel's key does and your credits would pay. The credits models come after the own-key ones, and only for providers you have no key for.
- `inputUsdPerMTok` and `outputUsdPerMTok`: list price per million tokens. Both are `null` for a model CodePanel has no price for. Such a model runs on your own key, counts as $0 toward spending limits and cannot run on credits, so `typicalCallUsd` is `null` too.
- `typicalCallUsd`: the cost of one reviewer call of the median size seen in production, 26,000 tokens in and 1,900 out. List price, without prompt-cache discounts.
- `tiers`: the cost tiers that pick this model for its provider. An empty array means no tier would pick it, but you can still choose it by hand. A model can fill several tiers when its provider has few models.

The tier labels are recommendations, not claims about what a model can do. [Choosing models](/docs/choosing-models#cost-tiers) says how each tier picks.

## Examples

These responses come from a test account on a local backend. The prices are seed values, not real prices.

```json title="Call"
{}
```

The real result held nine models. This copy keeps four: a frontier model, an economy one, one that fills all three tiers and one no tier picks.

```json title="Result (trimmed)"
[
  {
    "id": "claude-opus-5-5",
    "inputUsdPerMTok": 4,
    "outputUsdPerMTok": 20,
    "provider": "anthropic",
    "providerName": "Anthropic",
    "source": "own_key",
    "tiers": ["frontier"],
    "typicalCallUsd": 0.142
  },
  {
    "id": "claude-haiku-5-5",
    "inputUsdPerMTok": 0.1,
    "outputUsdPerMTok": 0.5,
    "provider": "anthropic",
    "providerName": "Anthropic",
    "source": "own_key",
    "tiers": ["economy"],
    "typicalCallUsd": 0.00355
  },
  {
    "id": "gemini-3.8-flash",
    "inputUsdPerMTok": 0.75,
    "outputUsdPerMTok": 3.75,
    "provider": "google",
    "providerName": "Google Gemini",
    "source": "own_key",
    "tiers": ["economy", "balanced", "frontier"],
    "typicalCallUsd": 0.026625
  },
  {
    "id": "grok-4.7",
    "inputUsdPerMTok": 2,
    "outputUsdPerMTok": 6,
    "provider": "xai",
    "providerName": "xAI (Grok)",
    "source": "own_key",
    "tiers": [],
    "typicalCallUsd": 0.0634
  }
]
```

## The same step without MCP

| Surface | Form |
| --- | --- |
| CLI | `codepanel models` ([CLI](/docs/cli#panels-models-and-keys)) |
| HTTP API | [`GET /models`](/docs/api#get-models) |

## What the server tells your agent

The description your agent reads when it lists the tools:

> Models the user's provider keys can reach, with prices and explicit tier rankings. Null prices mean cost unknown; spending limits refuse unpriced calls. Tier labels are recommendations, not model capabilities. Panel members can only use models listed here.

## Related

- [`get_key_status`](/docs/mcp-server/get_key_status): why a provider's models are missing from this list.
- [`add_reviewer`](/docs/mcp-server/add_reviewer) and [`set_orchestrator`](/docs/mcp-server/set_orchestrator): take a model from here.
- [`get_panel_recommendation`](/docs/mcp-server/get_panel_recommendation): picks models for you from a cost and quality goal.
- [Choosing models](/docs/choosing-models): cost tiers, unpriced models and cost per round.
- [MCP server](/docs/mcp-server): install, sign-in and every other tool.
