Skip to content
llmmodels

Gemini 3.8 Flash vs GLM-5.1

Gemini 3.8 Flash wins 6 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (158.8 vs 150.7). Gemini 3.8 Flash is slightly cheaper on a blended (3:1 input:output) token price. Gemini 3.8 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.8 Flash is API-only.

SpecGemini 3.8 FlashGLM-5.1
ProviderGoogle DeepMindZhipu AI (Z.ai)
ReleasedSep 2, 2026 (better)Apr 7, 2026
TypeReasoning LLMReasoning LLM
Parameters—754B
Context window1M (better)200K
Max output64K128K (better)
Input price / 1M$0.75 (better)$0.896
Output price / 1M$3.75$3.59 (better)
Input modalitiestext, image, audio, video, pdf, file (better)text
Open weightsNoYes
LicenseProprietarymit
Reasoning modeYesYes
Tool callingYesYes
API providers4348 (better)
Epoch Capabilities Index158.8 (better)150.7
GPQA Diamond95.4% (better)89.9%
Humanity's Last Exam44.5%—
SWE-bench Verified—74.2%
WebDev Arena1568 (better)1508
OTIS Mock AIME98.9% (better)93.3%
FrontierMath68.4% (better)36.8%
ARC-AGI-289.2%—
SimpleQA Verified69.7% (better)34.0%

Cost example

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

About Gemini 3.8 Flash

Gemini 3.8 Flash is a proprietary reasoning llm from Google DeepMind, released Sep 2, 2026. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $0.75 per million input tokens and $3.75 per million output tokens. It is available from 43 API providers. It scores 158.8 on the Epoch Capabilities Index. Full Gemini 3.8 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.8 Flash or GLM-5.1?

Gemini 3.8 Flash wins 6 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (158.8 vs 150.7). Gemini 3.8 Flash is slightly cheaper on a blended (3:1 input:output) token price. Gemini 3.8 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.8 Flash is API-only.

Is Gemini 3.8 Flash cheaper than GLM-5.1?

Gemini 3.8 Flash costs $0.75 input / $3.75 output per 1M tokens; GLM-5.1 costs $0.896 / $3.59. Gemini 3.8 Flash is cheaper overall.

Which has a bigger context window?

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

Are Gemini 3.8 Flash and GLM-5.1 open source?

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