cd /news/ai-infrastructure/ai-gateway-adds-confidence-based-dec… · home › topics › ai-infrastructure › article
[ARTICLE · art-146232] src=vercel.com ↗ pub= topic=ai-infrastructure verified=true sentiment=· neutral

AI Gateway adds confidence-based decision fallbacks

Vercel's AI Gateway added confidence-based decision fallbacks in beta, letting developers escalate a decision request to a fallback model when the primary model's answer trips a confidence condition they set. Conditions can be combined and cover Choice and Score questions, while Boolean questions escalate on a probability range; developers configure the fallback by adding one conditional object to providerOptions.gateway.models, and a triggered fallback bills both stages because it runs a second decision.

by read1 min views2 publishedOct 6, 2026

AI Gateway can now escalate a decision request to a fallback model when the primary model's answer trips a confidence condition you set.

Conditions can be combined, so an escalation can depend on more than one signal. The plain model names you already list in models keep catching outright errors, so existing fallbacks are unaffected. Confidence conditions cover Choice and Score questions. Boolean questions escalate on a probability range instead.

Set the fallback by adding one conditional object to providerOptions.gateway.models. Requests without it keep their existing behavior.

Leave out question and the condition checks every question of the matching type, so { "confidenceBelow": 0.6 } escalates when any Choice or Score answer falls below 0.6.

Because a triggered fallback runs a second decision, it bills both stages.

Decision fallbacks are in beta. Learn more in the decision fallbacks documentation.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @vercel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ai-gateway-adds-conf…] indexed:0 read:1min 2026-10-06 · —