head-to-head

OpenAI: GPT-5.4 Mini vs Google: Gemini 3.1 Flash Lite Preview

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

OpenAI: GPT-5.4 Mini Google: Gemini 3.1 Flash Lite Preview
Vendoropenaigoogle
Quality Score100100
Benchmark Score81.0-
Input Price$0.75/M$0.25/M
Output Price$4.50/M$1.50/M
Context Window400,0001,048,576
Max Output128,00065,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index66.0-
ai_index_agentic97.1-
ai_index_coding84.9-

Who wins by task?

TaskOpenAI: GPT-5.4 MiniGoogle: Gemini 3.1 Flash Lite Preview
SQL Generation 169 133
Code Review 163 132
Code Completion 132 131
Code Refactoring 161 136
Bug Fixing 179 136
Unit Test Generation 151 124
Code Documentation 141 131
Regex Writing 134 119
CI/CD Pipelines 142 120
Frontend Component Design 144 122
Data Analysis 169 124
CSV / Spreadsheet Cleanup 151 133
ETL Scripting 151 128
JSON Extraction 146 131
Bulk Data Labeling 133 129
OCR / Document Parsing 144 131
Table Extraction from PDFs 144 131
Long-Document Summarization 157 137
Short-Form Summarization 130 123
Blog Post Writing 138 121

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

MoonshotAI: Kimi K2.7 Code vs OpenAI: GPT-5.4 Mini MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.1 Flash Lite Preview Qwen: Qwen3.7 Plus vs OpenAI: GPT-5.4 Mini Qwen: Qwen3.7 Plus vs Google: Gemini 3.1 Flash Lite Preview MiniMax: MiniMax M3 vs OpenAI: GPT-5.4 Mini MiniMax: MiniMax M3 vs Google: Gemini 3.1 Flash Lite Preview StepFun: Step 3.7 Flash vs OpenAI: GPT-5.4 Mini StepFun: Step 3.7 Flash vs Google: Gemini 3.1 Flash Lite Preview