Back to models

Model compare

Gemini 3.1 Pro vs GPT-4

The readout for Gemini 3.1 Pro and GPT-4, before the detailed comparison sheet.

Key Takeaways

Weighted outcome: Gemini 3.1 Pro. Benchmark capability categories carry 80%, while price, API performance, and availability carry 20%.

Decision read

Gemini 3.1 Pro

Gemini 3.1 Pro has the higher weighted result; Model A / B score 96 to 4.

Evidence depth

65 data points

Includes 0 benchmark rows, 0 audit samples, and 10 provider examples.

Selection signal

Start with Gemini 3.1 Pro

The charts below split 10 high-signal samples across speed, scores, and audit health.

Change comparison

Switch either side of this report to compare another model with the same LMSpeed data pipeline.

Select a different model to open a new comparison URL.

Comparison sheet

This report only uses LMSpeed data for Gemini 3.1 Pro and GPT-4: pricing, speed aggregates, third-party benchmark scores, and shared provider samples.

Model compare
Gemini 3.1 Pro
GPT-4
Overall leaderLeadingContender
Weighted overall score96.0 pts4.0 pts
Benchmark category leads3 categories0 categories
Operational advantagesCheapest input price, Average speed, Free providers, Provider coverageFirst-token latency
Context window1.0M tokens8.2K tokens
Max output65.5K tokens4.1K tokens
Modalities

Input

AudioFileImageTextvideo

Output

Text

Input

Text

Output

Text
Features
Text inputImage inputFile inputAudio inputText outputTool callingStructured outputsJSON modeReasoning
Text inputText outputTool callingStructured outputsJSON mode

The overall result weights benchmark capability categories at 80% and price, API speed/latency, and availability at 20%. Recent test volume does not affect the winner, and missing benchmark categories are excluded.

Model metadata

Model compare
Gemini 3.1 Pro
GPT-4
DeveloperGoogleOpenAI
ReleasedFeb 2026May 2023
ParametersNo dataNo data
TokenizerGeminiGPT
Knowledge cutoffNo data2021-09-30
OpenRouter IDgoogle/gemini-3.1-pro-previewopenai/gpt-4
ReferencesNo dataNo data

When to choose each model

This report only uses LMSpeed data for Gemini 3.1 Pro and GPT-4: pricing, speed aggregates, third-party benchmark scores, and shared provider samples.

Gemini 3.1 Pro

Gemini 3.1 Pro is stronger in benchmark categories (Coding, Reasoning, Math) and operational dimensions (Cheapest input price, Average speed, Free providers, Provider coverage).

GPT-4

GPT-4 has these operational advantages: First-token latency.

Benchmark score comparison

Third-party benchmark profile synced into LMSpeed; only metrics available for both models are shown.

Category performance

Compare benchmark category scores on a 0-100 scale. Select a category to inspect the gap.

Model A coverage
8 / 8
Model B coverage
3 / 8
Shared
3 shared categories

Avg. score

Gemini 3.1 Pro

57

Avg. score

GPT-4

41.2

Agents

Gemini 3.1 Pro

Gemini 3.1 Pro50.2
GPT-4-

Coding

Gemini 3.1 Pro leads by 11.0

Gemini 3.1 Pro57.2
GPT-446.2

Reasoning

Gemini 3.1 Pro leads by 20.6

Gemini 3.1 Pro57.4
GPT-436.8

Knowledge

Gemini 3.1 Pro

Gemini 3.1 Pro57
GPT-4-

Math

Gemini 3.1 Pro leads by 13.9

Gemini 3.1 Pro54.6
GPT-440.7

Multilingual

Gemini 3.1 Pro

Gemini 3.1 Pro69.3
GPT-4-

Multimodal

Gemini 3.1 Pro

Gemini 3.1 Pro55.1
GPT-4-

Instruction following

Gemini 3.1 Pro

Gemini 3.1 Pro55.3
GPT-4-

Professional benchmark details

Metric-level scores with benchmark source, rank depth, confidence, error, and evaluation date where available.

No shared professional benchmark scores are available yet.

API audit comparison

Latest completed audits from shared providers, with four safety and integrity score groups plus report links.

Provider
Gemini 3.1 Pro
GPT-4
No completed audits are available from shared providers yet.

Provider examples

Speed aggregates and input/output pricing share each provider row for real API selection and migration cost checks.

Provider
Gemini 3.1 Pro
GPT-4

Gemini 3.1 Pro

speed / latency

102 tok/s / 12933ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

Gemini 3.1 Pro

speed / latency

101 tok/s / 15025ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

艾可API5 tests

Gemini 3.1 Pro

speed / latency

70 tok/s / 18615ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

速创API5 tests

Gemini 3.1 Pro

speed / latency

105 tok/s / 12723ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

Gemini 3.1 Pro

speed / latency

N/A / N/A

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

Gemini 3.1 Pro

gemini-3.1-pro-preview

speed / latency

No data

input / output

$0/request

GPT-4

gpt-4

speed / latency

No data

input / output

$0/request

Gemini 3.1 Pro

gemini-3.1-pro-preview

speed / latency

No data

input / output

$0.0052/request

GPT-4

gpt-4-all

speed / latency

No data

input / output

$0.014/request

Gemini 3.1 Pro

gemini-3.1-pro-preview-c

speed / latency

No data

input / output

$0.0055/request

GPT-4

gpt-4-0125-preview

speed / latency

No data

input / output

$2.05/M/$4.11/M

Gemini 3.1 Pro

gemini-3.1-pro-preview

speed / latency

No data

input / output

$0.274/M/$1.64/M

GPT-4

gpt-4-all

speed / latency

No data

input / output

$0.011/request

Gemini 3.1 Pro

gemini-3.1-pro-preview

speed / latency

No data

input / output

$0.274/M/$1.64/M

GPT-4

gpt-4-all

speed / latency

No data

input / output

$0.011/request

FAQ

Weighted outcome: Gemini 3.1 Pro. Benchmark capability categories carry 80%, while price, API performance, and availability carry 20%.

Why is this comparison indexable?
It has 6 verifiable comparison points, and both models have pricing or benchmark data.
Are missing metrics invented?
No. Metrics without LMSpeed data are omitted from this report.

Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.