Atlas / Models / Z Ai / Z.ai: GLM 5

Z.ai: GLM 5✓ Catalog verified

z-ai/glm-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

Input price
$0.72 /1M
Output price
$2.30 /1M
Context
80K
Modalities
text
Released
Feb 11, 2026
Tool calling
✓ Yes
Atlas signal
84/100
01

Overview

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

Access: available through the official Z Ai API. Context window: 80K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifierz-ai/glm-5
ProviderZ Ai
Model typeText LLM
Context window80K catalog
Input modalitiestext
Output modalitiestext
ReleasedFeb 11, 2026
ModeratedNo
Architecture modalitytext->text
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": 0.95,
  "temperature": 1,
  "frequency_penalty": null
}
03

Pricing

Live pricing components for z-ai/glm-5 as published in the catalog.

$0.72
Input /1M
$2.30
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$7.2e-7$0.72 / 1MPer input token
Completion tokens$0.0000023$2.30 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$0.82Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual UnderstandingNot advertisedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

Z.ai: GLM 5
MMLU Signal (Reasoning)
92signal
Coding Signal (HumanEval proxy)
93signal
Math Signal (GSM8K proxy)
78signal
Science Signal (GPQA proxy)
74signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call Z.ai: GLM 5 through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="z-ai/glm-5",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does Z.ai: GLM 5 cost?

$0.72 per 1M input tokens and $2.30 per 1M output tokens on the official Z Ai API.

What is the context window of Z.ai: GLM 5?

Z.ai: GLM 5 supports up to 80K tokens of context.

Does Z.ai: GLM 5 support tool / function calling?

Yes, Z.ai: GLM 5 supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access Z.ai: GLM 5?

Use the official Z Ai API with the model id `z-ai/glm-5`. See the Quick start section above for code examples.