gpt-4.1 vs claude-sonnet-4-5

OpenAI against Anthropic, priced on the same four workloads with price book 2026-10-22.

On real workloads

Workloadgpt-4.1 per callclaude-sonnet-4-5 per callMonthly difference
Chat reply
1,500 input and 400 output tokens, 100,000 calls a month
$0.0062$0.01 $430.00
RAG answer, cached context
2,000 fresh + 4,000 cached input, 500 output, 100,000 calls a month
$0.01$0.01 $470.00
Agent step
4,000 fresh + 8,000 cached input, 800 output, 250,000 calls a month
$0.02$0.03 $2,000.00
Batch summary
3,000 input and 300 output tokens via the Batch API, 1,000,000 calls a month
$0.0042$0.00675 $2,550.00

Monthly difference is claude-sonnet-4-5 minus gpt-4.1. Batch rows use each provider's Batch API rates where published. Price both on your own workload.

Rates

ModelInputOutputCache readCache writeContext
openai/gpt-4.1$2.00$8.00$0.50—1M
anthropic/claude-sonnet-4-5$3.00$15.00$0.30$3.75200K

Price is one input. Before switching, run your own prompts through both and compare quality; then veqen diff prices the change at your production volume.