Claude 3.7 Sonnet vs GPT-4.1

Compare Claude 3.7 Sonnet from Anthropic and GPT-4.1 from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Claude 3.7 Sonnet
GPT-4.1

Overview

Claude 3.7 Sonnet
Author
Anthropic
GPT-4.1
Author
OpenAI
Claude 3.7 Sonnet
Context length
200Ktokens
GPT-4.1
Context length
1.05Mtokens
Claude 3.7 Sonnet
Reasoning
Yes
GPT-4.1
Reasoning
No
Claude 3.7 Sonnet
Input modalities
Text, Image, File
GPT-4.1
Input modalities
Text, Image, File
Claude 3.7 Sonnet
Output modalities
Text
GPT-4.1
Output modalities
Text

Analysis

Claude 3.7 Sonnet vs GPT-4.1 at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Claude 3.7 Sonnet
Input price
Pricing varies by provider
GPT-4.1
Input price
$2/M tokens
Claude 3.7 Sonnet
Output price
Pricing varies by provider
GPT-4.1
Output price
$8/M tokens
Claude 3.7 Sonnet
Context window
200,000 tokens
GPT-4.1
Context window
1,047,576 tokens
Claude 3.7 Sonnet
GPQA Diamond score Artificial Analysis, best published result
65.6%
GPT-4.1
GPQA Diamond score Artificial Analysis, best published result
66.6%
Claude 3.7 Sonnet
Latency (p50)
Not available
GPT-4.1
Latency (p50)
1.80 s
Claude 3.7 Sonnet
Throughput (p50)
Not available
GPT-4.1
Throughput (p50)
37.0 tok/s
Claude 3.7 Sonnet
Provided by
Anthropic
GPT-4.1
Provided by
OpenAI

Benchmark data updated

Frequently asked questions

Which has the longer context window, Claude 3.7 Sonnet or GPT-4.1?

GPT-4.1 has the longer context window at 1,047,576 tokens, compared with 200,000 tokens for Claude 3.7 Sonnet.

How do Claude 3.7 Sonnet and GPT-4.1 score on GPQA Diamond?

Artificial Analysis reports a best GPQA Diamond score of 65.6% for Claude 3.7 Sonnet and 66.6% for GPT-4.1. See OpenRouter’s independently measured GPQA Diamond results.