Choose AI Gateway providers by headquarters country
Vercel’s AI Gateway now lets users restrict AI model providers by headquarters country to meet compliance and procurement rules, with allowlist or denylist options.
Vercel has introduced a new AI Gateway feature that allows users to filter AI model providers based on their headquarters country. This enables organizations to comply with procurement policies or regulatory requirements that mandate where their AI vendors must be located. Users can configure either an allowlist of permitted countries or a denylist of blocked ones, ensuring requests are only routed to providers meeting their geographic criteria.
The feature integrates with regional hosting and inference settings, giving users control over where a request is received, where the model runs, and which provider operates it. Pro and Enterprise customers can apply their country-based provider restrictions across all team requests by configuring the settings in AI Gateway. The restrictions are automatically enforced as new models and providers are added, streamlining compliance without manual updates.
For teams on any plan, providers without a recorded headquarters country are excluded from receiving requests. Users can apply restrictions to individual requests by specifying country codes in the gateway provider options, using a denylist prefix such as ['!US'] to block providers based in the United States. If a team has a predefined list, individual requests can only narrow—not expand—the allowed or blocked countries.
If no providers in an allowed country are available for a request, AI Gateway will attempt to use fallback models that meet the geographic criteria. If no fallback models are available or configured, the request will fail without attempting to route to providers in other locations. Users are directed to the provider headquarters documentation for details on supported countries, pricing, and setup instructions.