Skip to main content

Head-to-head comparison

GPT-5.4 mini vs. Gemini 3.8 Flash

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
17
distinct benchmarks
17
latest retrieval
2026-09-02

Change model selection

Specifications

General specifications

Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.

Specifications for GPT-5.4 mini and Gemini 3.8 Flash
AttributeGPT-5.4 miniGemini 3.8 Flash
ProviderOpenAIGoogle
ReleasedMar 2026Sep 2, 2026
AvailabilityActiveActive
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window400,000 tokens1,048,576 tokens
Knowledge cutoffAugust 31, 2025March 2026
Technical sourcesModelModel, Knowledge cutoff

Pricing

API pricing compared

The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.

API pricing for GPT-5.4 mini and Gemini 3.8 Flash
Price typeGPT-5.4 miniGemini 3.8 Flash
API input$0.75$0.75
API output$4.5$3.75
Cache read$0.07$0.07
Cache write (5 min.)Not listedNot listed
Cache write (1 hr.)Not listedNot listed
Price verified07/30/2026 Source09/02/2026 Source
GPT-5.4 miniGemini 3.8 Flash
API inputUSD per 1M tokens, base tier
GPT-5.4 miniTie$0.75
Gemini 3.8 FlashTie$0.75
API outputUSD per 1M tokens, base tier
GPT-5.4 mini$4.5
Gemini 3.8 FlashLower price$3.75
Cache readUSD per 1M tokens, base tier
GPT-5.4 miniTie$0.075
Gemini 3.8 FlashTie$0.075

Key to the marks:better valuebetter, but not conclusivetie

Pricing by provider

Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.

Provider pricing for GPT-5.4 mini and Gemini 3.8 Flash
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
GPT-5.4 miniOpenAIDirect from developerStandard API$0.75$4.5Source07/30/2026
AzureVia OpenRouterazure$0.75$4.5Source09/02/2026
AzureVia OpenRouterazure/us$0.825$4.95Source09/02/2026
OpenAIVia OpenRouteropenai$0.75$4.5Source09/02/2026
OpenAIVia OpenRouteropenai/fast$1.5$9Source09/02/2026
OpenAIVia OpenRouteropenai/flexLowest listed price: $0.375Lowest listed price: $2.25Source09/02/2026
Gemini 3.8 FlashGoogleDirect from developerStandard API$0.75$3.75Source09/02/2026
GoogleVia OpenRoutergoogle-vertex/global$0.75$3.75Source09/02/2026
GoogleVia OpenRoutergoogle-vertex/global/flexLowest listed price: $0.375Lowest listed price: $1.875Source09/02/2026
GoogleVia OpenRoutergoogle-vertex/global/priority$1.35$6.75Source09/02/2026
Google AI StudioVia OpenRoutergoogle-ai-studio$0.75$3.75Source09/02/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/flexLowest listed price: $0.375Lowest listed price: $1.875Source09/02/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/priority$1.35$6.75Source09/02/2026

Performance

Shared benchmarks

Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.

Capability profile from matched benchmarks

Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.

255075100CodingReasoningKnowledgeFinanceLegalAgentic tasksMultimodalEducation
GPT-5.4 mini
Gemini 3.8 Flash
Coding: 55.7 / 100 (5 benchmark families)
Reasoning: 88 / 100 (1 benchmark family)
Knowledge: 93.7 / 100 (1 benchmark family)
Finance: 82.4 / 100 (4 benchmark families)
Legal: 16 / 100 (2 benchmark families)
Agentic tasks: 67.3 / 100 (1 benchmark family)
Multimodal: 89 / 100 (1 benchmark family)
Education: 100 / 69 (1 benchmark family)

17 matched rows from 17 benchmark families were considered. The radar shows 8 of 9 comparable categories.

