Resolving 403 Forbidden error for Vercel AI Gateway API keys

This is the POST I am doing

{“playgroundId”:“b4a12e8e-51ae-470a-b47e-c08dc868e097”,“chatId”:“1”,“chatIds”:[“0”,“1”,“HtT29O2”],“model”:“openai:gpt-5.1”,“temperature”:0.7,“maxTokens”:64000,“topP”:1,“frequencyPenalty”:0,“presencePenalty”:0,“stopSequences”:,“isCodeExecutionEnabled”:true,“id”:“b4a12e8e-51ae-470a-b47e-c08dc868e097_1”,“messages”:[{“id”:“de755569-f398-42d3-8f77-db223e9e1e92”,“role”:“user”,“parts”:[{“type”:“text”,“text”:“hi”}]}],“trigger”:“submit-message”}

And response
URL: https://ai-sdk.dev/api/generate
Status: 403
Source: Network
Address: 64.239.109.65:443
Initiator:
playground:80:7162

We’ve shared internally. Thanks for your patience!

I cannot believe this has been happening for 3 weeks now.

1 Like

It works now. Thanks.

I am still having the same issue, did you do anything different or it just started working. Also which tier/plan are you on?

Same issue as before.

same issue here

Hi @iamkunal9, @arhatpradhan, @justinian, could you share the account/team name where you are seeing this issue?

same here, dubjafil’s projects

user: justinian-tomegea

team: energyaspects

1 Like

Same here. I have having the exact same issue.

I’m on a free account, I keep getting 403; I did not change my code since Dec 2025.

project: motivational-quotes

username: achen7x7-3130

Hey everyone! We have our product team looking into this.

1 Like

Hi @justinian, can you confirm if your issue has been resolved now?

I cannot, there is absolutely no change

Thanks for confirming let me check again with the team.

Hi @justinian, can you confirm the account again? As per our records the user and team you shared shouldn’t be affected by this issue. Have you tried logging out and in again?

1 Like

Yes, I’ve logged in, logged out, cleared cookie, cleared cache, logged in with passkey, logged in with github, nothing works

Summary
URL: https://ai-sdk.dev/api/generate
Status: 403
Source: Network
Address: 64.239.109.193:443
Initiator:
ai-sdk.dev:80:7162

{"playgroundId":"4f560326-1848-4e4e-99da-f0a385758ab6","chatId":"pElOvUX","chatIds":["pElOvUX"],"model":"google:gemini-2.5-pro","temperature":0.7,"maxTokens":32768,"topP":1,"frequencyPenalty":0,"presencePenalty":0,"stopSequences":[],"isCodeExecutionEnabled":true,"id":"4f560326-1848-4e4e-99da-f0a385758ab6_pElOvUX","messages":[{"id":"038c6e2b-fb5c-4d11-ad83-89ee1307ebce","role":"user","parts":[{"type":"text","text":"hello"}]},{"id":"b1e27884-76c5-4552-8764-0cfedf706078","role":"user","parts":[{"type":"text","text":"hello"}]}],"trigger":"submit-message"}

adding:

Response
:status: 403
Cache-Control: public, max-age=0, must-revalidate
Content-Length: 0
Date: Fri, 13 Feb 2026 11:29:54 GMT
Server: Vercel
Strict-Transport-Security: max-age=63072000
Vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch
x-matched-path: /api/generate
x-vercel-cache: MISS
x-vercel-id: lhr1::iad1::4n9cs-1770982193360-81eec777ad74

Which team are you on? Can you share your team ID with us? As Anshuman shared, your user/team should’t be affected.

same team as pointed above : energyaspects

Yeah, as Anshuman shared, you shouldn’t be affected by this issue - we’ve checked your account. It’s weird!

But thank you for sharing all that information, we shared it with our product team to take a look. They are based out in SF so there will be delays in responses, appreciate you being patience :slight_smile: