Claude Sonnet 4.6
Claude Sonnet 4.6 brings Opus-approaching intelligence to the Sonnet tier with adaptive thinking, a context window of 1M tokens, strong agentic coding, frontend UI quality, and computer use accuracy improvements, plus MCP support for scaled tool use and interleaved thinking with tool calls.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-sonnet-4.6', prompt: 'Why is the sky blue?'})Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|