Skip to content

OpenAI: GPT-4.1 Mini vs OpenAI: GPT-5.2-Codex

OpenAI: GPT-4.1 Mini is cheaper on output tokens, while OpenAI: GPT-4.1 Mini offers a larger context window. Choose OpenAI: GPT-4.1 Mini or OpenAI: GPT-5.2-Codex based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecOpenAI: GPT-4.1 MiniOpenAI: GPT-5.2-Codex
ProviderOpenAIOpenAI
Input / 1M tokens$0.40$1.75
Output / 1M tokens$1.60$14.00
Context window1M400K
Parameters
Open weightsNoNo
ReleasedApr 2025Dec 2025

FAQ

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