• 1 min read Claude Sonnet 4.6 from Anthropic is now available on AI Gateway with the 1M token context window.
• Sonnet 4.6 approaches Opus-level intelligence with strong improvements in agentic coding, code review, frontend UI quality, and computer use accuracy.
• The model proactively executes tasks, delegates to subagents, and parallelizes tool calls, with MCP support for scaled tool use.
• As a hybrid reasoning model, Sonnet 4.6 delivers both near-instant responses and extended thinking within the same model.
• To use this model, set model to anthropic/claude-sonnet-4.6 in the AI SDK.
• This model supports effort and thinking type adaptive : import { streamText } from ‘ai’; const result = streamText({ model: ‘anthropic/claude-sonnet-4.6’, prompt: Build a dashboard component from this spec with responsive layout, dark mode support, and accessibility., providerOptions: { anthropic: { effort: ‘medium’, thinking: { type: ‘adaptive’ }, }, },}); AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime.
Article Summaries:
- Anthropic’s Claude Sonnet 4.6 has been released on AI Gateway, offering a 1 million‑token context window. The new model claims near‑Opus‑level intelligence, with notable gains in agentic coding, code review, UI quality, and computer‑use accuracy. It can proactively execute tasks, delegate to sub‑agents, and parallelize tool calls, supporting MCP for scaled tool use. Sonnet 4.6 blends instant responses with extended reasoning within a single model. Developers can enable it via the AI SDK by setting the model to anthropic/claude‑sonnet‑4.6. AI Gateway provides unified API access, usage tracking, retries, failover, and observability for higher uptime.
Sources: