---
last_updated: 2026-11-26
source_url: https://opper.ai/zhipu/glm-5
title: "GLM 5 by Z.ai"
description: "GLM 5 by Zhipu: 744B frontier MoE model with 40B active, reasoning-first design, and Huawei Ascend training."
---

# GLM 5

By [Z.ai](https://opper.ai/zhipu).

Released 11 Feb 2026, 23 days after [GLM 4.7 Flash](https://opper.ai/zhipu/glm-4-7-flash) · [All Z.ai releases](https://opper.ai/model-releases/zhipu)

GLM-5 is Zhipu's fifth-generation frontier foundation model released February 2026, with 744 billion total parameters and 40 billion active in a Mixture-of-Experts configuration. Zhipu reports it was trained entirely on Huawei Ascend chips using the MindSpore framework, without NVIDIA hardware, a notable step toward large-model training independent of US semiconductor supply chains.

The model reports open-source state-of-the-art results in coding and agentic tasks, with real-world programming capability that Zhipu benchmarks directly against Claude Opus 4.5. Trained on 28.5 trillion tokens, it integrates DeepSeek Sparse Attention to reduce deployment cost while preserving long-context capacity, with a 200K context window. Its reasoning-first design emphasizes thought quality and multi-step problem decomposition, making it strong for software engineering, mathematics, and frontier reasoning.

Released under an MIT license, GLM-5 targets developers building state-of-the-art coding agents, research systems, and reasoning-intensive applications. Its roughly two-fold scale increase over GLM-4.5 combined with sparse activation aims to deliver capability gains while keeping inference practical.

## Available routes

GLM 5 runs on 2 different routes through the Opper gateway. Prices are per 1M tokens. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=novita%2Fglm-5.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Novita](https://opper.ai/provider/novita) | `novita/glm-5` | US (United States) | Yes | No | $1.00 | $3.20 | $0.20 |
| [Z.ai](https://opper.ai/provider/zai) | `zai/glm-5` | Multi (Singapore) | Abuse monitoring | No | $1.00 | $3.20 | $0.20 |

## Key info

- Model id: `novita/glm-5`
- Input: Text
- Output: Text
- Features: Reasoning, Tools, Structured output
- Context window: 205K
- Max output: 131K
- Input price: $1.00 per 1M tokens ($0.20 cache read)
- Output price: $3.20 per 1M tokens
- Released: 11 Feb 2026
- US residency available on Novita
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting GLM 5 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Novita — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: On by default, keeps nothing
- Transfer mechanism: SCCs

Verified by Opper on 2026-09-15.

### Z.ai — Singapore

Zero data retention with abuse monitoring: nothing is logged or used for training; content flagged by abuse monitoring is held for review. No training on customer data. GLOBAL; unknown.

- Zero data retention: With abuse monitoring, flagged content held.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: On by default, holds flagged content
- Caching: Content cached for replay
- Subprocessor access: Subprocessors may read content
- Transfer mechanism: unknown

Verified by Opper on 2026-09-15.

## Best for

Where GLM 5 ranks among the models on Opper with a score for each use case (0 to 100).

- [Multilingual](https://opper.ai/models?use=multilingual): 81.9 (Tasks across languages)

## Benchmarks

Independent benchmark scores via [Artificial Analysis](https://artificialanalysis.ai) ([view on AA](https://artificialanalysis.ai/models/glm-5)). Indices and domain scores are out of 100, Omniscience runs from −100 to 100, Briefcase is an Elo rating, and the other evaluation scores are the share of tasks solved.

- Global rank: #120 of 521 LLMs on the [LLM leaderboard](https://opper.ai/llm-leaderboard)
- Tier: Efficient
- Output speed: 71 tok/s
- Intelligence Index (previous version): 27.9

### Agentic & knowledge work

- Terminal-Bench Hard: 43%
- τ²-Bench Telecom: 98%

### Science & reasoning

- Humanity's Last Exam: 29%
- GPQA Diamond: 82%
- Long-context reasoning: 76%

### Math & instruction following

- IFBench: 72%

## Get started

Call GLM 5 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

GLM 5 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call GLM 5
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "novita/glm-5",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "novita/glm-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "novita/glm-5",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "novita/glm-5",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use GLM 5 in your apps

Pick your tool to see how to run it on GLM 5 through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/glm-5)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/glm-5)
- [Codex](https://opper.ai/apps/codex/glm-5)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/glm-5)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/glm-5)
- [Aider](https://opper.ai/apps/aider/glm-5)
- [Goose](https://opper.ai/apps/goose/glm-5)
- [Droid](https://opper.ai/apps/droid/glm-5)
- [OpenCode](https://opper.ai/apps/opencode/glm-5)
- [Pi](https://opper.ai/apps/pi/glm-5)
- [OpenClaw](https://opper.ai/apps/openclaw/glm-5)
- [Hermes](https://opper.ai/apps/hermes/glm-5)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/glm-5)
- [OmniRoute](https://opper.ai/apps/omniroute/glm-5)
- [Cursor](https://opper.ai/apps/cursor/glm-5)
- [Cline](https://opper.ai/apps/cline/glm-5)
- [Continue](https://opper.ai/apps/continue/glm-5)
- [Kilo Code](https://opper.ai/apps/kilo-code/glm-5)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/glm-5)
- [Zed](https://opper.ai/apps/zed/glm-5)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/glm-5)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/glm-5)
- [n8n](https://opper.ai/apps/n8n/glm-5)
- [LibreChat](https://opper.ai/apps/librechat/glm-5)
- [Open WebUI](https://opper.ai/apps/open-webui/glm-5)
- [See all apps](https://opper.ai/apps)

## Other models from Z.ai

- [GLM-5.3](https://opper.ai/zhipu/glm-5-3)
- [GLM-5.3-Flash](https://opper.ai/zhipu/glm-5-3-flash)
- [GLM-5.2](https://opper.ai/zhipu/glm-5-2)
- [GLM 5.1](https://opper.ai/zhipu/glm-5-1)
- [GLM 4.7](https://opper.ai/zhipu/glm-4-7)
- [GLM 4.6](https://opper.ai/zhipu/glm-4-6)
