GLM-4.7 vs GPT-5

Side-by-side benchmark comparison across coding, math, reasoning, speed, and pricing.

GLM-4.7 by Zhipu AI wins on 7 of 9 benchmarks against GPT-5 by OpenAI, which leads on 2. This head-to-head comparison covers coding, math, reasoning, speed, and pricing metrics from our benchmark data.

Category-by-Category Breakdown

Coding: In coding, GLM-4.7 scores 45.3 on AA Coding Index compared to GPT-5's 37.8, while GLM-4.7 scores 1210 on Design Arena ELO compared to GPT-5's 1172, while GLM-4.7 scores 1238 on Website Arena ELO compared to GPT-5's 1194.

Reasoning: In reasoning, GPT-5 scores 86.0% on GPQA Diamond compared to GLM-4.7's 83.2%, while GLM-4.7 scores 73.0% on τ²-Bench Airline compared to GPT-5's 68.4%.

Context: In context, GPT-5 scores 400K on Context Length compared to GLM-4.7's 205K.

Pricing Comparison

GLM-4.7 costs $0.40/1M input tokens and $1.8/1M output tokens, while GPT-5 costs $1.3/1M input and $10.0/1M output. GLM-4.7 is the more affordable option for API usage.

Verdict

GLM-4.7 leads across the board in affordability, making it the stronger overall choice in this comparison.

View Individual Model Pages

GLM-4.7 vs GPT-5 — FAQ

Which is better, GLM-4.7 or GPT-5?

GLM-4.7 wins on more benchmarks overall (7 vs 2). However, the best choice depends on your specific needs — each model excels in different areas.

How does GLM-4.7 compare to GPT-5 for coding?

SWE-bench Verified data is not available for both models. Check the detailed comparison charts above for other coding-related metrics.

Is GLM-4.7 cheaper than GPT-5?

Yes, GLM-4.7 is cheaper. GLM-4.7 costs $0.40/1M input and $1.8/1M output tokens. GPT-5 costs $1.3/1M input and $10.0/1M output tokens.

Which is faster, GLM-4.7 or GPT-5?

Output speed data is not available for both models. Check the speed section of the comparison above for available performance data.

What benchmarks does the GLM-4.7 vs GPT-5 comparison cover?

This comparison covers 9 benchmarks including GPQA Diamond, Input Cost, Output Cost, Context Length, AA Coding Index, Cached Input Cost, Design Arena ELO, τ²-Bench Airline, and more. Metrics span general intelligence, coding, math, reasoning, speed, and cost categories.