Compare to
Overview
Claude 3 Haiku was released 3 months before Claude 3.5 Sonnet.
Claude 3 Haiku
Claude 3.5 Sonnet
Provider
The entity that provides this model.
Anthropic
Anthropic
Input Context Window
The number of tokens supported by the input context window.
200K
tokens
200K
tokens
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
4,096
tokens
4,096
tokens
Release Date
When the model was first released.
2024-03-13
2024-06-20
Knowledge Cutoff
Limit on the knowledge base used by the model.
August 2023
April 2024
Open Source
API Providers
The providers that offer this model. (This is not an exhaustive list.)
Pricing
Claude 3 Haiku is roughly 12x cheaper compared to Claude 3.5 Sonnet for input and output tokens.
Claude 3 Haiku
Claude 3.5 Sonnet
Input
Cost of input data provided to the model.
$0.25
per million tokens
$3.00
per million tokens
Output
Cost of output tokens generated by the model.
$1.25
per million tokens
$15.00
per million tokens
Benchmarks
Compare relevant benchmarks between Claude 3 Haiku and Claude 3.5 Sonnet.
Claude 3 Haiku
Claude 3.5 Sonnet
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
76.7
(5-shot CoT)
90.4
(5-shot CoT)
MMMU
A wide ranging multi-discipline and multimodal benchmark.
50.2
68.3
(0-shot CoT)
HellaSwag
A challenging sentence completion benchmark.
85.9
(10-shot)
Benchmark not available.
GSM8K
Grade-school math problems benchmark.
Benchmark not available.
Benchmark not available.
HumanEval
A benchmark to measure functional correctness for synthesizing programs from docstrings.
Benchmark not available.
Benchmark not available.
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
Benchmark not available.
71.1
(0-shot)
Measure & Improve LLM Product Performance.
Get Started