[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Feedback](/c/feedback/8)

# Feature Request: Multiple AI Gateway Keys per Environment

77 views · 0 likes · 1 post


Tadashi Shigeoka (@shige) · 2025-08-27

Currently, AI Gateway only supports a single BYOK (Bring Your Own Key) per team. This limitation means we cannot use different API keys for different environments, such as Preview and Production.

It would be very helpful if AI Gateway supported environment-specific keys—similar to how [Vercel Environment Variables](https://vercel.com/docs/environment-variables) work. This would allow teams to manage separate API keys per environment while still benefiting from AI Gateway’s monitoring and usage features.

References:

* [AI Gateway Documentation](https://vercel.com/docs/ai-gateway)

* [Environment Variables Documentation](https://vercel.com/docs/environment-variables)