Compare to
Overview
Claude 3 Sonnet was released 2 months before GPT-4o 2024-05-13.
Claude 3 Sonnet
GPT-4o 2024-05-13
Provider
The entity that provides this model.
Anthropic
OpenAI
Input Context Window
The number of tokens supported by the input context window.
200K
tokens
128K
tokens
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
4,096
tokens
2,048
tokens
Release Date
When the model was first released.
2024-03-04
2024-05-13
Knowledge Cutoff
Limit on the knowledge base used by the model.
August 2023
October 2023
Open Source
API Providers
The providers that offer this model. (This is not an exhaustive list.)
Pricing
Claude 3 Sonnet is roughly 40.0% cheaper compared to GPT-4o 2024-05-13 for input tokens and the same price for output tokens.
Claude 3 Sonnet
GPT-4o 2024-05-13
Input
Cost of input data provided to the model.
$3.00
per million tokens
$5.00
per million tokens
Output
Cost of output tokens generated by the model.
$15.00
per million tokens
$15.00
per million tokens
Benchmarks
Compare relevant benchmarks between Claude 3 Sonnet and GPT-4o 2024-05-13.
Claude 3 Sonnet
GPT-4o 2024-05-13
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
81.5
(5-shot CoT)
88.7
(5-shot)
MMMU
A wide ranging multi-discipline and multimodal benchmark.
53.1
69.1
HellaSwag
A challenging sentence completion benchmark.
89.0
(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.
91.0
(0-shot)
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
Benchmark not available.
Benchmark not available.
Measure & Improve LLM Product Performance.
Get Started