← Back
Vercel
Claude Sonnet 4.6 now available on Vercel AI Gateway with 1M token context
Vercel AI SDKVercel · releasemodelapiintegrationfeature · vercel.com ↗

Claude Sonnet 4.6 on AI Gateway

Anthropic's Claude Sonnet 4.6 is now live on Vercel's AI Gateway, expanding the available models for developers building with Vercel's unified API layer. This release brings Opus-level intelligence to a faster, more cost-effective tier, with substantial improvements across agentic coding, code review, frontend UI quality, and computer use accuracy.

Key Capabilities

The model includes several advanced features:

  • Agentic execution: Proactively executes tasks, delegates to subagents, and parallelizes tool calls
  • MCP support: Enables scaled tool use through Model Context Protocol integration
  • Hybrid reasoning: Delivers both near-instant responses and extended thinking within the same model
  • 1M token context window: Supports handling of very large documents and codebases
  • Adaptive thinking: Control reasoning depth with configurable effort levels and adaptive thinking type

Integration with Vercel AI SDK

Developers can access Sonnet 4.6 by setting the model identifier to anthropic/claude-sonnet-4.6 in the AI SDK. The model supports configuration options for reasoning effort and thinking type:

const result = streamText({
  model: 'anthropic/claude-sonnet-4.6',
  prompt: 'Your task here...',
  providerOptions: {
    anthropic: {
      effort: 'medium',
      thinking: { type: 'adaptive' },
    },
  },
});

Vercel AI Gateway Benefits

Beyond model availability, AI Gateway provides developers with:

  • Unified API: Single interface for calling multiple models
  • Observability: Built-in tracking of usage, costs, and performance
  • Reliability: Automatic retries, failover, and intelligent provider routing for higher uptime than direct provider access
  • Bring Your Own Key: Option to supply your own API credentials
  • Performance optimizations: Configured at deployment time

Developers can explore Sonnet 4.6 immediately through the model playground or consult the AI Gateway model leaderboard for performance comparisons.