# Models & pricing

Use the live catalog for model IDs, capabilities, supported options and required available credit.

`GET /v1/models`

## Read the catalog

GET /v1/models is public. Each OpenAI-style model entry has a urouter object containing its name, creator, modalities, options, availability and pricing metadata.

### Text reservation

```text
curl --fail --silent --show-error "https://urouter.net/gateway/v1/models?max_tokens=1024"
```

### Video options

```text
curl --fail --silent --show-error "https://urouter.net/gateway/v1/models?kind=video&duration_seconds=5"
```

## Check the right fields

A catalog listing does not guarantee that a request will be admitted. Check catalog.stale, urouter.availability, the requested modality and the model’s supported options.

- For text, check text_available and text_image_available. Send source_image=true when looking up a credit hold for image input. The endpoint matrix below shows the features exposed by each API.
- For images, use options.sizes. For media, use options.durations_seconds or the published default, options.voices and options.response_formats. Catalog metadata can include options beyond an endpoint’s limits; use only the fields and ranges that endpoint supports.
- Missing required_credit means the catalog cannot provide a usable hold for that selection. Do not treat it as zero.
- When a model has a confirmed retirement, the catalog includes deprecated_at, sunset_at and a replacement ID when available. Plan to change pinned IDs before the retirement date.

## Estimate a text request

Paste a text API payload. Your browser keeps it local and sends only the model ID, output limit and whether images are present. The charge estimate uses about four characters per input token and published rates. Caching, request options and live discounts can change the actual charge.

## Model capabilities by endpoint

Choose a model to see the features exposed by each uRouter text endpoint. Unverified means the live catalog does not confirm the model-level capability.

## Required credit is a hold

urouter.required_credit.usd is the credit that must be available, not a prediction of the final bill. Text output_tokens and media parameters describe the selection used to calculate it.

- Supported query fields: max_tokens, kind, n, size, duration_seconds, characters, source_image, voice and response_format. kind is text, image, video or audio. kind chooses the hold calculation; it does not filter the catalog.
- Discovery may return a supported default when a media option is unavailable. Read required_credit.parameters before sending a request.
- Prices are decimal USD strings with an explicit unit. rates entries with unit: token are per token; multiply by 1,000,000 for a per-million display. live_rates are indicative offers and may already use million_tokens. Always read the unit.
- Respect cache headers and refresh the catalog before an important selection. Final admission checks current prices, limits and available credit.
