ZMIME
Comparison · 2 models · Updated Nov 18, 2026

GLM-5.2 vs GPT-5.2

GPT-5.2 comes out ahead, 75 to 71 on our weighted score, though GLM-5.2 is 2.2× cheaper per token.

Price in rating: Excluded · Include price

  1. Z.ai (Zhipu)

    GLM-5.2

    Released Jun 13, 2026

    71/100
    • ECI153.0
    • Price$1.40 / $4.40
    • Context1M
  2. Our pick

    OpenAI

    GPT-5.2

    Released Dec 11, 2025

    75/100
    • ECI154.5
    • Price$1.75 / $14.00
    • Context400K
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

GPT-5.2 is our pick

GPT-5.2 is the better all-round choice, scoring 75/100 against GLM-5.2 (71). It leads on inputs & features. GLM-5.2 wins on context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGPT-5.2Capabilities Index (ECI): GPT-5.2 154.5 · GLM-5.2 153.0
  • Lowest priceGLM-5.2GLM-5.2 $2.15 · GPT-5.2 $4.81 per 1M tokens (3:1 blend)
  • Longest contextGLM-5.2GLM-5.2 1,000,000 · GPT-5.2 400,000 tokens
  • Widest inputsGPT-5.2GLM-5.2: Text · GPT-5.2: Text, Images
  • Self-hostingGLM-5.2Publishes downloadable weights
How the score is built
MeasureWeightGLM-5.2GPT-5.2
CapabilityCapabilities Index (ECI)67%8082
Inputs & features20%4570
Context window13%6450
Overall100%71/10075/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

GLM-5.2 vs GPT-5.2 specifications side by side
SpecificationGLM-5.2Z.ai (Zhipu)GPT-5.2OpenAI
Capability
Capabilities Index (ECI)153.0154.5 (best)
ECI rank#54 of 158#51 of 158 (best)
GPQA DiamondGraduate-level science questions91.9% (best)91.4%
FrontierMath Tiers 1–3Research-level mathematics59.2%67.4% (best)
OTIS Mock AIME 2024–2025Competition mathematics86.4%96.1% (best)
SWE-bench VerifiedFixing real GitHub issues78.7% (best)73.8%
SimpleQA VerifiedShort factual questions34.2%37.1% (best)
Price per million tokens
Input$1.40 (best)$1.75
Output$4.40 (best)$14.00
Cached input$0.26$0.175 (best)
Blended (3:1)$2.15 (best)$4.81
Long-context rateSame rateSame rate
Price sourceOfficial Z.AI APIOfficial OpenAI API
Limits
Context window1,000,000 tokens (best)400,000 tokens
Max output131,072 tokens (best)128,000 tokens
Inputs and features
TextYesYes
ImagesNoYes
PDFsNoNo
AudioNoNo
VideoNoNo
ReasoningYeshigh · maxYeslow · medium · high · xhigh
Tool callingYesYes
Structured outputYesYes
Availability
WeightsOpenProprietary
API model IDglm-5.2gpt-5.2
API providers89 (best)36
ReleasedJun 13, 2026Dec 11, 2025
Knowledge cutoff—Aug 31, 2025
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • GLM-5.2$22.80
  • GPT-5.2$45.50
04 — Questions

Which should you choose?

Which is better: GLM-5.2 or GPT-5.2?

GPT-5.2 is the better all-round choice, scoring 75/100 against GLM-5.2 (71). It leads on inputs & features. GLM-5.2 wins on context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, GLM-5.2 or GPT-5.2?

GLM-5.2 is cheaper at $1.40 input / $4.40 output per million tokens (official Z.AI API price). GPT-5.2 costs $1.75 input / $14.00 output per million tokens (official OpenAI API price). At a typical mix of three input tokens to one output token, that is $2.15 per million tokens for GLM-5.2 versus $4.81 for GPT-5.2 (2.2× as much).

Which scores higher on benchmarks?

GPT-5.2 scores higher on the Capabilities Index (ECI): GPT-5.2 154.5 (#51 of 158) and GLM-5.2 153.0 (#54 of 158). The confidence ranges of the top two overlap (152.9–156.3 vs 151.4–154.9), so treat the gap as small. On individual benchmarks: GPQA Diamond — GLM-5.2 91.9%, GPT-5.2 91.4%; FrontierMath Tiers 1–3 — GPT-5.2 67.4%, GLM-5.2 59.2%; OTIS Mock AIME 2024–2025 — GPT-5.2 96.1%, GLM-5.2 86.4%; SWE-bench Verified — GLM-5.2 78.7%, GPT-5.2 73.8%; SimpleQA Verified — GPT-5.2 37.1%, GLM-5.2 34.2%.

Which is better for coding?

GLM-5.2 resolves more real GitHub issues on SWE-bench Verified: GLM-5.2 78.7% and GPT-5.2 73.8%. Both support tool calling for agent workflows.

Which has the bigger context window?

GLM-5.2 has the largest context window at 1,000,000 tokens, against 400,000 for GPT-5.2. Maximum output per response: GLM-5.2 up to 131,072, GPT-5.2 up to 128,000 tokens.

Which can read images, PDFs, audio or video?

GLM-5.2 accepts text; GPT-5.2 accepts text and images. GPT-5.2 handles the widest range of inputs.

Are any of these open source?

GLM-5.2 publishes its weights and can be self-hosted; GPT-5.2 is proprietary.

Which is newer?

GLM-5.2 is the newest, released Jun 13, 2026. GPT-5.2 came out Dec 11, 2025. Knowledge cutoff: GPT-5.2 Aug 31, 2025.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.