William I ran into this issue too (although Vercel's usage alert saved me after it used about $20 of tokens). What I found was that Claude Code's token has a ttl and when it dies, Vercel's AI gateway will fal
William I just found an easier workaround. You can assign a max spending of $1 (minimum amount) to an API key and set it to never refresh... this way when your Claude token expires, it will fallback to use yo