megachangelog
Feature

AI Gateway adds confidence-based decision fallbacks

AI Gateway now supports escalating requests to a fallback model when the primary model's confidence falls below a threshold you set. Configure confidence conditions using providerOptions.gateway.models to automatically route low-confidence responses to secondary models, with support for Choice, Score, and Boolean questions.

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

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

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

Leave out and the condition checks every question of the matching type, so escalates when any Choice or Score answer falls below 0.6.question{ "confidenceBelow": 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

Read more

ai-gatewayfeaturefallbackdecisionsbeta

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →