GLM (Z.AI) · Cheap + Fast

GLM 4.5

glm/glm-4.5 GLM (Z.AI)'s cheap + fast model, accessible through Leanroute's OpenAI-compatible AI Gateway. Pay provider list price with zero per-request markup; flat $15/mo BYOK subscription covers the platform fee.

Pricing snapshot: August 2026. Re-validated monthly against the upstream GLM (Z.AI) pricing page.

Pricing

TypeUSD per 1M tokens
Input tokens$0.660
Cached input (82% off)$0.116
Output tokens$2.20

Leanroute's markup: $0. You pay the provider list price above, plus a flat $15/mo BYOK subscription (or 5% at top-up for prepaid credits). Compare pricing at /calculator.

Capabilities

Cheap + Fast tierChinaStreamingTool calls

Example request

curl https://api.leanroute.dev/v1/chat/completions \
  -H "Authorization: Bearer $LEANROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm/glm-4.5",
    "messages": [
      { "role": "user", "content": "Hello, GLM 4.5!" }
    ]
  }'

OpenAI-wire-compatible — point any OpenAI SDK at api.leanroute.dev/v1 and set model: "glm/glm-4.5". Full endpoint reference at /docs/api.

Other GLM (Z.AI) models

Same-tier alternatives across providers

Leanroute's router picks the cheapest same-tier model automatically when cheaper-model routing is on. Config at /dashboard/settings.

See also: Full model catalog · API reference · Savings calculator · Leanroute pricing