LLM Comparison

Gemma 4 31B vs GPT-5.4

Side-by-side specs, pricing & capabilities · Updated October 2026

Price vs Intelligence

8470574431$0.18$2.98$5.78$8.58$11.38Avg Price per M tokensIntelligenceGemma 4 31B40.8 / $0.26GPT-5.473.7 / $8.75

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31BOpenAIGPT-5.4
OrganizationGoogleGoogleOpenAIOpenAI
OpenTools Score
41
160
74
8.4
FamilyGemmaGPT
StatusCurrentCurrent
Release DateApr 2026Mar 2026
Context Window262K tokens1.1M tokens
Input Price$0.13/M tokens$2.50/M tokens
Output Price$0.38/M tokens$15.00/M tokens
Pricing NotesCache read: $0.0200/M tokensCache read: $0.2500/M tokens
Capabilities
textvisionvideocode
textvisioncode
Training Cutoff—Aug 31, 2025
Max Output—128K tokens
API Identifiergoogle/gemma-4-31b-itopenai/gpt-5.4
Benchmarks
Artificial Analysis Intelligence Index v4.3
15.4157artificial-analysis
—
GPQA Diamond
85.6566artificial-analysis
93openai
SciCode
45.4861artificial-analysis
—
Terminal-Bench 2.1
43.4457artificial-analysis
78.2772artificial-analysis
SWE-bench Pro—
57.7openai
OSWorld-Verified—
75openai
Terminal-Bench 2.0—
75.1openai
ARC-AGI-2—
73.3openai
BrowseComp—
82.7openai
MMMU-Pro—
81.2openai
MATH-500—
94.6openai
 View Gemma 4 31BView GPT-5.4

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Gemma 4 31BCheapest$0.13$0.19$0.32—
GPT-5.4$2.50$7.50$10.00+3025%

Looking for more AI models?

Browse All LLMs