Skip to content
llmmodels

Gemini 3.5 Flash vs GLM-5.1

Gemini 3.5 Flash wins 6 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (155.3 vs 150.7). GLM-5.1 is about 2.2× cheaper on a blended (3:1 input:output) token price. Gemini 3.5 Flash has the larger context window (1M vs 200K). GLM-5.1 has open weights, so you can self-host and fine-tune it; Gemini 3.5 Flash is API-only.

SpecGemini 3.5 FlashGLM-5.1
ProviderGoogle DeepMindZhipu AI (Z.ai)
ReleasedMay 19, 2026 (better)Apr 7, 2026
TypeReasoning LLMReasoning LLM
Parameters—754B
Context window1M (better)200K
Max output64K128K (better)
Input price / 1M$1.50$0.896 (better)
Output price / 1M$9$3.59 (better)
Input modalitiestext, image, audio, video, pdf, file (better)text
Open weightsNoYes
LicenseProprietarymit
Reasoning modeYesYes
Tool callingYesYes
API providers3548 (better)
Epoch Capabilities Index155.3 (better)150.7
GPQA Diamond92.8% (better)89.9%
SWE-bench Verified79.3% (better)74.2%
WebDev Arena15061508 (better)
OTIS Mock AIME95.6% (better)93.3%
FrontierMath62.8% (better)36.8%
ARC-AGI-272.1%—
SimpleQA Verified66.2% (better)34.0%

Cost example

For a workload of 10M input + 2M output tokens per month: Gemini 3.5 Flash costs $33.00 and GLM-5.1 costs $16.13 at list price (Google DeepMind / zhipuai pricing).

About Gemini 3.5 Flash

Gemini 3.5 Flash is a proprietary reasoning llm from Google DeepMind, released May 19, 2026. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $1.50 per million input tokens and $9 per million output tokens. It is available from 35 API providers. It scores 155.3 on the Epoch Capabilities Index. Full Gemini 3.5 Flash specs →

About GLM-5.1

GLM-5.1 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Apr 7, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.896 per million input tokens and $3.59 per million output tokens. It is available from 48 API providers. It scores 150.7 on the Epoch Capabilities Index. Full GLM-5.1 specs →

Compare other models

FAQ

Which is better, Gemini 3.5 Flash or GLM-5.1?

Gemini 3.5 Flash wins 6 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (155.3 vs 150.7). GLM-5.1 is about 2.2× cheaper on a blended (3:1 input:output) token price. Gemini 3.5 Flash has the larger context window (1M vs 200K). GLM-5.1 has open weights, so you can self-host and fine-tune it; Gemini 3.5 Flash is API-only.

Is Gemini 3.5 Flash cheaper than GLM-5.1?

Gemini 3.5 Flash costs $1.50 input / $9 output per 1M tokens; GLM-5.1 costs $0.896 / $3.59. GLM-5.1 is cheaper overall.

Which has a bigger context window?

Gemini 3.5 Flash: 1,048,576 tokens. GLM-5.1: 200,000 tokens.

Are Gemini 3.5 Flash and GLM-5.1 open source?

Gemini 3.5 Flash is proprietary; GLM-5.1 is open-weight.