Skip to content

GLM-5

z-ai/glm-5

Z.ai's February 2026 open-weight (MIT) foundation model for agentic engineering: a 744B MoE with 40B active parameters, 200K context and optional thinking. Superseded by GLM-5.1, GLM-5.2 and now GLM-5.3.

API
curl "$AUDIOLAB_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-5",
  "messages": [
    {
      "role": "user",
      "content": "Help me plan my next project."
    }
  ],
  "max_tokens": 256
}'
Input Price
$0.85 / 1M tokens
Output Price
$2.72 / 1M tokens
Context
204.8K tokens
Output Cap
131.1K tokens

Capabilities

Explore what GLM-5 supports, then use the API section for a request tailored to this model.

Max tokensReasoningInclude reasoning

Model Information

Provider
Z.AI
Product
Language Models
Release Date
Feb 12, 2026
Data Policy
Not specified
Region
Singapore
Input
Text
Output
Text
Provider Documentation

Playground

Try GLM-5 by Z.AI. Requests use the selected workspace’s credits and API pricing.

GLM-5Credits —
GLM-5
⌘ / Ctrl + Enter to send

Providers

Compare available endpoints, pricing, and context limits for GLM-5.

ProviderContextOutput CapInput PriceOutput PriceEndpoint
Z.AI204.8K tokens131.1K tokens$0.85 / 1M tokens$2.72 / 1M tokens
glm-5

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max input tokens204800
Max output tokens131072

Provider Notes

General LLM inference is an integration preview. Managed billing and deployment acceptance must be enabled before requests can be served.

Performance

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-5",
  "messages": [
    {
      "role": "user",
      "content": "Help me plan my next project."
    }
  ],
  "max_tokens": 256
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modelz-ai/glm-5 — Required model identifier.
max_tokensView Accepted Values
reasoningView Accepted Values
include_reasoningView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max input tokens204800
Max output tokens131072

Similar Models

Explore more language models and compare their capabilities.

ModelContextInput PriceOutput Price
GLM-5.2Z.AI1M tokens$1.19 / 1M tokens$3.74 / 1M tokens
GLM-4.7-FlashXZ.AI204.8K tokens$0.0595 / 1M tokens$0.34 / 1M tokens
GLM-4.7Z.AI204.8K tokens$0.51 / 1M tokens$1.87 / 1M tokens
Claude Haiku 5.5Anthropic1M tokens$0.085 / 1M tokens$0.425 / 1M tokens
GPT-6.1 SolOpenAI1.1M tokens$1.70 / 1M tokens$8.50 / 1M tokens
Claude Sonnet 5.5Anthropic1M tokens$1.70 / 1M tokens$8.50 / 1M tokens
View All Language Models