Choose AI Gateway providers by headquarters country
Provider headquarters sends your AI Gateway requests only to providers headquartered in countries you choose, so you can meet compliance and procurement rules about where your AI vendors are located.
You can configure provider headquarters to be an allowlist of the countries to use, or a denylist of the countries to block. AI Gateway skips providers in blocked countries and routes requests to the rest of the list, so a model stays accessible as long as it is available in one of its allowed provider locations.
Use provider headquarters with regional hosting and regional inference to control where a request is received, where the model runs, and who runs it.
Set provider headquarters for your team
Pro and Enterprise customers can apply their provider headquarters list to every AI Gateway request across their team. Configure the list in AI Gateway settings.
Provider headquarters settings are applied automatically as AI Gateway adds models and providers. Providers without a headquarters country on record never receive your requests.
Set provider headquarters per request
On any plan, set headquarters in the gateway provider options to restrict a single request. Pass country codes for an allowlist, or prefix every code with ! for a denylist, as in ['!US']. If your team has a list, a request can only narrow it.
In the examples below, requests are only sent to providers based in the US and Germany:
import { generateText } from 'ai';
const { text } = await generateText({ model: 'openai/gpt-oss-120b', prompt: 'Explain HTTP caching in one sentence.', providerOptions: { gateway: { headquarters: ['US', 'DE'], }, },});
console.log(text);
Both settings filter providers, so a model stays available as long as one of its providers is based in an allowed country. If no provider is available in an allowed country, AI Gateway tries your fallback models. If no fallback models are available in allowed countries, or if no fallback models are configured, the request will fail without trying to route to providers in other locations.
Read the provider headquarters documentation for the countries supported, pricing and setup details.
https://vercel.com/changelog/choose-ai-gateway-providers-by-headquarters-countryReposted. Will be removed on request. All rights belong to the original author.
More from this batch
Perplexity and Intelligence
OpenAI 首次公开各代模型在内部代码留出集上的对数困惑度:GPT-3.5 约 0.99、GPT-4 约 0.91,现在已低于 0.8;文中说升级到约 0.76 的模型后,它开始在数学开放问题上出成果,并外推最早 2027 年可能出现预训练算法进步的“雪崩”。他提议各实验室以困…
CrowdStrike bets on network security with $43.9 billion Zscaler deal
每股 Zscaler 换 1.135 股 CrowdStrike,相当于 260.41 美元、溢价 34%;交易完成后 CrowdStrike 股东持有约 84%,预计在 CrowdStrike 2028 财年下半年完成。报道把背景归到 AI 让攻击者更快找到并利用漏洞、企业更想…
Building the digital front door
官方博客说由 Greenoaks 和 Lightspeed 领投,此前所有领投方都在加码;公司称成立两年半多 ARR 超过 4 亿美元,按“结果”收费(解决一个问题、发放一笔贷款等)而不是按 token。客户名单里有 BNY、JPMorganChase、Wells Fargo、H…
蚂蚁集团领投中国具身智能公司 Simplexity Robotics 1 亿美元 Pre-A,估值 16 亿美元(11 月 22 日)
Bloomberg 报道,阿里、腾讯等跟投。说明国内大厂继续押注人形机器人和“物理 AI”赛道。
美国州长协会提议分工监管 AI:联邦审查前沿模型,州政府负责消费者保护(11 月 22 日)
两党州长组成的全国州长协会(NGA)呼吁华盛顿为最强大的 AI 系统制定规则,同时不要剥夺各州保护消费者的权力。这是联邦与州“谁来管 AI”之争的新提案。
《纽约时报》:中国军民研究担心美国 AI 会把核决策时间压缩到 90 秒(11 月 23 日)
报道梳理中国研究文献中的一种担忧:美国用 AI 加快探测与决策后,可能削弱中国的核威慑。是 AI 与核安全议题的重要背景读物。
《华盛顿邮报》:黄仁勋与特朗普关系密切,曾亲自游说争取对华 AI 芯片销售(11 月 23 日)
报道称黄仁勋曾把中国称为每年 500 亿美元的市场,并多次打电话游说。与此同时《纽约时报》报道财长 Bessent 表示,黄仁勋能否回归应取决于对英伟达对华芯片销售的调查结果。英伟达风波仍在发酵。
Bloomberg:美国新芯片出口规则冲击东南亚数据中心热潮(11 月 22 日)
报道称新规让东南亚一些数据中心项目面临烂尾风险,新云厂商被迫替换中国客户。对在东南亚找算力的中国团队影响直接。
Director of National Intelligence Jay Clayton warns Americans of 'bumps in the road' after tech outages
过去一周美国出现 FAA 全国停飞、Outlook 多日故障和摩根大通银行故障。Jay Clayton 在 CNN 说要为系统升级和网络安全投资做准备;官方称 FAA 停飞源于路由器升级、并非网络攻击。微软总裁 Brad Smith 说 AI 让找漏洞更容易,未来几个月还会有故障…
路透:Anthropic IPO 流程很不寻常,限制承销团队人数、用可追踪访问记录的文件平台(11 月 22 日)
报道称因担心泄密,Anthropic 把部分投行团队限制在 4 人,并要求半年内不得为竞争对手提供咨询,一些银行家不满。
伦敦国防仿真软件公司 Agon 融资 7000 万美元,估值 4.5 亿美元(11 月 23 日)
Northzone 领投;这家公司今年早些时候刚带着 3000 万美元走出隐身。国防 AI 仿真继续吸金。
GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
进步在哪:更擅长长链推理(数学、科学推理、长上下文),并加入视觉、把“编程”扩展到视频、游戏、3D 着色器和 FreeCAD 建模。靠什么:不是从零训练循环模型,而是把已预训练的 GLM-5 基座继续训练,让中间 28 层共享权重跑两轮;每轮加逐 token 门控防止激活爆炸,第…