GLM 4.7 Flash is 65.1× cheaper per million tokens (blended). Claude Opus 5 has the larger context window (1,000,000 vs 131,072 tokens, 7.6×). GLM 4.7 Flash is open-weights; the other is not.

Claude Opus 5 vs GLM 4.7 Flash

Live catalog fields. Best-in-row is highlighted.

Claude Opus 5

Anthropic · anthropic__claude-opus-5

GLM 4.7 Flashopen

Z.ai · z-ai__glm-4.7-flash

Identity

Fieldanthropic__claude-opus-5z-ai__glm-4.7-flash
ProviderAnthropicZ.ai
Sluganthropic__claude-opus-5z-ai__glm-4.7-flash
Statuslivelive
Open weightsNoYes
License
HuggingFacezai-org/GLM-4.7-Flash

Quality

Fieldanthropic__claude-opus-5z-ai__glm-4.7-flash
Quality index (0–100)91.5

Cost

Fieldanthropic__claude-opus-5z-ai__glm-4.7-flash
Input $ / 1M tokens$5.00$0.06
Cached input $ / 1M$0.50
Output $ / 1M tokens$25.00$0.40

Context

Fieldanthropic__claude-opus-5z-ai__glm-4.7-flash
Max context tokens1,000,000131,072
Max output tokens128,000117,964

Modalities

Fieldanthropic__claude-opus-5z-ai__glm-4.7-flash
Inputtext, image, filetext
Outputtexttext