Choose AI Gateway providers by headquarters country
Vercel's AI Gateway sends requests only to providers headquartered in countries a team chooses, and the openai/gpt-oss-120b sample allowlist is US and DE.
In short
Pro and Enterprise teams; any plan per request · openai/gpt-oss-120b sample; US and DE · AI Gateway settings and provider options · Allowlist country codes, or ! codes to block
By Dillip Chowdary • Nov 29, 2026 • Source: Vercel Blog

At a glance
- Who it is for
- Pro and Enterprise teams; any plan per request
- The number
- openai/gpt-oss-120b sample; US and DE
- Available
- AI Gateway settings and provider options
- What to do
- Allowlist country codes, or ! codes to block
- No country
- No headquarters on record means no traffic
- On no match
- Fallbacks, then the request fails
In this post
The changelog is short, so I am counting words and checking that every figure in the draft comes from that text.The regional-control table assigned jobs the changelog does not split that way. I am removing it and lengthening the paragraphs with the facts that are actually in the source.Vercel's AI Gateway sends each request only to providers headquartered in countries the customer chooses, and the sample call for openai/gpt-oss-120b keeps headquarters set to US and DE, according to Vercel Blog's report.
This piece covers allowlists, denylists, the team setting, per-request country codes, and the fallback when no allowed provider remains. Pro and Enterprise customers can apply one headquarters list to every AI Gateway request, and any plan can set headquarters on a single call.
01Headquarters allowlists and denylists
Provider headquarters sends AI Gateway requests only to providers headquartered in the countries a customer chooses. Vercel describes the control as a way to meet compliance and procurement rules about where AI vendors are located, using the headquarters country on record for each provider. The customer configures it as an allowlist of the countries to use, or as a denylist of the countries to block.
AI Gateway skips providers in blocked countries and routes the request to the rest of the list. A model stays accessible as long as it is available in one of its allowed provider locations, so one matching provider keeps that model on the request. An allowlist or a denylist selects AI Gateway providers based on their headquarters location.
Customers can use provider headquarters together with regional hosting and regional inference on the same AI Gateway request. Vercel describes that combination as control over where a request is received, where the model runs, and who runs it. The headquarters setting is the country rule used alongside those two regional controls.
| List | How it is written | Where requests go |
|---|---|---|
| Allowlist | Country codes for the countries to use, as in ['US', 'DE'] | Providers headquartered in the listed countries; the sample keeps the US and Germany |
| Denylist | Every code prefixed with !, as in ['!US'] | Providers in blocked countries are skipped, and the rest of the list is used |
02Team provider headquarters settings
Pro and Enterprise customers can apply their provider headquarters list to every AI Gateway request across their team. They configure the list in AI Gateway settings, and that setting becomes the team headquarters rule. Every AI Gateway request from that team then carries the saved provider headquarters list.
Provider headquarters settings are applied automatically as AI Gateway adds models and providers. A model or provider added later is filtered by the headquarters list already stored for the team in AI Gateway settings. Providers without a headquarters country on record never receive those AI Gateway requests.
03Per-request country code options
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
On any plan, a customer sets headquarters in the gateway provider options to restrict a single request. Country codes in that field are an allowlist of the countries to use. A denylist prefixes every code with !, and the changelog example ['!US'] blocks providers headquartered in the US.
If the team has a list, a request can only narrow it. That narrower headquarters value is passed in the gateway provider options for the one call. The call then stays inside the countries that the team list already contains.
In Vercel's examples, requests are only sent to providers based in the US and Germany. The AI SDK sample imports generateText from 'ai' and uses const { text } = await generateText with model openai/gpt-oss-120b, the prompt "Explain HTTP caching in one sentence.", and providerOptions.gateway.headquarters set to ['US', 'DE'], then console.log prints text. Vercel shows that headquarters option for the API, Chat Completions, the Responses API, and the Messages API.
| Setting | Plans | Where it is set | Scope |
|---|---|---|---|
| Team headquarters list | Pro and Enterprise | AI Gateway settings | Every AI Gateway request across the team, including models and providers added later |
| Single-request headquarters | Any plan | Gateway provider options | One request; if the team has a list, the request can only narrow it |
04Fallback models and failed requests
Both settings filter providers, so a model stays available as long as one of its providers is based in an allowed country. The team list and the per-request headquarters list each apply that same filter before routing. A provider based in the US or Germany meets the sample allowlist written as ['US', 'DE'].
If no provider is available in an allowed country, AI Gateway tries the customer's fallback models under the same country rule. A fallback model is eligible when one of its providers is based in an allowed country. The headquarters filter stays on the fallback pass, as it does on the first provider.
If no fallback models are available in allowed countries, or if no fallback models are configured, the request will fail. It fails without trying to route to providers in other locations, whether those locations were left off an allowlist or placed on a denylist. The allowed headquarters countries remain the limit for both the first provider and any fallback.
05Documentation scope and contributor
The provider headquarters documentation holds the countries supported, the pricing, and the setup details for this headquarters filter. Vercel names those three items in the changelog for this AI Gateway control. Eric Dodds is the contributor listed on the Vercel changelog entry.
The setup the changelog itself spells out is the team list for Pro and Enterprise customers in AI Gateway settings, plus headquarters in gateway provider options on any plan. Allowlist examples use country codes such as ['US', 'DE'] for providers based in the US and Germany. Denylist examples prefix every code with !, as in ['!US'].
Frequently asked questions
What is Vercel AI Gateway provider headquarters?
Provider headquarters sends AI Gateway requests only to providers headquartered in countries the customer chooses. It can be an allowlist of countries to use or a denylist of countries to block. AI Gateway skips providers in blocked countries and routes the request to the rest of the list.
Who can set a provider headquarters list for a whole team?
Pro and Enterprise customers can apply their list to every AI Gateway request across the team. They configure it in AI Gateway settings. The settings apply automatically as AI Gateway adds models and providers.
How do you block a country on a single AI Gateway request?
On any plan, set headquarters in the gateway provider options. Pass country codes for an allowlist, or prefix every code with ! for a denylist, as in ['!US']. If the team already has a list, the request can only narrow it.
What happens if no AI Gateway provider is in an allowed country?
AI Gateway tries the fallback models. If no fallback models are available in allowed countries, or if no fallback models are configured, the request fails and is not sent to providers in other locations. A model stays available when one of its providers is based in an allowed country.
Which model does the headquarters code sample use?
The sample imports generateText from 'ai' and calls it with model openai/gpt-oss-120b. The prompt is "Explain HTTP caching in one sentence." The headquarters value is ['US', 'DE'], so those requests go only to providers based in the US and Germany.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement