Amy Egan I wasn't able to repro, but maybe I'm looking in the wrong place. Can you show me where you see standard tier pricing for these requests? AI Gateway supports OpenAI tiers through the service_tier param. Looks like you're using it right. vercel.com/docs/ai-gateway/capabilities/service-tiers
Mo091336 4719 Hi Amy, Fortunately, the issue with the GPT-5.5 Flex and Priority tiers was resolved just a few days after I wrote my post, before you had a chance to reply. It appears that Vercel simply had not updated its billing system to reflect the new pricing structure, since the provider was returning responses with the correct service tier. However, the same issue reappeared with the release of the GPT-5.6 series, apparently for exactly the same reason. This time, there also seems to be an issue with the updated caching system. OpenAI has introduced both implicit and explicit prompt caching, but Verce
Mo091336 4719 Update: Now It works. Thank you Amy.
Amy Egan If you can tell me more about the problem, I’d be happy to connect with the engineering team to get you the help you need or share your feedback!
Erik Sandquist Well I had a problem where AI gateway selects another provider than the BYOK option, but it doesn't disclose a reason for it. The status is ok for the provider, tried testing the key again and it worked and have balance at the provider but still chooses another provider which massively drained my Vercel balance since without BYOK i get charged about 5-6x more.
Pauline P. Narvas Are you talking about the AI SDK? Currently, the @ai-sdk/azure provider is specifically designed for Azure OpenAI deployments. While Azure does host models from Anthropic and others, these aren’t accessible through our Azure provider yet. I recommend checking out AI Gateway: vercel.com/ai-gateway/models
Kejvi Dema @pawlean - I believe there is confusion. Yes, I am referring to AI Gateway, and yes, I am well aware that Azure is not a provider for the cited models, and that’s the reason I am writing this and requesting/recommending Vercel to add this in their offering.
Pauline P. Narvas I was confused by your initial post, I’ve changed your post to Feedback and will share with our product team. Thank you!
Pauline P. Narvas Thanks for reporting this feature gap! You're correct - while the AI SDK supports imageConfig for Google Gemini models (via PR #12059), this isn't currently available through the AI Gateway REST API. You could try the following workarounds though: Use the AI SDK with TypeScript (already supports this) If using BYOK, make direct calls to Google's API with imageConfig parameters Thanks again! Keep an eye out for updates :)
René Schubert Thanks for pointing to the PR, it helped me understand a bit more. However I’m not sure about the difference between generateText({ model: google("gemini-3-pro-image-preview"), // from the test in the PR /* … / }); and generateText({ model: "google/gemini-3-pro-image", // what we're using / … */ }); Is it basically the same and for both the structure of the providerOptions should be providerOptions: { google: { responseModalities: ['TEXT', 'IMAGE'], imageConfig: { aspectRatio: '16:9', imageSize: '4K', }, }, }, or does it differ, depending on whether I use @ai-sdk/google or not?