AI model comparison

The two most-used frontier models for coding and agentic workloads, compared on the criteria that actually move your bill and your output quality.

Editorial rating
2 all
Figures are provided without guarantee. Research as of November 2026.
✦

Claude 3.5 Sonnet

Anthropic
#1

Anthropic’s mid-tier flagship. Strong on multi-file coding, long documents and tool use; the 200K context handles entire repositories.

Price / 1M tokens
$3.00 in / $15.00 out
Context window
200K tokens
Coding benchmark
92.0% HumanEval
Vision
Yes (images, charts, PDFs)
API availability
Anthropic API, AWS Bedrock, Google Vertex AI
★ 4.7$3.00 in / $15.00 out
🤖

GPT-4o

OpenAI

OpenAI’s omni model with native audio and vision. Slightly cheaper per token, very fast, and backed by the largest third-party ecosystem.

Price / 1M tokens
$2.50 in / $10.00 out
Context window
128K tokens
Coding benchmark
90.2% HumanEval
Vision
Yes (images, audio, video frames)
API availability
OpenAI API, Azure OpenAI Service
★ 4.5$2.50 in / $10.00 out

Claude 3.5 Sonnet vs GPT-4o

All figures come from official pricing pages, model cards and documentation. Benchmarks use the vendor-reported 0-shot scores. Editorial ratings weigh coding quality, context handling, ecosystem and price-performance. No provider pays for placement; CTA links are placeholders during the test phase.

✓ 2 in the comparison · Figures are provided without guarantee. Research as of November 2026.
Claude 3.5 Sonnet vs GPT-4o
Criteria Price / 1M tokensContext windowCoding benchmarkVisionAPI availability Overall score
✦
Claude 3.5 Sonnet#1
Anthropic
$3.00 in / $15.00 out200K tokens92.0% HumanEval✓ Yes (images, charts, PDFs)Anthropic API, AWS Bedrock, Google Vertex AI 4.7
🤖
GPT-4o
OpenAI
$2.50 in / $10.00 out128K tokens90.2% HumanEval✓ Yes (images, audio, video frames)OpenAI API, Azure OpenAI Service 4.5

Two models, one table, a clear verdict.

Claude 3.5 Sonnet vs GPT-4o →