> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/more-in-this-section-9/models.md).

# Models

REST — Models endpoints.

| Method | Path                          | Description                              |
| ------ | ----------------------------- | ---------------------------------------- |
| GET    | `/api/v1/models`              | List models                              |
| GET    | `/api/v1/models/{id}`         | Get model by ID                          |
| GET    | `/api/v1/models/by-key/{key}` | Get model by key (e.g., `openai/gpt-4o`) |

## Query

`?provider=openai&capability=reasoning&licensing=open`

## Response

```json
{"items": [{"id": "...", "key": "openai/gpt-4o", "name": "...",...}], "next_cursor": null}
```

## See also

* [SDK: models](/more-in-this-section-9/models-benchmarks.md)
