Claude Sonnet 4.5

AnthropicMCP Tool CallReasoning
anthropic/claude-sonnet-4-5-20250929Closed API

Balanced Claude model for coding, analysis, agent workflows, and cost control

Benchmark Pricing$3.00 / 1M in$15.00 / 1M out$0.30 cache read
Context: 200,000 tokens•Max Output: 64,000 tokens•Knowledge: 2025-07-31•Released: 2025-09-29

TECHNICAL SPECIFICATIONS

Context Window200,000200K tokens
Max Output64,00064K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Claude Sonnet 4.5 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 200,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Claude Sonnet 4.5 via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ANTHROPIC_API_KEY,
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4-5-20250929",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
Anthropicclaude-sonnet-4-5-20250929
$3.00 / $15.00$0.30 cache
QiHangclaude-sonnet-4-5-20250929
$0.43 / $2.14
NanoGPTanthropic/claude-sonnet-4.5
$3.00 / $15.00$0.30 cache
302.AIclaude-sonnet-4-5-20250929-thinking
$3.00 / $15.00$0.30 cache
LLM Gatewayanthropic/claude-sonnet-4-5-20250929
$3.00 / $15.00$0.30 cache
Tempr Gatewayanthropic/claude-sonnet-4-5-20250929
$3.00 / $15.00$0.30 cache
Venice AIclaude-sonnet-4-5
$3.00 / $15.00$0.30 cache
Abacusclaude-sonnet-4-5-20250929
$3.00 / $15.00
Vercel AI Gatewayanthropic/claude-sonnet-4.5
$3.00 / $15.00$0.30 cache
OpenCodeclaude-sonnet-4-5
$3.00 / $15.00$0.30 cache
Merge Gatewayanthropic/claude-sonnet-4-5-20250929
$3.00 / $15.00$0.30 cache
Azure Cognitive Servicesclaude-sonnet-4-5
$3.00 / $15.00$0.30 cache
Amazon Bedrockglobal.anthropic.claude-sonnet-4-5-20250929-v1:0
$3.00 / $15.00$0.30 cache
Vertexclaude-sonnet-4-5@20250929
$3.00 / $15.00$0.30 cache
ZenMuxanthropic/claude-sonnet-4.5
$3.00 / $15.00$0.30 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.30 / 1M tokens, saving up to 90% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES