AI model comparison

Gemini 3.1 Pro Preview vs GPT-5.4 mini

Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.

Gemini 3.1 Pro Preview from Google lists 1.05M context, 65.54K maximum output, $2.00 input per 1M tokens, $12.00 output per 1M tokens. GPT-5.4 mini from OpenAI lists 400K context, 128K maximum output, $0.75 input per 1M tokens, $4.50 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.

Side-by-sideCapabilities and practical differences

Google

Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview from Google: Reasoning-first Gemini preview for agentic coding and complex problem solving.

Context
1.05M
Max output
65.54K
Input / 1M tokens
$2.00
Output / 1M tokens
$12.00

Accepts

  • Text input
  • Image input
  • Video input
  • Audio input
  • PDF input

Produces

  • Text output
VS

OpenAI

GPT-5.4 mini

GPT-5.4 mini from OpenAI: Strong small GPT for coding subagents, quick tool use, and high-volume work.

Context
400K
Max output
128K
Input / 1M tokens
$0.75
Output / 1M tokens
$4.50

Accepts

  • Text input
  • Image input

Produces

  • Text output

At a glance

Key differences

Compare the available figures below, then try both models on the work you need to do.

Gemini 3.1 Pro Preview

  • Context capacity: 1.05M

GPT-5.4 mini

  • Maximum output: 128K
  • Input price: $0.75
  • Output price: $4.50

Context capacity

Higher listed limit

Gemini 3.1 Pro Preview:1.05M

GPT-5.4 mini:400K

Gemini 3.1 Pro Preview

Maximum output

Higher listed limit

Gemini 3.1 Pro Preview:65.54K

GPT-5.4 mini:128K

GPT-5.4 mini

Input price

Lower listed token rate

Gemini 3.1 Pro Preview:$2.00

GPT-5.4 mini:$0.75

GPT-5.4 mini

Output price

Lower listed token rate

Gemini 3.1 Pro Preview:$12.00

GPT-5.4 mini:$4.50

GPT-5.4 mini

Specifications

Pricing, limits and capabilities

Specifications for Gemini 3.1 Pro Preview and GPT-5.4 mini. Higher limits and lower prices describe these figures only.
SpecificationGemini 3.1 Pro PreviewGPT-5.4 mini
ProviderGoogleOpenAI
Listed pricing routeGoogleOpenAI
Model familygemini-progpt-mini
Accepted inputstext, image, video, audio, pdftext, image
Produced outputstexttext
Context window1.05MHigher400K
Max output65.54K128KHigher
Input price / 1M$2.00$0.75Lower
Output price / 1M$12.00$4.50Lower
Reasoning modeDocumentedDocumented
Tool callingDocumentedDocumented
Image inputDocumentedDocumented
Audio inputDocumentedNot documented
Structured outputDocumentedDocumented
LicenseProprietaryProprietary

Workload guidance

Which model should you choose?

Consider Gemini 3.1 Pro Preview if you need larger context. Consider GPT-5.4 mini if you need larger maximum output or a lower listed input rate or a lower listed output rate. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.

Documentation and model profiles

Explore each model’s features, API requirements and licence terms in the sources below.

Questions people ask

It brings together documented inputs and outputs, token limits, deployment terms and available pricing. When both models have source-linked, verified results on a shared benchmark, those results are shown with their individual sources. The comparison is a starting point for evaluating your own workload.

Compare a different pair

Search by model or provider to explore another comparison.

Open model comparison