head-to-head
OpenAI: GPT-5.4 vs Google: Gemini 3.1 Pro Preview
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-05-05.
| OpenAI: GPT-5.4 | Google: Gemini 3.1 Pro Preview | |
|---|---|---|
| Vendor | openai | |
| Quality Score | 100 | 100 |
| Input Price | $2.50/M | $2.00/M |
| Output Price | $15.00/M | $12.00/M |
| Context Window | 1,050,000 | 1,048,576 |
| Max Output | 128,000 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | ✓ |
Who wins by task?
| Task | OpenAI: GPT-5.4 | Google: Gemini 3.1 Pro Preview |
|---|---|---|
| SQL Generation | 132 | 132 |
| Code Completion | 116 | 117 |
| Code Documentation | 128 | 129 |
| Regex Writing | 116 | 117 |
| CSV / Spreadsheet Cleanup | 132 | 132 |
| JSON Extraction | 120 | 121 |
| Bulk Data Labeling | 116 | 117 |
| Long-Document Summarization | 136 | 136 |
| Short-Form Summarization | 112 | 113 |
| Blog Post Writing | 120 | 120 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
xAI: Grok 4.3 vs OpenAI: GPT-5.4
xAI: Grok 4.3 vs Google: Gemini 3.1 Pro Preview
Mistral: Mistral Medium 3.5 vs OpenAI: GPT-5.4
Mistral: Mistral Medium 3.5 vs Google: Gemini 3.1 Pro Preview
NVIDIA: Nemotron 3 Nano Omni (free) vs OpenAI: GPT-5.4
NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemini 3.1 Pro Preview
Anthropic Claude Haiku Latest vs OpenAI: GPT-5.4
Anthropic Claude Haiku Latest vs Google: Gemini 3.1 Pro Preview