Compare models

Up to four models side by side.

Compare models
Gemini 3.1 Pro Google Preview GPT-5.2-Codex OpenAI Deprecated
Input $2.00 No data
Output $12.00 No data
Blended $4.50 No data
Context window 1.05M, Best in row 400k
Max output 66k 128k, Best in row
Output speed 126.5, Best in row 97.2
Quality 57.2 79.2, Best in row
Reasoning 70.6, Best in row 62.8
Coding 67.8, Best in row 60.7
Value 3.1 No data
Vision ✓ ✓
Reasoning ✓ ✓
Tool calling ✓ ✓
Structured output ✓ ✓
Prompt caching ✓ −
Batch API ✓ ✓
Licence Proprietary Proprietary
API model id gemini-3.1-pro-preview gpt-5.2-codex

At a glance

Popular comparisons

Head-to-head pages for models people weigh against each other.

Language models 77
Image generation 18
Video generation 11
Text to speech 9
Speech to text 25
Voice and realtime 17
Embeddings 3