Choose AI Gateway providers by headquarters country
- Source
- vercel.com
- Author
- Rohan Taneja
- Date

Context
Vercel's AI Gateway, which routes an 's AI requests to the providers that host each model, can now send requests only to providers headquartered in countries the customer chooses, according to its changelog. Vercel pitches it for compliance and procurement rules about where AI vendors are located. The list can be an of countries to use or a denylist of countries to block, and AI Gateway skips providers in blocked countries while routing to the rest, so a model stays available as long as one of its providers is in an allowed country.
Pro and Enterprise customers can set one list for every AI Gateway request across their team, and it applies automatically as new models and providers are added. Providers with no headquarters country on never receive those requests. On any plan, a developer can restrict a single request by passing country codes in the gateway provider options, or prefixing each code with an exclamation mark to block it. A per-request setting can only narrow a team list, never widen it.
If no provider is available in an allowed country, AI Gateway tries the customer's fallback models. If none of those are available in allowed countries either, or none are configured, the request fails instead of going to a provider somewhere else. Vercel says the setting works alongside regional hosting and regional inference, which cover where a request is received and where the model runs, while headquarters covers who runs it. The changelog does not address what a provider does with a request after receiving it. Dragos's research found prompts sent to U.S.-based providers reaching a Chinese , so the company that receives a request is not always the only one that sees it.
- On Pro and Enterprise, a team-wide headquarters list sets the outer bound: a per-request headquarters setting can only narrow it, so a single call cannot reach countries the team excluded.
- Plain country codes such as ['US', 'DE'] in the gateway provider options form an allowlist, while prefixing every code with ! (as in ['!US']) turns the list into a denylist.
- If no provider of a model is headquartered in an allowed country, AI Gateway tries the configured fallback models; when none qualify, the request fails instead of routing to providers in other countries.
- Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
- tool permissions — The rules governing which tools an agent may call and which need confirmation — the boundary between a mistake and an incident.
- Record — One unit of data in a file or table, such as one supplier's quote; distinct from a line of text.
- AI lab — An organization or team that researches and develops AI, including models.
Checking sign-in…
Loading comments…






