GLM 5.2 vs Qwen3.7 Max vs Claude Sonnet 5

Compare GLM 5.2 from Z.ai, Qwen3.7 Max from Qwen, and Claude Sonnet 5 from Anthropic on key metrics including benchmarks, price, context length, and other model features. Access all 3 models and hundreds of others through the OpenRouter API.

Favicon for z-ai
GLM 5.2
Favicon for qwen
Qwen3.7 Max
Favicon for anthropic
Claude Sonnet 5

Overview

GLM 5.2
Author
Z.ai
Qwen3.7 Max
Author
Qwen
Claude Sonnet 5
Author
Anthropic
GLM 5.2
Context length
1.05Mtokens
Qwen3.7 Max
Context length
1Mtokens
Claude Sonnet 5
Context length
1Mtokens
GLM 5.2
Reasoning
Yes
Qwen3.7 Max
Reasoning
Yes
Claude Sonnet 5
Reasoning
Yes
GLM 5.2
Input modalities
Text
Qwen3.7 Max
Input modalities
Text
Claude Sonnet 5
Input modalities
Text, Image, File
GLM 5.2
Output modalities
Text
Qwen3.7 Max
Output modalities
Text
Claude Sonnet 5
Output modalities
Text

Analysis

GLM 5.2 vs Qwen3.7 Max vs Claude Sonnet 5: side-by-side summary

GLM 5.2, Qwen3.7 Max, and Claude Sonnet 5 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

GLM 5.2, from Z.ai, has a 1,048,576-token context window and is priced at $0.007/M tokens input, $6.80/M tokens output on OpenRouter.

Qwen3.7 Max, from Qwen, has a 1,000,000-token context window and is priced at $1.475/M tokens input, $4.425/M tokens output on OpenRouter.

Claude Sonnet 5, from Anthropic, has a 1,000,000-token context window and is priced at $2/M tokens input, $10/M tokens output on OpenRouter.

GLM 5.2
Context window
1,048,576 tokens
Qwen3.7 Max
Context window
1,000,000 tokens
Claude Sonnet 5
Context window
1,000,000 tokens
GLM 5.2
Price
$0.007/M tokens input, $6.80/M tokens output
Qwen3.7 Max
Price
$1.475/M tokens input, $4.425/M tokens output
Claude Sonnet 5
Price
$2/M tokens input, $10/M tokens output
GLM 5.2
Provided by
Z.ai
Qwen3.7 Max
Provided by
Qwen
Claude Sonnet 5
Provided by
Anthropic