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