Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion skills/openrouter-models/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Returns for each provider:

## API Response Shapes

`GET /api/v1/models` returns `{ data: Model[] }`. For full field reference, see the [Models reference](https://openrouter.ai/docs/guides/overview/models).
`GET /api/v1/models` returns `{ data: Model[] }`. Tilde-latest alias rows may include `alias_target: { slug, name }`, where `slug` is the routable ID of the concrete model currently targeted by the alias. For full field reference, see the [Models reference](https://openrouter.ai/docs/guides/overview/models).

**Query parameters** (all optional):

Expand All @@ -143,6 +143,7 @@ Returns for each provider:
- To check modalities, use `model.architecture.input_modalities` / `model.architecture.output_modalities`.
- Pricing values are per-token in USD as strings — multiply by 1,000,000 for per-million-token pricing.
- `knowledge_cutoff` and `expiration_date` are date strings or null.
- `alias_target`, when present on a tilde-latest alias, identifies the concrete target; its `slug` matches that target model row's `id`.
- `links.details` points to the per-provider endpoints API for that model. `GET /api/v1/models/{author}/{slug}/endpoints` returns `{ data: { id, name, endpoints: Endpoint[] } }`.
- Endpoint `status`: `0` = operational, non-zero = degraded.
- Endpoint `latency_last_30m` / `throughput_last_30m`: percentile objects with `p50`, `p75`, `p90`, `p99`.
Expand Down