← Models / Zhipu AI

GLM-5

744B MoE (40B active, 256 experts)

Zhipu's flagship. First Chinese public AI company's frontier model. 92.7% AIME 2026 I, 86.0% GPQA-Diamond. Also available internationally at docs.z.ai.

Data updated 2026-03-30
chat OpenAI-compatible Function calling 205K context Released 2026-02

Pricing

Type USD / 1M tokens
Input $1
Output $3.2
Cached Input $0.2

vs Western Models

GLM-5 vs GPT-5.2 ($1.75/$14)
43% cheaper input 77% cheaper output
GLM-5 vs Claude Sonnet 4.6 ($3/$15)
67% cheaper input 79% cheaper output
GLM-5 vs Gemini 2.5 Pro ($1.25/$10)
20% cheaper input 68% cheaper output

Benchmarks

Benchmark Score
SWE-bench 77.8%

IDE Setup

Cursor

base_url: https://open.bigmodel.cn/api/paas/v4
model: glm-5

Cline

base_url: https://open.bigmodel.cn/api/paas/v4
model: glm-5

Strengths

  • + coding
  • + agentic tasks
  • + reasoning
  • + 200K context

Watch Out For

  • ! content censorship
  • ! 30% price increase over GLM-4.7

International Access

Direct access: Yes
Latency from US: 200-400ms
Registration: account
Payment: credit card

Frequently Asked Questions

How much does GLM-5 cost?

GLM-5 costs $1 per million input tokens and $3.2 per million output tokens (USD). Cached input is $0.2/M.

Can I use GLM-5 from outside China?

Yes. GLM-5 is directly accessible internationally. Registration requires account. Payment via credit card.

Is GLM-5 compatible with the OpenAI API?

Yes. GLM-5 uses an OpenAI-compatible API. You can use any OpenAI SDK by changing the base URL to open.bigmodel.cn.

What is the context window of GLM-5?

GLM-5 supports a 205K token context window (204,800 tokens).

How do I use GLM-5 in Cursor or Cline?

Set the base URL to https://open.bigmodel.cn/api/paas/v4 and the model name to glm-5. Both Cursor and Cline support OpenAI-compatible providers.

Related Articles & Guides

More from Zhipu AI

Ready to try GLM-5?

Get your API key from the official platform.

Go to Zhipu AI →