Claude Code Max now available via AI Gateway
Claude Code CLI now supports Claude Code Max subscription through Vercel's AI Gateway, enabling developers to use their existing Anthropic subscription with unified observability, usage tracking, and monitoring at no additional cost.
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.AI Gateway
Set up your environment variables in your shell configuration file ( or )~/.zshrc~/.bashrc
Replace with your actual AI Gateway API key.your-ai-gateway-api-key
If you're not already logged in, Claude Code will prompt you to authenticate. Choose and log in with your Anthropic account.Option 1 - Claude account with subscription
If you encounter issues, try logging out with and logging in again.claude /logout
Your Claude Code requests now route through AI Gateway, giving you full visibility into usage patterns and costs while using your Max subscription.
When you configure Claude Code to use AI Gateway, Claude Code continues to authenticate with Anthropic. It sends its header and AI Gateway acts as either a passthrough proxy to Anthropic or, when it needs to fall back, a router to other providers.Authorization
Since the header is reserved for Claude subscription credentials, AI Gateway uses a separate header for its own authentication. This allows both auth mechanisms to coexist.Authorizationx-ai-gateway-api-key
Read more about how to configure Claude Code Max with AI Gateway in the .docs
Setup
Start Claude Code
Log in with your Claude subscription
How it works
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
Updates to Hobby and Pro Terms of Service
Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.
Mercury 3 now available on AI Gateway
Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.
MiniMax M3.1 Flash now available on AI Gateway for free
MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.