What happens when your primary LLM provider goes down? Watch AI Gateway automatically route to the fallback. Zero downtime for your users.
A different problem: what if the primary is up, but one user is hammering it? Watch AI Gateway block abusive traffic per user so your bill isn't held hostage by a single bad actor — without a code change.
metadata.userId
at 3 requests / minute. Under the limit → 70B model responds normally. Over the limit → gateway blocks the request before it reaches the provider (zero LLM cost incurred).
The application code just calls dynamic/cost-tiered
as if it were a single model name. The routing and blocking live in the platform.