head-to-head
OpenAI: GPT-5.4 Mini vs Google: Gemini 3.1 Pro Preview Custom Tools
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-04-29.
| OpenAI: GPT-5.4 Mini | Google: Gemini 3.1 Pro Preview Custom Tools | |
|---|---|---|
| Vendor | openai | |
| Quality Score | 100 | 100 |
| Input Price | $0.75/M | $2.00/M |
| Output Price | $4.50/M | $12.00/M |
| Context Window | 400,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 Mini | Google: Gemini 3.1 Pro Preview Custom Tools |
|---|---|---|
| SQL Generation | 133 | 132 |
| Code Completion | 130 | 117 |
| Code Documentation | 130 | 129 |
| Regex Writing | 119 | 117 |
| CSV / Spreadsheet Cleanup | 133 | 132 |
| JSON Extraction | 130 | 121 |
| Bulk Data Labeling | 128 | 117 |
| Long-Document Summarization | 137 | 136 |
| Short-Form Summarization | 123 | 113 |
| Blog Post Writing | 121 | 120 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
NVIDIA: Nemotron 3 Nano Omni (free) vs OpenAI: GPT-5.4 Mini
NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemini 3.1 Pro Preview Custom Tools
Anthropic Claude Haiku Latest vs OpenAI: GPT-5.4 Mini
Anthropic Claude Haiku Latest vs Google: Gemini 3.1 Pro Preview Custom Tools
OpenAI GPT Mini Latest vs OpenAI: GPT-5.4 Mini
OpenAI GPT Mini Latest vs Google: Gemini 3.1 Pro Preview Custom Tools
Google Gemini Pro Latest vs OpenAI: GPT-5.4 Mini
Google Gemini Pro Latest vs Google: Gemini 3.1 Pro Preview Custom Tools