Vercel AI Gateway returns 403 Forbidden access_denied for all requests

Problem

Every request to the Vercel AI Gateway returns a 403 Forbidden access_denied response, including the auth-only /v1/credits endpoint. The block appears to be at the team/account level — no model, key, or request shape changes the result.

What I’ve Tried

  • Created a fresh API key (rotated vck_… twice)

  • Removed and re-added my payment method

  • Purchased $15 of paid credits via vercel buy credits gateway 5 (succeeded, balance shows on dashboard)

  • Tested with curl directly to https://ai-gateway.vercel.sh/v1/credits with Authorization: Bearer <key> — same 403

  • Confirmed an obviously-invalid key returns 401, so the 403 is specifically an authorization decision against my team

  • Tried adding a BYOK Anthropic key — the BYOK “Test Request” also fails with HTTP 200 Connection Failed — Forbidden, which matches the known issue vercel/ai#11280 (credit check happens before BYOK routing)

Error

{

"error": {

"message": "Forbidden.",

"type": "access_denied"

}

}

Team ID

team_GcNnvGv1HR62xqaolnXc8vQg

Could someone please patch this on the team, like was done for the other threads (Mar 22, Feb 15, Jan 21)? Happy to provide the project ID, a request ID, or a deployment URL if useful.

Thanks!


Hi @ra333leven, welcome to the Vercel Community!

I’m sorry you’re facing this issue. I’ve escalated internally and keep you posted here when I’ve updates.

I am facing the same issue getting 403 error even when having 14$ in my account.

Team ID: team_dPsy7Ix2NTStNjtCiWf543kQ
@anshumanb

Hi @pranayhaldiya, welcome to the Vercel Community!

I’m sorry you’re facing this issue. Can you confirm it was working previously for you?

@anshumanb Facing this from around 3 months now, earlier it was working, I have added credits recently still not working.

1 Like

Hi @pranayhaldiya, I see. After checking with the AI Gateway team, we were able to rectify this issue for you and you should be able to use the AI Gateway keys now.