Skip to content

Gemini 2.5 Flash vs GPT-5.2-Codex

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

SpecGemini 2.5 FlashGPT-5.2-Codex
ProviderVercel AI GatewayVercel AI Gateway
Input / 1M tokens$0.30$1.75
Output / 1M tokens$2.50$14.00
Context window1M400K
Parameters
Open weightsNoNo
ReleasedJun 2025Dec 2025

FAQ

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