# uip agent model

> List LLM models available for the authenticated tenant with `uip agent model list`.

`uip agent model` is a read-only discovery group for the LLM models available to configure on an agent. It registers a single subcommand, `list`. Requires login.

## Synopsis

```
uip agent model list [--all-fields]
```

All invocations honor the [global options](./global-options.md) (`--output`, `--output-filter`, `--log-level`, `--log-file`). Exit codes follow the [standard contract](./exit-codes.md).

## uip agent model list

### Options

| Flag | Purpose |
|---|---|
| `--all-fields` | Return full model objects instead of the trimmed default projection. |

### Examples

```bash
uip agent model list

uip agent model list --all-fields
```

### Data shape (--output json)

**Default projection:**

```json
{
  "Code": "AgentModelList",
  "Data": [
    { "Provider": "OpenAI", "Name": "gpt-4o", "IsByo": false, "IsPreview": false, "MaxTokens": 4096 }
  ]
}
```

**`--all-fields`:**

```json
{
  "Code": "AgentModelList",
  "Data": [
    { "Provider": "OpenAI", "Name": "gpt-4o", "IsByo": false, "IsPreview": false, "IsSuggested": true, "IsDeprecated": false, "MaxTokens": 4096, "MaxInputTokens": 128000 }
  ]
}
```

## Related

- [`uip agent init --model`](./uip-agent-init.md) — the flag this list feeds.

## See also

- [Authentication](./authentication.md), [Global options](./global-options.md), [Exit codes](./exit-codes.md).
