← Back
Vercel
Vercel AI Gateway adds Claude Opus 4.6 with adaptive thinking and 1M context window
Vercel AI SDKVercel · featureapimodelintegration · vercel.com ↗

Claude Opus 4.6 Now on AI Gateway

Anthropic's latest flagship model, Claude Opus 4.6, is now available through Vercel's AI Gateway. The model is built to power agents handling real-world work and excels across the entire development lifecycle, from programming and analysis to creative tasks.

Key Features

Adaptive Thinking: Opus 4.6 introduces a new adaptive thinking parameter that lets the model decide when and how much to reason internally. This approach delivers more efficient responses while maintaining quality—providing equal or better performance than extended thinking mode with less computational overhead.

Extended Context: This is the first Opus model to support the extended 1M token context window, enabling developers to work with larger codebases, documents, and conversation histories in a single request.

Interleaved Tool Use: The model can now interleave thinking and tool calls within a single response, enabling more sophisticated agentic workflows.

How to Get Started

To use Opus 4.6, set the model parameter to anthropic/claude-opus-4.6. The adaptive thinking feature is configured via providerOptions, with an optional effort parameter to control reasoning intensity:

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

AI Gateway Benefits

Beyond model access, AI Gateway provides a unified interface for calling models, tracking usage and costs, and configuring retries and failover strategies. It includes built-in observability, Bring Your Own Key (BYOK) support, and intelligent provider routing with automatic retries to ensure higher uptime than direct provider access.