Skip to content

Vercel AI Gateway can now restrict providers by headquarters country

A new allowlist or denylist lets teams route AI Gateway requests only to providers headquartered in approved countries, for procurement and data-residency rules.

Source: Vercel

Vercel’s AI Gateway can now restrict which providers a request is allowed to reach based on where the provider is headquartered, not just by model or price. The feature, announced today, lets teams set a country allowlist or denylist so requests skip any provider outside it automatically.

Team-wide lists, on Pro and Enterprise plans, apply across every AI Gateway request. Anyone on any plan can set the same restriction for a single call by passing ISO 3166-1 country codes into providerOptions.gateway.headquarters, either as an allowlist or a denylist with a ! prefix:

providerOptions: {
  gateway: { headquarters: ['US', 'DE'] }
}

A provider’s headquarters is its parent company’s country, so a subsidiary inherits the parent’s location, and providers with no headquarters on record are excluded outright. Per-request settings can only narrow a team-wide list, never widen it, and a request fails if no allowed provider has the model and no fallback is configured.

Why it matters: procurement and data-residency rules increasingly specify not just where data is processed but which company’s jurisdiction it falls under. This moves that check out of vendor contracts and into infrastructure config, enforced on every request instead of audited after the fact.

Share

Related reading

More from The Wire

All briefs