shipfeedAI news, curated daily

23:05:32 CET
20 MAY23:05:32shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

Customize timeouts for faster automatic failover on Vercel AI Gateway

Vercel AI Gateway adds configurable per-inference provider timeouts in beta, enabling faster automatic failover to the next available provider when a response does not begin within the set limit.

Mar 5 · · primary fetch1 sourceupdated Mar 5 ·

AI Gateway now supports per-inference timeouts for faster failover than the provider default. If a provider doesn't start responding within your configured timeout, AI Gateway aborts the request and falls back to the next available provider.provider Provider timeouts are available in beta for BYOK (Bring Your Own Key) credentials only, with support for system provider timeouts coming soon. Note that some providers don't support stream cancellation, so you may still be charged for timed-out requests depending on the provider.

Basic usage Set timeouts per provider in milliseconds using in .providerTimeoutsproviderOptions.gateway Advanced usage with multiple providers and failover Use with to control both the provider sequence and failover speed.order For more information, read the custom provider timeouts .documentation Read more

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comCustomize timeouts for faster automatic failover on Vercel AI Gatewayprimary