Claude Sonnet 4.5

Anthropic chatreasoningtool_usevision Long

API ID: anthropic/claude-4.5-sonnet-20250929

Input Price
$3.00
/1M tokens
Output Price
$15.00
/1M tokens
Cached Input
$0.30
Save 90%

About Claude Sonnet 4.5

Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with improvements across system design, code security, and specification adherence. The model is designed for extended autonomous operation, maintaining task continuity across sessions and providing fact-based progress tracking. Sonnet 4.5 also introduces stronger agentic capabilities, including improved tool orchestration, speculative parallel execution, and more efficient context and memory management. With enhanced context tracking and awareness of token usage across tool calls, it is particularly well-suited for multi-context and long-running workflows. Use cases span software engineering, cybersecurity, financial analysis, research agents, and other domains requiring sustained reasoning and tool use.

💰
Price Ranking
#1178 lowest price among 1240 Chat models

Model Specifications

Context Length
1.0M
Max Output
64k
Release Date
2025-09-29
Capabilities
chat reasoning tool_use vision
Input Modalities
textimagefile
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Simple Q&A (cheaper models available)

💰 Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$5.85
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$180.00
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$247.50
/month
500 analyses/day, ~2k tokens each

Anthropic Model Lineup

Compare all models from Anthropic to find the best fit

Model Input Output Context Capabilities
Claude Sonnet 4.5 Current Free Free 1.0M chat reasoning tool_use vision
Claude 3.5 Haiku (2024-10-22) Free Free 200k chat vision
Claude 3.5 Sonnet (2024-06-20) Free Free 200k chat vision
Claude 3.5 Sonnet (2024-06-20) Free Free 200k chat vision
Claude 3 Sonnet Free Free 200k chat vision
Claude 3 Sonnet Free Free 200k chat vision

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

xAI Grok 3
xAI
Input: $3.00
Output: $15.00
Context: 131k
xAI Grok 3 Beta
xAI
Input: $3.00
Output: $15.00
Context: 131k
Perplexity Sonar Pro
Input: $3.00
Output: $15.00
Context: 200k
Perplexity Sonar Pro Search
Input: $3.00
Output: $15.00
Context: 200k

🚀 Quick Start

Get started with Claude Sonnet 4.5 API

Anthropic Python SDK
import anthropic

client = anthropic.Anthropic()

message = client.messages.create(
    model="anthropic/claude-4.5-sonnet-20250929",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(message.content[0].text)