Logo
Back to all models

Claude 3.5 Sonnet - In-Depth Overview

Anthropic · Claude

outdated

Model ID: claude-3-5-sonnet-20241022

Get all the details on Claude 3.5 Sonnet, an AI model from Anthropic. This page covers its token limits, pricing structure, key capabilities such as advanced_reasoning, multilingual, function_calling, available API code samples, and performance strengths.

Key Metrics

Input Limit

200K tokens

Output Limit

8.2K tokens

Input Cost

$3.00/1M

Output Cost

$15.00/1M

Sample API Code

import anthropic

client = anthropic.Anthropic(
    api_key="my_api_key",
)
message = client.messages.create(
    model="claude-3-5-sonnet-20241022",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, Claude"}
    ]
)
print(message.content)

Required Libraries

anthropic
@anthropic-ai/sdk

Benchmarks

BenchmarkScoreSourceNotes
1280
Open LLM LeaderboardRank 38 overall on May 20, 2025.
1238
Open LLM LeaderboardRank 6 overall on May 20, 2025.
1183
Open LLM LeaderboardRank 17 overall on May 20, 2025.
57.94
LiveBenchScores from LiveBench-2025-04-25.
43.22
LiveBenchScores from LiveBench-2025-04-25.
73.90
LiveBenchScores from LiveBench-2025-04-25.
50.54
LiveBenchScores from LiveBench-2025-04-25.
56.19
LiveBenchScores from LiveBench-2025-04-25.
54.48
LiveBenchScores from LiveBench-2025-04-25.
69.30
LiveBenchScores from LiveBench-2025-04-25.
16 %
Vellum LLM LeaderboardUpdated 17 April 2025.
65 %
Vellum LLM LeaderboardUpdated 17 April 2025.
49 %
Vellum LLM LeaderboardUpdated 17 April 2025.
78 %
Vellum LLM LeaderboardUpdated 17 April 2025.
56.46 %
Vellum LLM LeaderboardUpdated 17 April 2025.
51.6 %
Vellum LLM LeaderboardUpdated 17 April 2025.

Notes

Described as 'Our previous intelligent model'. It has a 'latest' alias (claude-3-5-sonnet-latest) which points to this version. Does not support extended thinking. Supports multilingual input/output, vision, prompt caching, streaming messages, batch processing, and citations. Tool use is supported.

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Good at

high intelligence
general capability
engaging responses
human-like interactions
web development tasks
coding

Additional Information

Latest Update

Oct 22, 2024

Knowledge Cutoff

Apr 1, 2024