AI Agent News/stories/vercel-ai-gateway-adds-provider-headquarters-country-filtering.md

Infrastructure

Vercel AI Gateway adds provider headquarters country filtering

Vercel's AI Gateway can now limit requests to providers headquartered in countries a team selects, using either an allowlist or a denylist. The setting is available team-wide for Pro and Enterprise customers and per request on any plan.

Source: vercel.com/changelog/choose-ai-gateway-providers-by-headquarters-country

Provider headquarters lets teams restrict AI Gateway requests to providers based in chosen countries, which can help with compliance and procurement rules about where AI vendors are located. The filter can be an allowlist of permitted countries or a denylist of blocked ones, and the gateway skips providers in blocked countries and routes to the rest.

Pro and Enterprise customers can apply a headquarters list to every request across their team in AI Gateway settings. Those settings apply automatically as new models and providers are added, and providers with no headquarters country on record never receive requests. On any plan, a developer can set headquarters in the gateway provider options for a single request, using country codes or a ! prefix for a denylist, though a request can only narrow a team list.

If no provider for a model is in an allowed country, the gateway tries fallback models. If none of those are available in allowed countries, or none are configured, the request fails rather than routing to providers elsewhere.

Why it matters if you build agents

Agents that call models through AI Gateway can now be pinned to providers in specific countries without changing model names in code. Teams with residency or procurement requirements can enforce that at the gateway level.

Developers should check that a model has a provider in an allowed country, and configure fallback models, because requests will fail rather than move to other locations.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe