Skip to content

Specs

Model IDz-ai/glm-4.5
Context window131K tokens
Max output98K tokens
Input price$0.60 / 1M tokens
Output price$2.20 / 1M tokens
Inputs → outputsText → Text
Open weightsYes

How to use GLM 4.5 in your app

The quickest way is through an API gateway such as OpenRouter, which uses the same format as the OpenAI API. Create a key, then send a request with the model ID z-ai/glm-4.5:

curl https://openrouter.ai/api/v1/chat/completions \ -H "Authorization: Bearer $OPENROUTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "z-ai/glm-4.5", "messages": [{"role": "user", "content": "Explain this in simple words..."}] }'

Prefer no code? Many tools in our AI tools directory run on models like this one.

More models from Z.ai

GLM Flash LatestZ.ai

This model always redirects to the latest model in the GLM Flash family.

Context 1MIn $0.0471 · Out $0.12 /1M
GLM 5.3 FlashZ.ai

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

Context 1MIn $0.0471 · Out $0.12 /1M
Open weights
GLM LatestZ.ai

This model always redirects to the latest GLM model from Z.ai.

Context 1MIn $0.079 · Out $1.40 /1M
GLM 5.3Z.ai

GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...

Context 1MIn $0.079 · Out $1.40 /1M
Open weights
GLM 5.2Z.ai

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Context 1MIn $0.62 · Out $2.42 /1M
Open weights
GLM 5.1Z.ai

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Context 205KIn $0.97 · Out $3.04 /1M
Open weights
GLM 5V TurboZ.ai

GLM-5V-Turbo is Z.ai’s first native multimodal agent foundation model, built for vision-based coding and agent-driven tasks. It natively handles image, video, and text inputs, excels at long-horizon planning, complex coding,...

Context 203KIn $1.20 · Out $4.00 /1M
GLM 5 TurboZ.ai

GLM-5 Turbo is a new model from Z.ai designed for fast inference and strong performance in agent-driven environments such as OpenClaw scenarios. It is deeply optimized for real-world agent workflows...

Context 203KIn $1.20 · Out $4.00 /1M

Questions about GLM 4.5

What is GLM 4.5?

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...

How big is the context window of GLM 4.5?

GLM 4.5 can read up to 131,072 tokens in one request, roughly 98,304 words.

How much does GLM 4.5 cost?

Through OpenRouter, GLM 4.5 costs about $0.60 / 1M tokens for input and $2.20 / 1M tokens for output. Prices change, so check before large jobs.

Is GLM 4.5 open source?

GLM 4.5 has open weights, so you can download and run it yourself, subject to its licence.

What can GLM 4.5 take as input?

GLM 4.5 accepts text and produces text.

Latest AI models

MiniMax: MiniMax M3.1 Flash (free)Minimax

MiniMax-M3.1-Flash is a multimodal model from MiniMax. Compared with M3, it delivers significant improvements across multiple benchmarks, particularly in complex agentic tasks, coding, and cybersecurity. It is built for complex,...

Context 1M
New
DeepSeek: DeepSeek V4.1 Flash 1017Deepseek

DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the `deepseek-flash` API model name. V4.1 Flash is a sparse mixture-of-experts model...

Context 1MIn $0.15 · Out $0.60 /1M
NewOpen weights
Elorian: GlimpseElorian

Glimpse is a multimodal visual reasoning model from Elorian, built for visual understanding and complex visual reasoning in the physical world. It reasons directly over images and video rather than...

Context 262KIn $0.60 · Out $3.00 /1M
New
XingChen: Xing4.0 29B A4B (free)Xingchen Agi

Xing4.0-29B-A4B is an open-weight mixture-of-experts language model from China Telecom's AI team (TeleAI) and the successor to the TeleChat series. It has 29B total parameters with 4B active per token...

Context 262K
NewOpen weights
Reflection: Beam 1.0 501B A23BReflection

Beam 1.0 is Reflection's open-weight reasoning model for coding and long-horizon agentic workflows. It uses a sparse mixture-of-experts architecture with 501B total and 23B active parameters per token, and a...

Context 1MIn $0.30 · Out $1.00 /1M
NewOpen weights
Inception: Mercury 3Inception

Mercury 3 is a diffusion-based language model from Inception, and the lab's most capable model to date. It is suited for agentic workflows and real-time applications where latency compounds, such...

Context 1MIn $0.10 · Out $0.35 /1M
New

Specs and prices come from OpenRouter and the provider, and are refreshed daily. Last checked 25 Jul 2025.

Type what you want to do — e.g. “edit video”, “write emails”, “Claude”. Press Enter to see all results.

Suggest an AI

Paste a name and a website. The autopilot checks it isn't listed yet, scans it for safety, reads the site and sorts it into the right category.

Chat with us