GPT-5.4 miniGemini 3.8 Flash
Code MigrationOverall. Higher is better. No documented setup difference
GPT-5.4 mini12.936 %
Gemini 3.8 FlashWinner36.546 %
EMBOverall. Higher is better. No documented setup difference
GPT-5.4 mini45.426 %
Gemini 3.8 FlashWinner72.196 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
GPT-5.4 mini45.36 %
Gemini 3.8 FlashWinner61.435 %
GPQA DiamondOverall. Higher is better. No documented setup difference
GPT-5.4 mini83.08 %
Gemini 3.8 FlashWinner94.444 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
GPT-5.4 mini0 %
Gemini 3.8 FlashWinner10 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
GPT-5.4 mini12.5 %
Gemini 3.8 FlashWinner38.942 %
LiveCodeBench v6Overall. Higher is better. No documented setup difference
GPT-5.4 mini81.465 %
Gemini 3.8 FlashWinner89.484 %
MMLU-ProOverall. Higher is better. No documented setup difference
GPT-5.4 mini84.554 %
Gemini 3.8 FlashWinner90.221 %
MMMU-ProOverall. Higher is better. No documented setup difference
GPT-5.4 mini79.249 %
Gemini 3.8 FlashWinner89.075 %
MortgageTaxOverall. Higher is better. No documented setup difference
GPT-5.4 mini63.514 %
Gemini 3.8 FlashWinner65.342 %
ProgramBenchOverall. Higher is better. No documented setup difference
GPT-5.4 mini0 %
Gemini 3.8 FlashWinner1 %
SAGEOverall. Higher is better. No documented setup difference
GPT-5.4 miniWinner50.813 %
Gemini 3.8 Flash35.064 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for GPT-5.4 mini and Gemini 3.8 Flash
Benchmark and taskGPT-5.4 miniGemini 3.8 FlashSource
Code MigrationOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
12.936 %
Winner36.546 %
Vals AI
Source details
Data as of: 09/01/2026
EMBOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
45.426 %
Winner72.196 %
Vals AI
Source details
Data as of: 09/01/2026
Finance Agent (v2)Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
45.36 %
Winner61.435 %
Vals AI
Source details
Data as of: 09/01/2026
GPQA DiamondOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
83.08 %
Winner94.444 %
Vals AI
Source details
Data as of: 09/01/2026
Harvey's Legal Agent BenchmarkOverall · Task fully resolved
Test details
No documented difference in the test setupVersion: 1Metric: task resolution rateScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
0 %
Winner10 %
Vals AI
Source details
Data as of: 09/01/2026
Legal Research BenchOverall · All-pass
Test details
No documented difference in the test setupVersion: 1Metric: all-pass rateScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
12.5 %
Winner38.942 %
Vals AI
Source details
Data as of: 09/01/2026
LiveCodeBench v6Overall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
81.465 %
Winner89.484 %
Vals AI
Source details
Data as of: 09/01/2026
MMLU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
84.554 %
Winner90.221 %
Vals AI
Source details
Data as of: 09/01/2026
MMMU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
79.249 %
Winner89.075 %
Vals AI
Source details
Data as of: 09/01/2026
MortgageTaxOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
63.514 %
Winner65.342 %
Vals AI
Source details
Data as of: 09/01/2026
ProgramBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
0 %
Winner1 %
Vals AI
Source details
Data as of: 09/01/2026
SAGEOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
Winner50.813 %
35.064 %
Vals AI
Source details
Data as of: 09/01/2026
SWE-bench VerifiedOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
73 %
Winner80 %
Vals AI
Source details
Data as of: 09/01/2026
TaxEval v2Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
71.218 %
Winner74.448 %
Vals AI
Source details
Data as of: 09/01/2026
Terminal-Bench 2.1Overall
Test details
No documented difference in the test setupVersion: 2.1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
54.682 %
Winner81.273 %
Vals AI
Source details
Data as of: 09/01/2026
Vals IndexOverall
Test details
No documented difference in the test setupVersion: 2Metric: weighted index scoreScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17
39.632 %
Winner62.252 %
Vals AI
Source details
Data as of: 09/01/2026
Vibe Code Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is betterGPT-5.4 mini: Snapshot: gpt-5.4-mini-2026-03-17, Harness: OpenHands
Gemini 3.8 Flash: Harness: OpenHands
47.969 %
Winner78.651 %
Vals AI
Source details
Data as of: 09/01/2026

Key to the marks:better valuebetter, but not conclusivetie

How to read this comparison

Winning one benchmark is not an overall verdict

Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.

The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.

Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.

More matchups

Compare GPT-5.4 mini and Gemini 3.8 Flash with other leading models using the same data and benchmark logic.

View the complete LLM comparison