megachangelog
Feature

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

Read more

Setup

Start Claude Code

Log in with your Claude subscription

How it works

ai-gatewayclaude-codeobservabilityintegration

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Feature

OpenAI Decisions API now available on AI Gateway

OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.

ai-gatewayopenaiapidecisionssdks
Feature

Timestamp attributes now supported in Vercel Flags

Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.

flagstargetingfeaturetimestampscampaigns
Feature

Glyph Cluster now available in stealth on AI Gateway

Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.

ai-gatewaymodelscodingstealth
See all Vercel changes →