token.app โ€บ Compare โ€บ GPT-5.4 vs Gemini 3.1 Pro Preview

GPT-5.4 vs Gemini 3.1 Pro Preview

GPT-5.4 leads on 3 of 5 shared benchmarks. Gemini 3.1 Pro Preview is 1.3ร— cheaper per token on a blended 3:1 basis. GPT-5.4 accepts the larger context window (1.1M).

Head to head
Blended price uses a 3:1 input:output mix
GPT-5.4Gemini 3.1 Pro Preview
ProviderOpenAIGoogle
Input $/1M$2.50$2.00
Output $/1M$15.00$12.00
Blended $/1M$5.63$4.50
Context window1.1M1.0M
Max output128K66K
ReleasedMar 2026Feb 2026
LicenceProprietaryProprietary
GPQA Diamond 93.3% 94.4%
FrontierMath T1โ€“3 78.6% 59.6%
FrontierMath T4 49.0% 26.8%
SimpleQA Verified 44.8% 77.3%
OTIS Mock AIME 97.8% 95.6%
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose GPT-5.4 ifโ€ฆ
  • Higher FrontierMath T1โ€“3 (78.6% vs 59.6%)
  • Higher FrontierMath T4 (49.0% vs 26.8%)
  • Higher OTIS Mock AIME (97.8% vs 95.6%)
  • Larger context window (1.1M)
  • Newer model (released Mar 2026)
Choose Gemini 3.1 Pro Preview ifโ€ฆ
  • Costs less per token โ€” $4.50 vs $5.63 blended
  • Higher GPQA Diamond (94.4% vs 93.3%)
  • Higher SimpleQA Verified (77.3% vs 44.8%)
FAQ
Which is better, GPT-5.4 or Gemini 3.1 Pro Preview?
Across the 5 benchmarks both models have independently-run scores for, GPT-5.4 leads on 3 and Gemini 3.1 Pro Preview leads on 2. Benchmarks are one input โ€” price and context window are on this page too.
Is GPT-5.4 cheaper than Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview is cheaper: $4.50 versus $5.63 per million tokens blended at 3:1 input:output. Input alone: $2.50 vs $2.00. Output alone: $15.00 vs $12.00.
What context windows do GPT-5.4 and Gemini 3.1 Pro Preview have?
GPT-5.4: 1,050,000 tokens. Gemini 3.1 Pro Preview: 1,048,576 tokens.
Who makes GPT-5.4 and Gemini 3.1 Pro Preview?
GPT-5.4 is made by OpenAI. Gemini 3.1 Pro Preview is made by Google.
Related comparisons