Back to models
Model · Anthropic
Anthropic

Claude Sonnet 5.5

anthropic/claude-sonnet-5-5
Try in Agents

Anthropic's latest Sonnet — a step up from Sonnet 5 for everyday feature work, bug fixes and agentic coding, with 1M context

visioncaching
Specs
Context
1M
Max output
8K
Provider
Anthropic
Input
$2.00/ 1M tokens
Output
$10.00/ 1M tokens
Cache read
$0.200/ 1M tokens
Cache write
$2.50/ 1M tokens
Try it
Chat with Claude Sonnet 5.5Terramind API
⌘+Enter to run
Code
import { streamText } from "ai";
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";

const terramind = createOpenAICompatible({
  name: "terramind",
  baseURL: "https://terramind.com/api/v1",
  apiKey: process.env.TERRAMIND_API_KEY!,
});

const result = streamText({
  model: terramind("claude-sonnet-5-5"),
  prompt: "Why is the sky blue?",
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Want to run this in your app? Grab an API key · Full chat reference

More by Anthropic
ModelContextInOutCapabilities
Anthropicanthropic/claude-sonnet-4-61M$3.00$15.00
visioncaching
Anthropicanthropic/claude-sonnet-51M$2.00$10.00
visioncaching
Anthropicanthropic/claude-haiku-4-5200K$1.00$5.00
visioncaching
Anthropicanthropic/claude-opus-4-61M$5.00$25.00
reasoningvisioncaching
Anthropicanthropic/claude-opus-4-71M$5.00$25.00
reasoningvisioncaching
Anthropicanthropic/claude-opus-4-81M$5.00$25.00
reasoningvisioncaching
Anthropicanthropic/claude-opus-51M$5.00$25.00
reasoningvisioncaching
Anthropicanthropic/claude-opus-5-fast1M$10.00$50.00
reasoningvisioncaching