The model catalog
Hundreds of models from many providers behind one API. How they're named, who serves them and how you list them.
Intermediate Mòdul 03
The model catalog and its slugs, how to pick one, define fallbacks and control which provider serves the request.
Hundreds of models from many providers behind one API. How they're named, who serves them and how you list them.
The "models" array defines an ordered fallback chain. If the first fails, OpenRouter tries the next. Resilience with no extra code.
The "provider" object controls which backend serves a model — order, fallbacks, required params, price/throughput sorting and data policy.