← Back to Calculator

GPT-5.4 mini vs Gemini 3.5 Flash

Detailed comparison of API pricing, technical specifications, and benchmark scores. Updated 2026-07-09.

Cost at a Glance

Gemini 3.5 Flash is 2× more expensive than GPT-5.4 mini — switching could save 50% on your monthly API bill.

At 5M input + 2M output tokens per month:

GPT-5.4 mini$12.75/movsGemini 3.5 Flash$25.50/mo

Choosing GPT-5.4 mini could save you $12.75/mo

Price Comparison (per 1M tokens)

Input (per 1M tokens)
$0.75vs$1.50
Output (per 1M tokens)
$4.50vs$9.00
Cache Write (per 1M tokens)
$0.94vs
Cache Read (per 1M tokens)
$0.07vs$0.15
Batch Input (per 1M tokens)
$0.38vs
Batch Output (per 1M tokens)
$2.25vs

Prices are per 1 million tokens. Actual costs depend on your monthly token volume. Use the calculator →

Specifications

Context Window
400Kvs1M
Max Output Tokens
128Kvs64K
Knowledge Cutoff
2025-08vs2026-04
Modalities
Text, ImagevsText, Image
Prompt Caching
YesvsYes
Batch API
YesvsNo
Thinking / Reasoning
YesvsNo

Benchmark Scores

SWE-bench Verified
72.0vs65.0
MMLU-Pro
78.0vs80.0
HumanEval
89.0vs90.0

Benchmark scores from official provider reports. Higher is better. Missing scores indicate the provider has not published that benchmark yet.

Use Cases

GPT-5.4 mini

fastcheapcodinggeneral

Gemini 3.5 Flash

fastmultimodal

About the Providers

GPT-5.4 mini is developed by OpenAI. Gemini 3.5 Flash is developed by Google. This is a cross-provider comparison between OpenAI and Google models. For the most up-to-date pricing, always check the official API documentation from each provider.

Compare More AI Models