Skip to content

Claude-Sonnet-4.5 vs GPT-5.1-Codex

GPT-5.1-Codex is cheaper on output tokens, while Claude-Sonnet-4.5 offers a larger context window. Choose Claude-Sonnet-4.5 or GPT-5.1-Codex based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecClaude-Sonnet-4.5GPT-5.1-Codex
ProviderPoePoe
Input / 1M tokens$2.60$1.10
Output / 1M tokens$13.00$9.00
Context window983K400K
Parameters
Open weightsNoNo
ReleasedSep 2025Nov 2025

FAQ

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.