All models

Gemini 2.5 Flash vs GLM 4.7

Gemini 2.5 Flash at $0.345 in and $2.88 out and GLM 4.7 at $0.460 in and $2.01 out — per million tokens, from the same wallet.

Gemini 2.5 Flash

Google

0.4¢

for a client proposal

$0.345 in · $2.88 out / 1M

1.05M context · released June 2025

Full page →
Z

GLM 4.7

Z.ai

0.39¢

for a client proposal

$0.460 in · $2.01 out / 1M

203K context · released December 2025

Full page →

Asking all both at once — identical prompt, identical context — costs about 0.79¢ for a typical client proposal.

At a glance

  • Cheapest input: Gemini 2.5 Flash at $0.345 per million tokens.
  • Cheapest output: GLM 4.7 at $2.01 per million tokens.
  • Largest context: Gemini 2.5 Flash at 1.05M tokens — about 1,500 pages.

Cost per task

Estimated totals at the rates above. Solid bar is input, lighter bar is output.

Quick code fix

2K in · 500 out
Gemini 2.5 Flash
0.21¢
GLM 4.7
0.19¢

Draft a client proposal from notes

5K in · 800 out
Gemini 2.5 Flash
0.4¢
GLM 4.7
0.39¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Gemini 2.5 Flash
$0.06
GLM 4.7
$0.08

Analyze a 50-page legal contract

35K in · 1K out
Gemini 2.5 Flash
1.5¢
GLM 4.7
1.8¢

Large architecture refactor

250K in · 3K out
Gemini 2.5 Flash
$0.09
GLM 4.7
needs 250K ctx

Solid part of each bar is input tokens, the lighter part is output. Models that don’t fit a task are marked instead of priced.

Cost vs Token Amount

Drag the slider to adjust the split between input and output workload.

80% Input20% Output
free$0.43$0.850 tokens250k500k750k1000k
Gemini 2.5 Flash
GLM 4.7

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

Pricing

Gemini 2.5 Flash
GLM 4.7
Input / 1M tokens
$0.345
$0.460
Output / 1M tokens
$2.88
$2.01
Cached input / 1M
$0.035
$0.092
Web search
1.6¢ / search

Specs

Gemini 2.5 Flash
GLM 4.7
Provider
Released
June 2025
December 2025
Context window
1.05M
203K
Max output
66K
131K
Input
Files, Images, Text, Audio, and Video
Text
Output
Text
Text
Reasoning
Shows its thinking
Shows its thinking
Knowledge cutoff
2025-01-31

Try it with real numbers

2K tokens in · 500 tokens out.

Gemini 2.5 Flash

Google

0.21¢

for this task

32% input · 68% output

Full pricing →

GLM 4.7

Z.ai

0.19¢

for this task

48% input · 52% output

Full pricing →

All 2, same prompt and context: 0.41¢. That is the entire cost of the comparison.

Your $5 welcome credit covers about 1,233 of these.

Which should you pick?

For long documents, Gemini 2.5 Flash has the largest context window here — 1.05M tokens.

On price, GLM 4.7 is the cheapest of the two on a typical task, at about 0.39¢.

For images or files, Gemini 2.5 Flash can read them directly; GLM 4.7 is text-only.

Or don’t pick. Send the identical prompt to all both, read the answers side by side, and keep the winner. How to run a fair bake-off →

Questions, answered

Which is cheaper, Gemini 2.5 Flash or GLM 4.7?

On a typical client proposal (5K tokens in, 800 out): GLM 4.7 at 0.39¢; Gemini 2.5 Flash at 0.4¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Gemini 2.5 Flash — 1.05M tokens, about 1,500 pages.

Can I run Gemini 2.5 Flash and GLM 4.7 side by side on Alyph?

Yes — that is what Alyph is built for: the identical prompt with identical context to all 2, answers rendered side by side, billed from one wallet. This exact combination costs about 0.79¢ for a typical task.

Ask both at once

Identical prompt, identical context, answers side by side — about 0.79¢ for a typical client proposal. Free to start, with $5 of credit.