GLM 5 is 11.9× cheaper per million tokens (blended). Claude Opus 5 has the larger context window (1,000,000 vs 198,000 tokens, 5.1×). GLM 5 is open-weights; the other is not.

Claude Opus 5 vs GLM 5

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

Claude Opus 5

Anthropic · anthropic__claude-opus-5

GLM 5open

Z.ai · z-ai__glm-5

Identity

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

Quality

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

Cost

Fieldanthropic__claude-opus-5z-ai__glm-5
Input $ / 1M tokens$5.00$0.60
Cached input $ / 1M$0.50$0.12
Output $ / 1M tokens$25.00$1.92

Context

Fieldanthropic__claude-opus-5z-ai__glm-5
Max context tokens1,000,000198,000
Max output tokens128,000128,000

Modalities

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