Gemini 3.1 Pro Preview vs GPT-5.2 Chat vs GPT-5.3 Codex
Gemini 3.1 Pro Preview comes out ahead, 52 to 42 and 35 on our weighted score, and it is the cheaper option too.
- Our pick
Google
Gemini 3.1 Pro Preview
52/100- ECI154.8
- Price$2.00 / $12.00
- Context1.05M
OpenAI
GPT-5.2 Chat
35/100- ECI—
- Price$1.75 / $14.00
- Context128K
OpenAI
GPT-5.3 Codex
42/100- ECI156.8
- Price$1.75 / $14.00
- Context400K
Gemini 3.1 Pro Preview is our pick
Gemini 3.1 Pro Preview is the better all-round choice, scoring 52/100 against GPT-5.3 Codex (42) and GPT-5.2 Chat (35). It leads on inputs & features and context window. The score weighs price 50%, inputs & features 30%, context window 20%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
- CapabilityNot enough dataNo independent benchmark covers every model here yet
- Lowest priceGemini 3.1 Pro PreviewGemini 3.1 Pro Preview $4.50 · GPT-5.2 Chat $4.81 · GPT-5.3 Codex $4.81 per 1M tokens (3:1 blend)
- Longest contextGemini 3.1 Pro PreviewGemini 3.1 Pro Preview 1,048,576 · GPT-5.3 Codex 400,000 · GPT-5.2 Chat 128,000 tokens
- Widest inputsGemini 3.1 Pro PreviewGemini 3.1 Pro Preview: Text, Images, PDFs, Audio, Video · GPT-5.2 Chat: Text, Images · GPT-5.3 Codex: Text, Images, PDFs
- Self-hostingNo open weightsAll three are available only through APIs
| Measure | Weight | Gemini 3.1 Pro Preview | GPT-5.2 Chat | GPT-5.3 Codex |
|---|---|---|---|---|
| Price | 50% | 19 | 18 | 18 |
| Inputs & features | 30% | 100 | 70 | 80 |
| Context window | 20% | 61 | 24 | 44 |
| Overall | 100% | 52/100 | 35/100 | 42/100 |
Left out because at least one model lacks the data: capability. The remaining weights were rescaled.
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 154.8 | — | 156.8 (best) |
| ECI rank | #31 of 148 | — | #18 of 148 (best) |
| GPQA DiamondGraduate-level science questions | 94.4% | — | — |
| FrontierMath Tiers 1–3Research-level mathematics | 59.7% | — | — |
| OTIS Mock AIME 2024–2025Competition mathematics | 95.6% | — | — |
| SWE-bench VerifiedFixing real GitHub issues | 75.6% (best) | — | 74.8% |
| SimpleQA VerifiedShort factual questions | 73.5% | — | — |
| Price per million tokens | |||
| Input | $2.00 | $1.75 (best) | $1.75 (best) |
| Output | $12.00 (best) | $14.00 | $14.00 |
| Cached input | $0.20 | $0.175 (best) | $0.175 (best) |
| Blended (3:1) | $4.50 (best) | $4.81 | $4.81 |
| Long-context rate | Over 200K: $4.00 / $18.00 | Same rate | Same rate |
| Price source | Official Google API | Official OpenAI API | Official OpenAI API |
| Limits | |||
| Context window | 1,048,576 tokens (best) | 128,000 tokens | 400,000 tokens |
| Max output | 65,536 tokens | 16,384 tokens | 128,000 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | Yes | No | Yes |
| Audio | Yes | No | No |
| Video | Yes | No | No |
| Reasoning | Yeslow · medium · high | Yesmedium | Yeslow · medium · high · xhigh |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | Yes | Yes |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | gemini-3.1-pro-preview | gpt-5.2-chat-latest | gpt-5.3-codex |
| API providers | 26 (best) | 3 | 19 |
| Released | Feb 19, 2026 | Dec 11, 2025 | Feb 5, 2026 |
| Knowledge cutoff | Jan 2025 | Aug 31, 2025 | Aug 31, 2025 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Gemini 3.1 Pro Preview$44.00
GPT-5.2 Chat$45.50
GPT-5.3 Codex$45.50
Which should you choose?
Which is better: Gemini 3.1 Pro Preview, GPT-5.2 Chat or GPT-5.3 Codex?
Gemini 3.1 Pro Preview is the better all-round choice, scoring 52/100 against GPT-5.3 Codex (42) and GPT-5.2 Chat (35). It leads on inputs & features and context window. The score weighs price 50%, inputs & features 30%, context window 20%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
Which is cheaper, Gemini 3.1 Pro Preview, GPT-5.2 Chat or GPT-5.3 Codex?
Gemini 3.1 Pro Preview is cheaper at $2.00 input / $12.00 output per million tokens (official Google API price). GPT-5.2 Chat costs $1.75 input / $14.00 output per million tokens (official OpenAI API price); GPT-5.3 Codex costs $1.75 input / $14.00 output per million tokens (official OpenAI API price). At a typical mix of three input tokens to one output token, that is $4.50 per million tokens for Gemini 3.1 Pro Preview versus $4.81 for GPT-5.2 Chat (1.1× as much) and $4.81 for GPT-5.3 Codex (1.1× as much).
Which scores higher on benchmarks?
There is no independent benchmark that covers all three models yet. Gemini 3.1 Pro Preview has an ECI of 154.8, GPT-5.2 Chat has not been scored yet and GPT-5.3 Codex has an ECI of 156.8.
Which is better for coding?
There are no published SWE-bench Verified results for GPT-5.2 Chat yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. All three support tool calling for agent workflows.
Which has the bigger context window?
Gemini 3.1 Pro Preview has the largest context window at 1,048,576 tokens, against 400,000 for GPT-5.3 Codex and 128,000 for GPT-5.2 Chat. Maximum output per response: Gemini 3.1 Pro Preview up to 65,536, GPT-5.2 Chat up to 16,384, GPT-5.3 Codex up to 128,000 tokens.
Which can read images, PDFs, audio or video?
Gemini 3.1 Pro Preview accepts text, images, PDFs, audio and video; GPT-5.2 Chat accepts text and images; GPT-5.3 Codex accepts text, images and PDFs. Gemini 3.1 Pro Preview handles the widest range of inputs.
Are any of these open source?
No. Gemini 3.1 Pro Preview, GPT-5.2 Chat and GPT-5.3 Codex are proprietary and only available through APIs and apps.
Which is newer?
Gemini 3.1 Pro Preview is the newest, released Feb 19, 2026. GPT-5.3 Codex came out Feb 5, 2026; GPT-5.2 Chat came out Dec 11, 2025. Knowledge cutoff: Gemini 3.1 Pro Preview Jan 2025, GPT-5.2 Chat Aug 31, 2025, GPT-5.3 Codex Aug 31, 2025.
How do you decide the winner?
Each model gets a 0–100 score on capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Oct 4, 2026.