GLM 5 API Pricing Calculator & Benchmarks

GLM-5 is Z.ai’s open-weight frontier model for complex systems engineering, long-horizon reasoning, autonomous coding, agentic workflows, and technical knowledge work.

GLM 5 is a coding model from Z.ai, released 11 February 2026. It pairs a 204,800-token context window with up to 128,000 tokens of output, accepting text and returning text. Step-by-step reasoning is supported. It costs $1.00 per million input tokens through Z.ai.

Last updated Oct 27, 2026

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

🔒 We respect your privacy. Unsubscribe anytime.

Model Details

Released
Feb 11, 2026
Context Length
204,800
Max Output
128,000
Modalities
Text → Text
Capabilities
Tool use Structured outputs Prompt caching Open weights

Where is GLM 5 a perfect fit?

GLM-5 is Z.ai’s frontier open-weight reasoning model, built for complex systems engineering and long-horizon agents, combining large-scale MoE architecture with efficient sparse attention for extended tasks. Below are the places where GLM-5 can be a perfect fit:
- Complex software engineering
- Long-running autonomous coding agents
- Large codebase analysis and refactoring
- Multi-step technical investigations
- Agentic tool-use workflows
- Systems engineering
- Long-horizon planning
- Technical research and knowledge work
- Document and spreadsheet generation
- Self-hosted frontier-model deployments
Z.ai specifically designed GLM-5 to move beyond short coding interactions toward agentic engineering, where the model can plan, execute, evaluate, and iterate on complex software tasks. It supports generating finished .docx, .pdf, and .xlsx deliverables as well.

Quick Model Estimate

(USD 1.0000 per 1M tokens)
(USD 3.2000 per 1M tokens)

Your GLM 5 Cost Estimate

💰 Total Cost

—

for 1000 input + 1000 output tokens

📥 Input (1000 × $1.000000) —
📤 Output (1000 × $3.200000) —

Cost Breakdown

📥 Input 📤 Output

Prices are watched for changes and checked against the provider's own page.

Pricing

Provider ↕
Modality ↕
Service Tier ↕
Input Price
(per 1M tokens)
↕
Output Price
(per 1M tokens)
↕
Cached Input
(per 1M tokens)
↕
Context Size ↕
View
Z.ai LogoZ.aiTextStandard$1.0000$3.2000$0.2000204,800 tokens→

Benchmarks

Scores from standardized evaluations by Artificial Analysis and Design Arena. Higher is better — the indices summarize overall ability, while the detailed scores break down performance on individual benchmarks.

Artificial Analysis

Higher is better · benchmarked by Artificial Analysis
Index scores by variant
Detailed scores
27.9
Intelligence Index
Overall intelligence across reasoning, knowledge & math evals
Better than 39% of 32 models
—
Coding Index
Coding ability across software-engineering evals
—
Agentic Index
Tool use & multi-step agent task performance
Reasoning
GPQA Diamond 82%

Graduate-level questions in biology, chemistry & physics

Humanity's Last Exam 29.3%

Expert-level questions across many academic domains

IFBench 72.3%

Precise following of detailed instructions

τ²-Bench Telecom 98.2%

Tool-using agent tasks in a telecom support setting

CritPt 2%

Unpublished physics research reasoning problems

AA-LCR 75.7%

Long-context reasoning across large inputs

Coding
Terminal-Bench Hard 43.2%

Complex command-line and terminal workflows

Knowledge
Omniscience Accuracy 26.3%

Breadth of factual knowledge across domains

Omniscience Non-Hallucination 64.7%

How reliably the model avoids fabricated answers

All variants
Variant GPQA Diamond Humanity's Last Exam IFBench τ²-Bench Telecom AA-LCR Terminal-Bench Hard CritPt Omniscience Accuracy Omniscience Non-Hallucination
GLM-5 (Reasoning) 82% 29.3% 72.3% 98.2% 75.7% 43.2% 2% 26.3% 64.7%
GLM-5 (Non-reasoning) 66.6% 7.6% 55.2% 97.4% 43.7% 39.4% 0% 23.1% 54.7%

Design Arena

Elo rating by arena & category
Variant Arena Category Elo Win % Percentile Avg time (ms)
glm-5 agents androidnative 1,146 55.2% 34 —
glm-5 agents fullstack 1,123 51.7% 36 —
glm-5 agents godotgamedev 1,144 46.7% 42 —
glm-5 agents htmlslides 1,044 45.1% 20 365,805
glm-5 agents mobileapps 1,136 51.7% 27 —
glm-5 models 3d 1,226 56.3% 70 134,699
glm-5 models asciiart 1,144 47.9% 40 83,337
glm-5 models codecategories 1,245 55.5% 72 197,139
glm-5 models dataviz 1,228 53% 67 150,235
glm-5 models gamedev 1,234 57.4% 73 189,694
glm-5 models svg 1,165 54.4% 59 57,008
glm-5 models uicomponent 1,225 53.6% 65 161,437
glm-5 models website 1,247 55% 72 232,642

FAQs about GLM 5

How much does GLM 5 cost per 1M tokens?

GLM 5 costs $1.00 per million input tokens, and $3.20 per million output tokens.

What does a typical workload cost with GLM 5?

1,000 requests of 2,000 input and 500 output tokens each — 2,000,000 input and 500,000 output tokens in total — costs $3.60 with GLM 5 at its lowest rates. Use the calculator on this page for your own volumes.

Where can I use GLM 5?

GLM 5 is available through Z.ai, from $1.00 per million input tokens.

What is GLM 5's context window?

GLM 5 has a context window of 204,800 tokens, and returns up to 128,000 tokens in a single response.

What input types does GLM 5 support?

GLM 5 accepts text input, and returns text.