Claude 3.5 Sonnet

Anthropic chatvisiontool_use Long

API ID: anthropic/claude-3.5-sonnet

Input Price
$6.00
/1M tokens
Output Price
$30.00
/1M tokens

About Claude 3.5 Sonnet

New Claude 3.5 Sonnet delivers better-than-Opus capabilities, faster-than-Sonnet speeds, at the same Sonnet prices. Sonnet is particularly good at: - Coding: Scores ~49% on SWE-Bench Verified, higher than the last best score, and without any fancy prompt scaffolding - Data science: Augments human data science expertise; navigates unstructured data while using multiple tools for insights - Visual processing: excelling at interpreting charts, graphs, and images, accurately transcribing text to derive insights beyond just the text alone - Agentic tasks: exceptional tool use, making it great at agentic tasks (i.e. complex, multi-step problem solving tasks that require engaging with other systems) #multimodal

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

Model Specifications

Context Length
200k
Max Output
8k
Release Date
2024-10-22
Capabilities
chat vision tool_use
Input Modalities
textimagefile
Output Modalities
text

Best For

  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$11.70
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$360.00
/month
1000 tickets/day, ~800 tokens each

Anthropic Model Lineup

Compare all models from Anthropic to find the best fit

Model Input Output Context Capabilities
Claude 3.5 Sonnet Current Free Free 200k chat vision tool_use
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

OpenAI GPT Chat Latest
Input: $5.00
Output: $30.00
Context: 400k
OpenAI GPT-5.6 Sol Pro
Input: $5.00
Output: $30.00
Context: 1.1M
OpenAI GPT-5.6 Sol
Input: $5.00
Output: $30.00
Context: 1.1M
Sakana Fugu Ultra
Input: $5.00
Output: $30.00
Context: 1.0M

๐Ÿš€ Quick Start

Get started with Claude 3.5 Sonnet API

Anthropic Python SDK
import anthropic

client = anthropic.Anthropic()

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