List available models
Discover model IDs available to a key and compare them with the public catalog.
Discover model IDs available to a key and compare them with the public catalog.
Set IROUTER_API_KEY as described in the API overview. This query discovers visible models without requesting text generation.
curl --fail-with-body 'https://gateway.irouter.io/v1/models' \
-H "Authorization: Bearer $IROUTER_API_KEY"An OpenAI-style model list contains a data array. Each entry's id is the model identifier used in requests. Select an ID supporting the intended protocol and replace <model-id> in examples. Do not invent prefixes, dates, or version suffixes from display names.
Discovery is not a price table and does not prove optional features such as tools are enabled. Confirm context limits, capabilities, and prices in the catalog.
For an empty list, check the key's line, model restrictions, and catalog configuration. For 401, inspect the credential; for 403, inspect permissions and source restrictions. If a listed model fails during inference, verify the operation and parameters, then provide the time and complete model ID to support.
Continue with Chat Completions or the relevant protocol guide.