Claude Sonnet 4.6 is live on AI Gateway

Published: (February 17, 2026 at 08:00 AM EST)
2 min read

Source: Vercel Blog

Overview

Claude Sonnet 4.6 from Anthropic is now available on AI Gateway with a 1 M token context window. The model approaches Opus‑level intelligence and brings strong improvements in agentic coding, code review, frontend UI quality, and computer‑use accuracy. It can proactively execute tasks, delegate to sub‑agents, and parallelize 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.

Using Claude Sonnet 4.6

To use this model, set the model identifier to anthropic/claude-sonnet-4.6 in the AI SDK. The model supports the effort parameter and a thinking type of 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 Features

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. It includes built‑in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Resources

0 views
Back to Blog

Related posts

Read more »

Gemini 3.1 Pro is live on AI Gateway

Feb 19 2026 · 1 min read Gemini 3.1 Pro Preview now on AI Gateway Google’s Gemini 3.1 Pro Preview is available through AI Gateway. The release brings quality im...