All models

Gemma 4 26B A4B vs GLM 4.7 Flash

Gemma 4 26B A4B at $0.081 in and $0.391 out and GLM 4.7 Flash at $0.069 in and $0.460 out — per million tokens, from the same wallet.

Gemma 4 26B A4B

Google

0.07¢

for a client proposal

$0.081 in · $0.391 out / 1M

262K context · released 4 months ago

Full page →
Z

GLM 4.7 Flash

Z.ai

0.07¢

for a client proposal

$0.069 in · $0.460 out / 1M

203K context · released 7 months ago

Full page →

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

At a glance

  • Cheapest input: GLM 4.7 Flash at $0.069 per million tokens.
  • Cheapest output: Gemma 4 26B A4B at $0.391 per million tokens.
  • Largest context: Gemma 4 26B A4B at 262K tokens — about 370 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
Gemma 4 26B A4B
0.04¢
GLM 4.7 Flash
0.04¢

Draft a client proposal from notes

5K in · 800 out
Gemma 4 26B A4B
0.07¢
GLM 4.7 Flash
0.07¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Gemma 4 26B A4B
1.4¢
GLM 4.7 Flash
1.3¢

Analyze a 50-page legal contract

35K in · 1K out
Gemma 4 26B A4B
0.32¢
GLM 4.7 Flash
0.29¢

Large architecture refactor

250K in · 3K out
Gemma 4 26B A4B
2.1¢
GLM 4.7 Flash
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.07$0.150 tokens250k500k750k1000k
Gemma 4 26B A4B
GLM 4.7 Flash

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

Pricing

Gemma 4 26B A4B
GLM 4.7 Flash
Input / 1M tokens
$0.081
$0.069
Output / 1M tokens
$0.391
$0.460
Cached input / 1M
$0.011

Specs

Gemma 4 26B A4B
GLM 4.7 Flash
Provider
Released
4 months ago
7 months ago
Context window
262K
203K
Max output
16K
16K
Input
Images, Text, and Video
Text
Output
Text
Text
Reasoning
Shows its thinking
Shows its thinking
Knowledge cutoff

Try it with real numbers

2K tokens in · 500 tokens out.

Gemma 4 26B A4B

Google

0.04¢

for this task

45% input · 55% output

Full pricing →

GLM 4.7 Flash

Z.ai

0.04¢

for this task

38% input · 62% output

Full pricing →

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

Your $5 welcome credit covers about 6,901 of these.

Which should you pick?

For long documents, Gemma 4 26B A4B has the largest context window here — 262K tokens.

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

For images or files, Gemma 4 26B A4B can read them directly; GLM 4.7 Flash 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, Gemma 4 26B A4B or GLM 4.7 Flash?

On a typical client proposal (5K tokens in, 800 out): GLM 4.7 Flash at 0.07¢; Gemma 4 26B A4B at 0.07¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Gemma 4 26B A4B — 262K tokens, about 370 pages.

Can I run Gemma 4 26B A4B and GLM 4.7 Flash 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.14¢ for a typical task.

Ask both at once

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