Skip to content
Alpha
  • Models
  • Rankings
  • Ori
ElevenLabs launch offer: every ElevenLabs model is 50% off through October 19, 2026. See ElevenLabs models

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • EU routing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

GPT-5.2 vs GLM 5

Compare GPT-5.2 from OpenAI and GLM 5 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for openai
GPT-5.2
Favicon for z-ai
GLM 5
Favicon for openai
GPT-5.2
Favicon for z-ai
GLM 5

Overview

GPT-5.2
Author
OpenAI
GLM 5
Author
Z.ai
GPT-5.2
Context length
400Ktokens
GLM 5
Context length
205Ktokens
GPT-5.2
Reasoning
GLM 5
Reasoning
GPT-5.2
Input modalities
GLM 5
Input modalities
GPT-5.2
Output modalities
GLM 5
Output modalities

GPT-5.2 vs GLM 5: side-by-side summary

GPT-5.2 and GLM 5 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

GPT-5.2, from OpenAI, has a 400,000-token context window and is priced at $1.75/M tokens input, $14/M tokens output on OpenRouter.

GLM 5, from Z.ai, has a 204,800-token context window and is priced at $0.60/M tokens input, $1.92/M tokens output on OpenRouter.

Context window
  • GPT-5.2: 400,000 tokens
  • GLM 5: 204,800 tokens
Price
  • GPT-5.2: $1.75/M tokens input, $14/M tokens output
  • GLM 5: $0.60/M tokens input, $1.92/M tokens output
Provided by
  • GPT-5.2: OpenAI
  • GLM 5: Z.ai
  • GPT-5.2 model details, providers and pricing
  • GLM 5 model details, providers and pricing

GPT-5.2 vs GLM 5 at a glance

GPT-5.2 vs GLM 5 comparison
AttributeGPT-5.2GLM 5
Input price$1.75/M tokens$0.60/M tokens
Output price$14/M tokens$1.92/M tokens
Context window400,000 tokens204,800 tokens
Intelligence Index30.427.9
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)3.56 s1.95 s
Throughput (p50)50.0 tok/s57.0 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is GPT-5.2 cheaper than GLM 5?

GLM 5 is cheaper than GPT-5.2 on OpenRouter: GLM 5 costs $0.60/M tokens input and $1.92/M tokens output, while GPT-5.2 costs $1.75/M tokens input and $14/M tokens output.

Which has the longer context window, GPT-5.2 or GLM 5?

GPT-5.2 has the longer context window at 400,000 tokens, compared with 204,800 tokens for GLM 5.

Which is faster, GPT-5.2 or GLM 5?

GLM 5 is faster on OpenRouter, generating a median 57.0 tokens per second compared with 50.0 tokens per second for GPT-5.2.