megachangelog
Feature

Claude Sonnet 4 now supports 1M token context in Vercel AI Gateway

Claude Sonnet 4's 1 million-token context window is now available through Vercel AI Gateway, enabling processing of large inputs like full codebases and document sets. Users can access the model through a unified API with built-in observability, cost tracking, and provider failover.

You can now leverage with Vercel's with no other provider accounts required. This release from Anthropic enables significantly larger inputs such as full codebases (~75,000+ lines) or large document sets. Claude Sonnet 4's updated 1 million-token context windowAI Gateway

AI Gateway lets you call the model with a consistent unified API and just a single string update, track usage and cost, and configure performance optimizations, retries, and failover for higher than provider-average uptime.

To use it with the , start by installing the package:AI SDK v5

Then set the model to :anthropic/claude-4-sonnet

Includes built-in , , and intelligent with automatic retries.observabilityBring Your Own Key supportprovider routing

To deliver high performance and reliability to Claude Sonnet 4, AI Gateway leverages multiple model providers under the hood, including Anthropic and Bedrock.

Learn more about and view the .AI Gatewaynew AI Gateway model leaderboard

Read more

ai-gatewayclaude-sonnetapillmanthropic

Source: original entry ↗

More from Vercel

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

Announcement2026.10.19

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.

termsbillingcreditspolicylegal
Announcement

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.

ai-gatewaymodelsinferencellmlaunch
Announcement

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.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →