Skip to main content

Head-to-head comparison

Gemini 3.1 Pro Preview vs. GLM-5.3-Flash

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
18
distinct benchmarks
18
latest retrieval
2026-09-04

Change model selection

Specifications

General specifications

Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.

Specifications for Gemini 3.1 Pro Preview and GLM-5.3-Flash
AttributeGemini 3.1 Pro PreviewGLM-5.3-Flash
ProviderGoogleZ.ai
ReleasedFeb 19, 2026Aug 26, 2026
AvailabilityPreviewOpen Source
Model typeProprietaryOpen Weights
ParametersNot published320B, 18B active
ArchitectureNot publishedMixture of Experts
Context window1,048,576 tokens1,000,000 tokens
Knowledge cutoffNot publishedNot published
Technical sourcesModelModel, Context

Pricing

API pricing compared

The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.

API pricing for Gemini 3.1 Pro Preview and GLM-5.3-Flash
Price typeGemini 3.1 Pro PreviewGLM-5.3-Flash
API input$2 ≤200K / $4 >200K$0.07
API output$12 ≤200K / $18 >200K$0.25
Cache read$0.2 ≤200K / $0.4 >200K$0.01
Cache write (5 min.)Not listedNot listed
Cache write (1 hr.)Not listedNot listed
Price verified07/30/2026 Source08/29/2026 Source
Gemini 3.1 Pro PreviewGLM-5.3-Flash
API inputUSD per 1M tokens, base tier
Gemini 3.1 Pro Preview$2
GLM-5.3-FlashLower price$0.075
API outputUSD per 1M tokens, base tier
Gemini 3.1 Pro Preview$12
GLM-5.3-FlashLower price$0.25
Cache readUSD per 1M tokens, base tier
Gemini 3.1 Pro Preview$0.2
GLM-5.3-FlashLower price$0.015

Key to the marks:better valuebetter, but not conclusivetie

Pricing by provider

Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.

Provider pricing for Gemini 3.1 Pro Preview and GLM-5.3-Flash
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Gemini 3.1 Pro PreviewGoogleDirect from developerUp to 200,000 context tokens$2$12Source07/30/2026
GoogleDirect from developerAbove 200,000 context tokens$4$18Source07/30/2026
GoogleVia OpenRoutergoogle-vertex/global$2$12Source09/08/2026
GoogleVia OpenRoutergoogle-vertex/global/flexLowest listed price: $1Lowest listed price: $6Source09/08/2026
GoogleVia OpenRoutergoogle-vertex/global/priority$3.6$21.6Source09/08/2026
Google AI StudioVia OpenRoutergoogle-ai-studio$2$12Source09/08/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/flexLowest listed price: $1Lowest listed price: $6Source09/08/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/priority$3.6$21.6Source09/08/2026
GLM-5.3-FlashZ.aiDirect from developerStandard API$0.075$0.25Source08/29/2026
BaseTenVia OpenRouterbaseten/fp8$0.15$0.5Source09/08/2026
CloudflareVia OpenRoutercloudflare$0.15$0.5Source09/08/2026
CoreWeaveVia OpenRoutercoreweave/fp8$0.15$0.5Source09/08/2026
DeepInfraVia OpenRouterdeepinfra/fp4$0.075$0.25Source09/08/2026
DigitalOceanVia OpenRouterdigitalocean$0.15$0.5Source09/08/2026
FireworksVia OpenRouterfireworks$0.15$0.5Source09/08/2026
FriendliVia OpenRouterfriendli$0.15$0.5Source09/08/2026
GMICloudVia OpenRoutergmicloud/fp8$0.075$0.25Source09/08/2026
Io NetVia OpenRouterio-net/fp8$0.15$0.5Source09/08/2026
MakoraVia OpenRoutermakora$0.14$0.47Source09/08/2026
ModalVia OpenRoutermodal/fp8$0.15$0.4999Source09/08/2026
MorphVia OpenRoutermorph/fp8$0.388$1.358Source09/08/2026
NextBitVia OpenRouternextbit/fp8$0.15$0.5Source09/08/2026
NovitaVia OpenRouternovita/fp8$0.075$0.25Source09/08/2026
ParasailVia OpenRouterparasail/fp8$0.15$0.5Source09/08/2026
PhalaVia OpenRouterphala/fp8$0.15$0.5Source09/08/2026
RekaVia OpenRouterreka/fp8$0.15$0.5Source09/08/2026
RelaceVia OpenRouterrelace/fp4Lowest listed price: $0.0713Lowest listed price: $0.2375Source09/08/2026
Sail ResearchVia OpenRoutersail-research/fp8$0.15$0.5Source09/08/2026
SiliconFlowVia OpenRoutersiliconflow/fp8$0.15$0.5Source09/08/2026
StreamLakeVia OpenRouterstreamlake/fp8$0.135$0.45Source09/08/2026
TogetherVia OpenRoutertogether$0.15$0.5Source09/08/2026
VeniceVia OpenRoutervenice$0.15$0.5Source09/08/2026
WaferVia OpenRouterwafer$0.1$0.35Source09/08/2026
Z.AIVia OpenRouterz-ai/fp8$0.075$0.25Source09/08/2026

Performance

Shared benchmarks

Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.

Capability profile from matched benchmarks

Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.

255075100CodingReasoningMathematicsKnowledgeFinanceLegalAgentic tasksMultimodal
Gemini 3.1 Pro Preview
GLM-5.3-Flash
Coding: 92.5 / 96.8 (4 benchmark families)
Reasoning: 100 / 90.5 (1 benchmark family)
Mathematics: 100 / 80.8 (1 benchmark family)
Knowledge: 100 / 94.6 (1 benchmark family)
Finance: 88.3 / 100 (3 benchmark families)
Legal: 48.6 / 98.7 (3 benchmark families)
Agentic tasks: 100 / 88.9 (1 benchmark family)
Multimodal: 100 / 97.5 (1 benchmark family)

18 matched rows from 18 benchmark families were considered. The radar shows 8 of 11 comparable categories.

Gemini 3.1 Pro PreviewGLM-5.3-Flash
Code MigrationOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview17.313 %
GLM-5.3-FlashWinner20.515 %
CyberBenchOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview36.441 %
GLM-5.3-FlashWinner71.488 %
EMBOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview52.616 %
GLM-5.3-FlashWinner55.932 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview42.982 %
GLM-5.3-FlashWinner57.85 %
GPQA DiamondOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro PreviewWinner95.454 %
GLM-5.3-Flash86.364 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview0 %
GLM-5.3-FlashWinner6.667 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview20.673 %
GLM-5.3-FlashWinner45.192 %
LegalBenchOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro PreviewWinner87.398 %
GLM-5.3-Flash83.928 %
LiveCodeBench v6Overall. Higher is better. No documented setup difference
Gemini 3.1 Pro PreviewWinner88.485 %
GLM-5.3-Flash80.51 %
MedScribeOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro Preview76.114 %
GLM-5.3-FlashWinner88.936 %
MMLU-ProOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro PreviewWinner90.987 %
GLM-5.3-Flash86.059 %
MMMU-ProOverall. Higher is better. No documented setup difference
Gemini 3.1 Pro PreviewWinner88.208 %
GLM-5.3-Flash86.012 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Gemini 3.1 Pro Preview and GLM-5.3-Flash
Benchmark and taskGemini 3.1 Pro PreviewGLM-5.3-FlashSource
Code MigrationOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
17.313 %
Winner20.515 %
Vals AI
Source details
Data as of: 09/03/2026
CyberBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
36.441 %
Winner71.488 %
Vals AI
Source details
Data as of: 09/01/2026
EMBOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
52.616 %
Winner55.932 %
Vals AI
Source details
Data as of: 09/03/2026
Finance Agent (v2)Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is better
42.982 %
Winner57.85 %
Vals AI
Source details
Data as of: 09/03/2026
GPQA DiamondOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner95.454 %
86.364 %
Vals AI
Source details
Data as of: 09/01/2026
Harvey's Legal Agent BenchmarkOverall · Task fully resolved
Test details
No documented difference in the test setupVersion: 1Metric: task resolution rateScoring: Higher is better
0 %
Winner6.667 %
Vals AI
Source details
Data as of: 09/03/2026
Legal Research BenchOverall · All-pass
Test details
No documented difference in the test setupVersion: 1Metric: all-pass rateScoring: Higher is better
20.673 %
Winner45.192 %
Vals AI
Source details
Data as of: 09/03/2026
LegalBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner87.398 %
83.928 %
Vals AI
Source details
Data as of: 09/01/2026
LiveCodeBench v6Overall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner88.485 %
80.51 %
Vals AI
Source details
Data as of: 09/01/2026
MedScribeOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
76.114 %
Winner88.936 %
Vals AI
Source details
Data as of: 09/03/2026
MMLU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner90.987 %
86.059 %
Vals AI
Source details
Data as of: 09/01/2026
MMMU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner88.208 %
86.012 %
Vals AI
Source details
Data as of: 09/01/2026
ProofBenchOverall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is better
Winner26 %
21 %
Vals AI
Source details
Data as of: 09/01/2026
SWE-bench VerifiedOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
78.8 %
Winner92 %
Vals AI
Source details
Data as of: 09/01/2026
TaxEval v2Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is better
72.882 %
Winner75.593 %
Vals AI
Source details
Data as of: 09/01/2026
Terminal-Bench 2.1Overall
Test details
No documented difference in the test setupVersion: 2.1Metric: accuracyScoring: Higher is better
Winner70.787 %
62.921 %
Vals AI
Source details
Data as of: 09/03/2026
Vals IndexOverall
Test details
No documented difference in the test setupVersion: 2Metric: weighted index scoreScoring: Higher is better
41.903 %
Winner47.216 %
Vals AI
Source details
Data as of: 09/03/2026
Vibe Code Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is betterSettings: Harness: OpenHands
Winner32.034 %
30.759 %
Vals AI
Source details
Data as of: 09/03/2026

Key to the marks:better valuebetter, but not conclusivetie

Our model tests

Community tests you can inspect

Compare how the models respond to the same prompt. Each test shows the first attempt, with no subsequent fixes to the generated code. These results do not contribute to an overall score.

Pelican on a bicycle

A community classic for free-form SVG drawing.

Gemini 3.1 Pro Preview

API access was unavailable for this run. The model was not evaluated.

First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
google/gemini-3.1-pro-preview
Pinned endpoint
Google AI Studio | google/gemini-3.1-pro-preview-20260219
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Not run

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

GLM-5.3-Flash

API access was unavailable for this run. The model was not evaluated.

First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
z-ai/glm-5.3-flash
Pinned endpoint
Z.AI | z-ai/glm-5.3-flash-20260826
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Not run

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

How to read this comparison

Winning one benchmark is not an overall verdict

Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.

The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.

Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.

More matchups

Compare Gemini 3.1 Pro Preview and GLM-5.3-Flash with other leading models using the same data and benchmark logic.

View the complete LLM comparison