# List models (/docs/api/models)

> For AI agents, the [documentation index](https://bitrouter.ai/llms.txt) lists all pages. Append .md to a documentation URL to read its Markdown.

`GET /v1/models`

Every model you can call, with its context window, modalities and current per-token prices. No key needed. Filter with the query parameters.

## Authentication

Public.

Base URL: `https://api.spareinference.ai`

## Parameters

* `provider` (query): Filter by provider name (exact match against the model's `providers` array).
* `id` (query): Filter by model ID (case-insensitive substring match).
* `input_modality` (query): Filter by supported input modality (e.g. `text`, `image`).
* `output_modality` (query): Filter by supported output modality.

## Responses

* `200` List of models. (application/json)

[Full OpenAPI schema](https://bitrouter.ai/openapi.json)