AI model comparison

Gemini 3.8 Flash vs GPT-5.4

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown
Context tokens
1.05M
Input / 1M
$0.825
Output / 1M
$4.125

OpenAI

GPT-5.4
Context tokens
1.05M
Input / 1M
$2.50
Output / 1M
$15.00
Benchmark snapshot
Code Completion
Gemini 3.8 FlashGPT-5.4
71.739%
80.435%

Percent score · Result source · Test method

Catalog checked Nov 27, 202623 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
Gemini 3.8 Flash and GPT-5.4 scored 71.739% and 80.435%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $1.8563 for Gemini 3.8 Flash and $6.25 for GPT-5.4.
Context window
GPT-5.4 lists 1,050,000 tokens of context. Gemini 3.8 Flash lists 1,048,576 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

Gemini 3.8 FlashGPT-5.4

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

71.739%
80.435%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

73.239%
74.648%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

72.727%
68.182%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

50%
50%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

40%
43.333%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

99%
98%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
100%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

20.612%
86.19%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh
Show 15 more shared results

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80%
93%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

82%
68%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

95.098%
94.118%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

92.159%
91.474%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80%
63.433%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

73.378%
65.901%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

75.4%
70%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
98%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

82.75%
79.017%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

87.5%
68.417%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

45.327%
51.75%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

96.078%
100%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

76.923%
88.462%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

90%
82%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98.25%
98%
Test configurations
Gemini 3.8 Flash
gemini-3.8-flash-high
GPT-5.4
gpt-5.4-xhigh
View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

Gemini 3.8 Flash

BenchmarkScoreConfigurationSource model labelEvidence
Long Agentic30.1%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Reasoning89.3%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Coding82.2%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Browser64%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Data Analysis54%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Research79.1%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Design72.7%gemini-3.8-flash · Suite release Oct 14, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Long Agentic16.5%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Reasoning89.3%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Coding82.2%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Browser45.1%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Data Analysis54%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Research79.1%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Design72.7%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Long Agentic16.5%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Reasoning89.3%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Coding73.3%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Browser45.1%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Data Analysis54%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Research79.4%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Design69.7%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method

GPT-5.4

BenchmarkScoreConfigurationSource model labelEvidence
GPQA Diamond92.8%xhigh effort · Mar 5, 2026UnavailableResult source
MMMU-Pro81.2%no tools; xhigh effort · Mar 5, 2026UnavailableResult source
MMMU-Pro82.1%with tools; xhigh effort · Mar 5, 2026UnavailableResult source
OSWorld-Verified75%research environment; xhigh effort · Mar 5, 2026UnavailableResult source
Humanity's Last Exam39.8%no tools; xhigh effort · Mar 5, 2026UnavailableResult source
Humanity's Last Exam52.1%with tools; xhigh effort · Mar 5, 2026UnavailableResult source
Terminal-Bench 2.075.1%xhigh effort; research environment · Mar 5, 2026UnavailableResult source
SWE-Bench Pro (Public)57.7%xhigh effort · Mar 5, 2026UnavailableResult source
GDPval83%xhigh effort · Mar 5, 2026UnavailableResult source
BrowseComp82.7%xhigh effort · Mar 5, 2026UnavailableResult source
WebArena-Verified67.3%DOM + screenshot driven · Mar 5, 2026UnavailableResult source
Online-Mind2Web92.8%screenshot-based observations · Mar 5, 2026UnavailableResult source

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensGemini 3.8 FlashGPT-5.4
Uncached input$0.825$2.50
Output$4.125$15.00
Cache read$0.0825$0.25
Cache write$0.0417Unavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

Gemini 3.8 Flash$1.8563
GPT-5.4$6.25

Gemini 3.8 Flash costs $4.3938 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationGemini 3.8 FlashGPT-5.4
Catalog statusListedListed
Catalog model IDgoogle/gemini-3.8-flashopenai/gpt-5.4
ProviderGoogleOpenAI
Context window1,048,576 tokens1,050,000 tokens
Max output65,536 tokens128,000 tokens
Input modalitiesText, Image, Video, File, AudioText, Image, File
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateSep 2, 2026Mar 5, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

Gemini 3.8 Flash

Weave Router availability is unverified for this model ID.

GPT-5.4

Listed in the public Router catalog.

gpt-5.4

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology