Understand and compare
GPT-4
vs.
Claude 3 Sonnet
Overview
GPT-4 was released
12 months before
Claude 3 Sonnet.
![]() |
![]() |
|
---|---|---|
Provider
The entity that provides this model.
|
![]() |
![]() |
Input Context Window
The number of tokens supported by the input context window.
|
8,192
tokens
|
200K
tokens
|
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
|
8,192
tokens
|
4,096
tokens
|
Release Date
When the model was first released.
|
2023-03-14
|
2024-03-04
|
Pricing
GPT-4 is
roughly 10x more expensive compared
to Claude 3 Sonnet for input tokens and
roughly 4.0x more expensive
for output tokens.
![]() |
![]() |
|
---|---|---|
Input
Cost of input data provided to the model.
|
$30.00
per million tokens
|
$3.00
per million tokens
|
Output
Cost of output tokens generated by the model.
|
$60.00
per million tokens
|
$15.00
per million tokens
|
Benchmarks
Compare relevant benchmarks between GPT-4
and Claude 3 Sonnet.
![](https://with.context.ai/assets/openai-5e3235388de8d8803af80dc53ea68559e0a4f698ae58b3eb9ea8048515f1bac1.png)
Claude 3 Sonnet, developed by Anthropic, features a context window of 200,000 tokens. The model costs 0.3 cents per thousand tokens for input and 1.5 cents per thousand tokens for output. It was released on March 4, 2024, and has achieved benchmark scores of 53.1 in MMMU, 89.0 in HellaSwag (10-shot), and 81.5 in MMLU (5-shot CoT).
![](https://with.context.ai/assets/anthropic-80870c3e4c4b59465f693246e7ac24d65d785686adf82cc682d05d7bcb81796d.png)
Measure & Improve LLM
Product Performance.
Get Started