Description
Problem
Vercel AI Gateway currently routes all OpenAI requests to api.openai.com, but OpenAI now offers EU data residency via eu.api.openai.com. There's no way to configure AI Gateway to use the EU endpoint, forcing enterprises to choose between Gateway features or GDPR compliance.
Use Case
European enterprise customers require EU data residency for regulatory compliance. This is now a non-negotiable requirement for AI vendor selection in healthcare, finance, and public sector organizations.
Proposed Solution
Option 1: BYOK Configuration with Region Selection
// In Gateway BYOK configuration UI:
{
provider: "openai",
apiKey: "sk-...",
region: "eu" // As we can't set baseURL as we would not hit AI gateway
}
Option 2: Provider Options Extension
// In code via providerOptions:
const result = streamText({
model: 'openai/gpt-4o',
prompt: 'Hello',
providerOptions: {
openai: {
region: 'eu'
},
}
});
Impact
- Blocking: Enterprise adoption in Europe
- Competitive: First multi-provider gateway to support OpenAI EU endpoints
- Market timing: OpenAI launched EU residency Feb 2025; demand is immediate
References
This would enable European enterprises to use AI Gateway while maintaining regulatory compliance.
AI SDK Version
latest
Code of Conduct
Description
Problem
Vercel AI Gateway currently routes all OpenAI requests to
api.openai.com, but OpenAI now offers EU data residency viaeu.api.openai.com. There's no way to configure AI Gateway to use the EU endpoint, forcing enterprises to choose between Gateway features or GDPR compliance.Use Case
European enterprise customers require EU data residency for regulatory compliance. This is now a non-negotiable requirement for AI vendor selection in healthcare, finance, and public sector organizations.
Proposed Solution
Option 1: BYOK Configuration with Region Selection
Option 2: Provider Options Extension
Impact
References
This would enable European enterprises to use AI Gateway while maintaining regulatory compliance.
AI SDK Version
latest
Code of Conduct