head-to-head

OpenAI: GPT-5.4 vs Google: Gemini 3.1 Pro Preview Custom Tools

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-04-30.

OpenAI: GPT-5.4 Google: Gemini 3.1 Pro Preview Custom Tools
Vendoropenaigoogle
Quality Score100100
Input Price$2.50/M$2.00/M
Output Price$15.00/M$12.00/M
Context Window1,050,0001,048,576
Max Output128,00065,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-

Who wins by task?

TaskOpenAI: GPT-5.4Google: Gemini 3.1 Pro Preview Custom Tools
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

NVIDIA: Nemotron 3 Nano Omni (free) vs OpenAI: GPT-5.4 NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemini 3.1 Pro Preview Custom Tools Anthropic Claude Haiku Latest vs OpenAI: GPT-5.4 Anthropic Claude Haiku Latest vs Google: Gemini 3.1 Pro Preview Custom Tools OpenAI GPT Mini Latest vs OpenAI: GPT-5.4 OpenAI GPT Mini Latest vs Google: Gemini 3.1 Pro Preview Custom Tools Google Gemini Pro Latest vs OpenAI: GPT-5.4 Google Gemini Pro Latest vs Google: Gemini 3.1 Pro Preview Custom Tools