Skip to content

GPT-5.4 mini vs Claude Sonnet 4 (latest)

GPT-5.4 mini is cheaper on output tokens, while GPT-5.4 mini offers a larger context window. Choose GPT-5.4 mini or Claude Sonnet 4 (latest) based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGPT-5.4 miniClaude Sonnet 4 (latest)
ProviderGitHub CopilotGitHub Copilot
Input / 1M tokens$0.75$3.00
Output / 1M tokens$4.50$15.00
Context window400K216K
Parameters
Open weightsNoNo
ReleasedMar 2026May 2025

FAQ

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