Claude Sonnet 5
Claude Sonnet 5 is the most agentic Sonnet model yet from Anthropic, with gains over Claude Sonnet 4.6 across reasoning, tool use, coding, and knowledge work. Claude Sonnet 5 makes plans, uses tools like browsers and terminals, runs autonomously, and is available on AI Gateway via Anthropic, Google Vertex AI, Bedrock, Claude Platform on AWS. Your use subject to Anthropic's Terms & Privacy Policies.
ReasoningTool UseExplicit CachingFile InputVision (Image)Web Search
index.ts
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-sonnet-5', 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 |
|---|