/openrouter/rankings/models

POST /api/openrouter/rankings/models

Price: 1 credit

Rank models by tokens routed through OpenRouter

How to use it

Real consumption, not popularity votes: rows arrive already ordered by tokens routed in the chosen window, so position in the list is the rank. Rows are keyed by dated version alias and billing variant, so one product name can hold several rows; join on `model_version_alias` against a model's `version_alias`, not against its `alias`.

Parameters

Request body

Response

Errors

Response headers