ciunkos.com/Glossary

Production and cost

Model routing and fallback

Sending each request to the model that fits it, and to another one when the first fails.

Cheap, fast models handle simple steps; strong models handle hard ones. A fallback chain covers outages, rate limits and refusals. Models change often, so the model name should be configuration, not code scattered across the app.

Share: LinkedIn · X ·

Related terms

  • Evals: A repeatable test set that scores an AI feature, so changes can be measured instead of guessed.
  • AI gateway: A proxy between your app and model providers that adds logging, caching, limits, billing and fallbacks.
  • Tokens: The pieces of text models read and write, and the unit you pay for.

← All terms

Need this built, fixed or reviewed?

I build and rescue products with AI coding agents under rules: AI features in production, honest estimates, email that gets delivered.

Przemysław Zalewski

How I work

Przemysław Zalewski · 15+ years shipping software

“a true bias for action” client CTO, public LinkedIn recommendation

All principles and risk levels →