# Claude 3.7 Sonnet vs GPT-4.1

Source: https://openrouter.ai/compare/anthropic/claude-3.7-sonnet/openai/gpt-4.1

## Overview

| Attribute | Claude 3.7 Sonnet | GPT-4.1 |
| --- | --- | --- |
| Author | Anthropic | OpenAI |
| Reasoning | Yes | No |
| Input modalities | Text, Image, File | Image, Text, File |
| Output modalities | Text | Text |
| Input price | Pricing varies by provider | $2/M tokens |
| Output price | Pricing varies by provider | $8/M tokens |
| Context window | 200,000 tokens | 1,047,576 tokens |
| GPQA Diamond score | 65.6% | 66.6% |
| Latency (p50) | Not available | 1.80 s |
| Throughput (p50) | Not available | 37.0 tok/s |

## Claude 3.7 Sonnet or GPT-4.1: which should you choose?

### Choose GPT-4.1 for:

- a longer context window (1,047,576 vs 200,000 tokens)

Claude 3.7 Sonnet does not lead on any comparison both models report.

## Model pages

- [Claude 3.7 Sonnet](https://openrouter.ai/anthropic/claude-3.7-sonnet) ([llms.txt](https://openrouter.ai/anthropic/claude-3.7-sonnet/llms.txt))
- [GPT-4.1](https://openrouter.ai/openai/gpt-4.1) ([llms.txt](https://openrouter.ai/openai/gpt-4.1/llms.txt))
