GLM 5

by Z-ai

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...

Quick Facts

Provider

Z-ai

Model ID

z-ai/glm-5

Modality

Text to Text

Tier

Premium

Last Updated

2026-07-12

Released

2026-02-11

Context Length

203K tokens

Tokenizer

Other

Input Price

$0.60/M

Output Price

$1.92/M

When To Use GLM 5

Best for

  • Coding, debugging, and implementation planning
  • Reasoning-heavy questions and step-by-step analysis
  • Research, summarization, and document work
  • Comparing Z-ai responses against other leading AI models

Not ideal for

  • High-volume casual chats where you want to conserve premium credits
  • Native image generation workflows
  • Prompts that require image or screenshot understanding
  • Voice, speech, or audio transcription workflows

Input & Output

Accepts

text

Generates

text

Pricing

All prices are per 1 million tokens

Input

$0.60/M

Output

$1.92/M

Cache Read

$0.12/M

Capabilities

  • Natural language understanding and generation
  • Code generation and analysis
  • Long context window for extended conversations

Example Prompts

Review this TypeScript function for edge cases, bugs, and simpler implementation options.

Turn this product requirement into a small implementation plan with tests.

Solve this problem step by step, then summarize the final answer in one paragraph.

Summarize these notes into key findings, risks, and recommended next steps.

Compare how GLM 5 and two other models answer this prompt.

Supported Parameters

frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p

Compare and Use GLM 5

Frequently Asked Questions

Try GLM 5 In Related Workflows

Model pages work best when they connect to real tasks. Use these bots and utilities to test GLM 5 against coding, research, and model-selection workflows.

Try GLM 5

Use GLM 5 on RyddleAI

Access GLM 5 with a RyddleAI subscription.

Compare GLM 5 With Alternatives

Use these nearby models to test whether GLM 5 is the right choice for your prompt, budget, and model family preference.

AlternativeProviderTierWhy comparePage
GLM 5.1Z-aiPremiumAnother Z-ai model to compare within the same provider familyView model
GLM 5V TurboZ-aiPremiumAnother Z-ai model to compare within the same provider familyView model
Qwen3.7 MaxQwenPremiumSame tier alternative from another providerView model
Grok Build 0.1X-aiPremiumSame tier alternative from another providerView model