Gemini 3 Flash Preview vs GPT-5-Codex
Gemini 3 Flash Preview wins 1 of 1 benchmarks both models report. Gemini 3 Flash Preview is about 2.6× cheaper on a blended (3:1 input:output) token price. Gemini 3 Flash Preview has the larger context window (1M vs 400K).
| Spec | Gemini 3 Flash Preview | GPT-5-Codex |
|---|---|---|
| Provider | Google DeepMind | OpenAI |
| Released | Dec 17, 2025 (better) | Sep 15, 2025 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M (better) | 400K |
| Max output | 64K | 125K (better) |
| Input price / 1M | $0.5 (better) | $1.07 |
| Output price / 1M | $3 (better) | $8.50 |
| Input modalities | text, image, audio, video, pdf, file (better) | text, image, pdf |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 30 (better) | 10 |
| Epoch Capabilities Index | 152.3 | — |
| GPQA Diamond | 89.4% | — |
| SWE-bench Verified | 75.4% | — |
| Terminal-Bench | 64.3% (better) | 44.3% |
| WebDev Arena | 1383 | — |
| OTIS Mock AIME | 95.6% | — |
| FrontierMath | 51.2% | — |
| ARC-AGI-2 | 33.6% | — |
| SimpleQA Verified | 66.8% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: Gemini 3 Flash Preview costs $11.00 and GPT-5-Codex costs $27.70 at list price (Google DeepMind / opencode pricing).
About Gemini 3 Flash Preview
Gemini 3 Flash Preview is a proprietary reasoning llm from Google DeepMind, released Dec 17, 2025. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $0.5 per million input tokens and $3 per million output tokens. It is available from 30 API providers. It scores 152.3 on the Epoch Capabilities Index. Full Gemini 3 Flash Preview specs →
About GPT-5-Codex
GPT-5-Codex is a proprietary reasoning llm from OpenAI, released Sep 15, 2025. It has a 400K-token context window and accepts text, image, pdf input. API pricing starts at $1.07 per million input tokens and $8.50 per million output tokens. It is available from 10 API providers. Full GPT-5-Codex specs →
Compare other models
FAQ
Which is better, Gemini 3 Flash Preview or GPT-5-Codex?
Gemini 3 Flash Preview wins 1 of 1 benchmarks both models report. Gemini 3 Flash Preview is about 2.6× cheaper on a blended (3:1 input:output) token price. Gemini 3 Flash Preview has the larger context window (1M vs 400K).
Is Gemini 3 Flash Preview cheaper than GPT-5-Codex?
Gemini 3 Flash Preview costs $0.5 input / $3 output per 1M tokens; GPT-5-Codex costs $1.07 / $8.50. Gemini 3 Flash Preview is cheaper overall.
Which has a bigger context window?
Gemini 3 Flash Preview: 1,048,576 tokens. GPT-5-Codex: 400,000 tokens.
Are Gemini 3 Flash Preview and GPT-5-Codex open source?
Gemini 3 Flash Preview is proprietary; GPT-5-Codex is proprietary.