Z.ai

Z.ai

glm-5

GLM-5

Lower-cost GLM route for production reasoning, agents, and long-context workflows.

Public model detailMoE Transformer

Params

744B / 40B active

Context

198K

Max Output

64K

License

Apache 2.0

TTFT

520ms

Throughput

42 tok/s

Why pick it

  • Strong cost/performance for reasoning agents
  • Same Z.ai family as GLM-5.1

Pricing

TierStandardCachedSiliconFlowSavings
Realtime$0.35 / $0.90$0.122$0.95 / $2.5563%
Batch$0.17 / $0.45$0.122$0.95 / $2.5563%

Quick start

OpenAI-compatible surface. Swap the base URL and ship.

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.luminapath.tech/v1",
    api_key="BATCHIN_API_KEY"
)

resp = client.chat.completions.create(
    model="glm-5",
    messages=[{"role": "user", "content": "Summarize why this model is a fit for my workload."}]
)

print(resp.choices[0].message.content)
JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.luminapath.tech/v1",
  apiKey: process.env.BATCHIN_API_KEY,
});

const resp = await client.chat.completions.create({
  model: "glm-5",
  messages: [{ role: "user", content: "Summarize why this model is a fit for my workload." }],
});

console.log(resp.choices[0]?.message?.content);
cURL
curl https://api.luminapath.tech/v1/chat/completions \
  -H "Authorization: Bearer $BATCHIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5",
    "messages": [{"role":"user","content":"Summarize why this model is a fit for my workload."}]
  }'

Specs

Architecture

MoE Transformer

Vendor group

Z.ai

Context window

198K

Max output

64K

Best for

reasoning
workflow

Related models

Back to model center
Z.ai

Z.ai

glm-5.1

GLM-5.1

Open-source coding flagship built for long-horizon autonomous engineering and deep reasoning.

View detail
Z.ai

Z.ai

glm-4.7

GLM-4.7

Mid-tier GLM reasoning route for engineering teams that need quality below flagship spend.

View detail
DeepSeek

DeepSeek

deepseek-v3.2

DeepSeek V3.2

Flagship DeepSeek release tuned for strong general reasoning at a very aggressive price point.

View detail
DeepSeek

DeepSeek

deepseek-r1

DeepSeek R1

Heavy reasoning model for difficult planning, math, research, and multi-step analysis.

View detail