GLM-5.1

Z.aiAll Z.ai models

Input

$1.54

USD / 1M tokens

Output

$4.84

USD / 1M tokens

Released

2026-04-07

Positioning: Flagship. Price level 2 of 4 among text models.

GLM's long-horizon flagship — autonomous engineering runs of up to 8 hours per Z.ai. GLM-5.1 is a Z.ai text model on ATP Token, billed per 1M input and output tokens.

ThinkingTools

Pricing

Pay for what you use: credits are deducted only when a request succeeds.
Prices in USD · $1 = 100 credits
Input
$1.54
Output
$4.84
USD / 1M tokens

Z.ai · Family · USD / 1M tokens

Text models from the same vendor on ATP. Bars fill up to the family's highest price.
All Z.ai models
ModelInputOutput
GLM-5.1 This pageglm-5-1$1.54$4.84
GLM-5.2glm-5-2$1.40$4.40
GLM-5glm-5$1.00$3.20

Cost per 1,000 typical requests

A quick estimate with fixed token counts per request. No caching, no retries. Try the estimator with your own numbers.
WorkloadUSD / 1,000
Short chat turn800 / 400$3.17
RAG answer4,000 / 500$8.58
Agent step with tools20,000 / 1,500$38.06

Benchmarks

Vendor-reported
  • SWE-Bench Pro58.4%

    as reported in vendor table

    Z.ai
  • Terminal-Bench 2.0 (Terminus-2)63.5%

    Terminus-2 framework (69.0 best self-reported, Claude Code)

    Z.ai
  • NL2Repo42.7%

    as reported in vendor table

    Z.ai
  • HLE (w/ Tools)52.3%

    text-only subset by default (per GLM-5 family footnote)

    Z.ai

Scores as published by each vendor, not measured by ATP. Test conditions vary, so they are not directly comparable across vendors.

Same controls on every model: project keys, per-project model access, credit budgets, and a log of every request.Set up your organization

Cost estimator

Plug in your usage to see roughly what a month costs.
0200
0100
ESTIMATE
$25.08
USD / month
2,508 credits / month
  • Input$15.40
  • Output$9.68

$25.08 USD / month · 2,508 credits / month

An estimate at our USD prices (USD 1 = 100 credits). What each request actually cost shows up in your console's request log.

Quickstart

Keep your SDK. Point it at ATP and use a project key. Read the docs
quickstart.py · OpenAI SDK
from openai import OpenAI

client = OpenAI(
  base_url="https://api.atptoken.ai/v1",
  api_key="atp-•••"
)

r = client.chat.completions.create(
  model="glm-5-1",
  messages=[{"role":"user","content":"hi"}],
)

Compare with similar models

Same type and positioning, from other vendors, closest in price first.
Compare side by side

FAQ

4
Can GLM-5.1 use tools, read images, or think before answering?
GLM-5.1 supports tool calling and extended thinking, but not vision input or audio.
How is GLM-5.1 priced?
You pay per 1M input tokens and per 1M output tokens. You only pay when a request succeeds. $1 = 100 credits. See pricing
Is there a newer Z.ai model than GLM-5.1 on ATP?
Yes. GLM-5.2 (glm-5-2) came out on Jun 16, 2026, after GLM-5.1 (Apr 7, 2026), and is the newer Z.ai text option on ATP. Both stay available: compare family prices on this page, then turn on the id you want for your project.
How do I call GLM-5.1 on ATP?
Create a project API key and point any OpenAI-compatible SDK at https://api.atptoken.ai/v1. Set model to "glm-5-1" (the API id, not the display name). Make sure the model is turned on for your project.
Get started

Start with $5. Credits never expire.

Create a project key, turn this model on, and pay only for what you use.