Magica logo

Claude 3 Haiku vs Claude Sonnet 5 (Comparative Analysis)

Loading comparison form...
Comparative Analysis: Claude 3 Haiku vs. Claude Sonnet 5
Want to try out these models side by side?Try Magica for free

Overview

Claude 3 Haiku was released 2 years before Claude Sonnet 5.
Claude 3 HaikuClaude 3 Haiku
Claude Sonnet 5Claude Sonnet 5
Model Provider
The organization behind this AI's development
Anthropic logoAnthropic
Anthropic logoAnthropic
Input Context Window
Maximum input tokens this model can process at once
200K
tokens
1M
tokens
Output Token Limit
Maximum output tokens this model can generate at once
4.1K
tokens
128K
tokens
Release Date
When this model first became publicly available
March 13th, 2024
June 30th, 2026
Knowledge Cutoff
Latest training-data date reported by the provider
August 31, 2023
Not reported

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Claude 3 Haiku
Claude Sonnet 5
Input Types
Supported input formats
📝Text🖼️Image
📝Text🖼️Image📁File
Reasoning Controls
Defaults and configurable reasoning effort
Not reported
Enabled by defaultEffort: Max, Extra High, High, Medium, LowDefault: High
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
ClaudeClaude
Key Features
Advanced capabilities
Function CallingStructured OutputReasoning ModeContent Moderation
Function CallingStructured OutputReasoning ModeContent Moderation

Pricing

Claude 3 Haiku is roughly 0.1x less expensive compared to Claude Sonnet 5 for input tokens and roughly 0.1x less expensive for output tokens.
Claude 3 HaikuClaude 3 Haiku
Claude Sonnet 5Claude Sonnet 5
Input Token Cost
Cost per million input tokens
$0.25
per million tokens
$2.00
per million tokens
Output Token Cost
Cost per million output tokens
$1.25
per million tokens
$10.00
per million tokens
Web Search Cost
Additional cost for each web search operation
$0.01
per search
$0.01
per search
Cache Read Cost
Cost to reuse cached input tokens
$0.03
per million tokens
$0.20
per million tokens
Cache Write Cost
Cost to write input tokens to the cache
$0.30
per million tokens
$2.50
per million tokens
1-Hour Cache Write Cost
Cost to cache input tokens for one hour
$0.50
per million tokens
$4.00
per million tokens

Benchmarks

Compare relevant benchmarks between Claude 3 Haiku and Claude Sonnet 5.
Claude 3 HaikuClaude 3 Haiku
Claude Sonnet 5Claude Sonnet 5
Intelligence Index
Overall model quality across independent evaluations
Benchmark not available.
53.4
(Artificial Analysis index; higher is better)
Coding Index
Programming performance across independent evaluations
Benchmark not available.
71.5
(Artificial Analysis index; higher is better)
Agentic Index
Ability to complete multi-step agentic tasks
Benchmark not available.
46.7
(Artificial Analysis index; higher is better)
Best Design Arena Score
Highest human-preference Elo score across design arenas
Benchmark not available.
1,345 Elo
(#3 in Game Dev (59.9% win rate))

At a Glance

Quick overview of what makes Claude 3 Haiku and Claude Sonnet 5 unique.
Anthropic logoClaude 3 Haiku by Anthropic understands both text and images, can use external tools and APIs. It can handle standard conversations with its 200K token context window. Very affordable at $0.25/M input and $1.25/M output tokens. Includes built-in content moderation for safer outputs. Released March 13th, 2024.
Anthropic logoClaude Sonnet 5 by Anthropic understands both text and images, can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 1M token context window. Reasonably priced at $2.00/M input and $10.00/M output tokens. Includes built-in content moderation for safer outputs. Released June 30th, 2026.

Explore More Comparisons

Compare your models with top performers across different categories