IranRouter
Docs contents

Docs

List models

GET /v1/models — the catalogue, scoped to what your key can actually call.

GEThttps://iranrouter.com/v1/models

The catalogue, scoped to what this key can call. Authenticated — both because the list depends on the key and because pricing is not public here.

bash
curl https://iranrouter.com/v1/models -H "Authorization: Bearer ir-..."
json
{
  "object": "list",
  "data": [
    {
      "id": "openai/gpt-4o-mini",
      "object": "model",
      "context_length": 128000,
      "billed_from": "plan"
    }
  ]
}
FieldMeaning
idExactly the string you put in the model field.
billed_from'plan' draws the allowance, 'credit' bills the wallet.

The public catalogue with Rial pricing and benchmarks is at the models page.