AI Gateway now supports the Claude Code Max subscription for the Claude Code CLI. This allows developers to use their existing subscription on Anthropic models with no additional cost while getting unified observability, usage tracking, and monitoring through Vercel’s platform. Link to heading Setup Set up your environment variables in your shell configuration file ( ~/.zshrc or ~/.bashrc ) export ANTHROPIC_BASE_URL = "https://ai-gateway.vercel.sh" export ANTHROPIC_CUSTOM_HEADERS = "x-ai-gateway-api-key: Bearer your-ai-gateway-api-key" Replace your-ai-gateway-api-key with your actual AI Gateway API key. Link to heading Start Claude Code Link to heading Log in with your Claude subscription If you're not already logged in, Claude Code will prompt you to authenticate. Choose Option 1 - Claude account with subscription and log in with your Anthropic account. If you encounter issues, try logging out with claude /logout and logging in again.…