Skip to content
llmmodels

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).

SpecGemini 3 Flash PreviewGPT-5-Codex
ProviderGoogle DeepMindOpenAI
ReleasedDec 17, 2025 (better)Sep 15, 2025
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M (better)400K
Max output64K125K (better)
Input price / 1M$0.5 (better)$1.07
Output price / 1M$3 (better)$8.50
Input modalitiestext, image, audio, video, pdf, file (better)text, image, pdf
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers30 (better)10
Epoch Capabilities Index152.3—
GPQA Diamond89.4%—
SWE-bench Verified75.4%—
Terminal-Bench64.3% (better)44.3%
WebDev Arena1383—
OTIS Mock AIME95.6%—
FrontierMath51.2%—
ARC-AGI-233.6%—
SimpleQA Verified66.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.