Compare Gemini 3.1 Pro Preview by Google AI against GPT-5.1-Codex by OpenAI, context windows of 1.0M vs 400K, tested across 52 shared challenges.
No community votes yet. On paper, Gemini 3.1 Pro Preview has the edge — newer, bigger context window.
GPT-5.1-Codex is cheaper on both — 1.6× input, 1.2× output
GPT-5.1-Codex uses 2.7x more transitions
Compare Gemini 3.1 Pro Preview by Google AI against GPT-5.1-Codex by OpenAI, context windows of 1.0M vs 400K, tested across 52 shared challenges.
No community votes yet. On paper, Gemini 3.1 Pro Preview has the edge — newer, bigger context window.
GPT-5.1-Codex is cheaper on both — 1.6× input, 1.2× output
GPT-5.1-Codex uses 2.7x more transitions