Claude Sonnet 5

Anthropic chatreasoningtool_usevision Long

API ID: anthropic/claude-sonnet-5-20260630

Input Price
$2.20
/1M tokens
Output Price
$11.00
/1M tokens
Cached Input
$0.22
Save 90%

About Claude Sonnet 5

Claude Sonnet 5 is a mid-range general-purpose model from Anthropic with ultra-long context (1.0M), suitable for conversations, content creation, and general AI tasks.

๐Ÿ’ฐ
Price Ranking
#1150 lowest price among 1240 Chat models

Model Specifications

Context Length
1.0M
Max Output
128k
Release Date
2026-06-30
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
$4.29
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$132.00
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$181.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 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

Other Inflection 3 Pi
Input: $2.50
Output: $10.00
Context: 8k
Other Inflection 3 Productivity
Input: $2.50
Output: $10.00
Context: 8k
OpenAI GPT-4o Audio
Input: $2.50
Output: $10.00
Context: 128k
Cohere Command A
Input: $2.50
Output: $10.00
Context: 256k

๐Ÿš€ Quick Start

Get started with Claude Sonnet 5 API

Anthropic Python SDK
import anthropic

client = anthropic.Anthropic()

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