# List models in OpenAI format

```http
GET /ai/v1/models
```

List models in OpenAI format.

## Parameters

| Name                            | In     | Required | Description |
| ------------------------------- | ------ | -------- | ----------- |
| `limit`                         | query  |          |             |
| `after_id`                      | query  |          |             |
| `before_id`                     | query  |          |             |
| `x-veryfront-project-reference` | header |          |             |
| `x-veryfront-project-id`        | header |          |             |
| `x-veryfront-project-slug`      | header |          |             |
| `anthropic-version`             | header |          |             |

## Responses

| Status | Description                                                                                                                                                                                                                   |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | Model list from the Veryfront catalog, never forwarded to a vendor. OpenAI's list shape by default; Anthropic's list shape, error envelope and `after_id` / `before_id` cursors when the request carries `anthropic-version`. |
| 400    | No project selector, or a selector that names no usable project                                                                                                                                                               |
| 401    | Unauthorized                                                                                                                                                                                                                  |
| 403    | Project access denied, or a credential restricted to template inference                                                                                                                                                       |
| 500    | Gateway error                                                                                                                                                                                                                 |
| 503    | Authentication or the project inference policy is temporarily unavailable                                                                                                                                                     |
