Back to Models

Z.ai: GLM 5

z-ai/glm-5
Feb 11, 202680K context131.1K max output$1.00/M in · $3.20/M outReasoning

Description

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.

Specifications

Provider
z-ai
Context Length
80K
Max Output
131.1K
Modality
Intext
Outtext

Pricing

TypePrice / 1M tokens
Input$1.00
Output$3.20
Cache Read$0.20

Quick Start

curl https://api.ominigate.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Z.ai: GLM 5 — Pricing & API on OminiGate