Z
AI Tool Profile

Z.ai (GLM)

Z.ai offers the GLM model family through a chat app and a developer API billed per million tokens. GLM-5.3-Flash is listed at $0.15 input and $0.50 output, and the API is compatible with the OpenAI SDK.

Website
z.ai
Pricing model
Paid
Price start
Contact for pricing

Description of Z.ai (GLM)

Z.ai is the company behind the GLM family of language models. Its main site, z.ai, opens the Z.ai chat app, and its developer documentation describes an open platform where you register, top up a balance, create an API key and call models over a REST API. Official Python and Java SDKs are offered, and the API can also be reached through the OpenAI SDK, which makes it easier to switch existing code. The documentation lists GLM-5.3 as the latest flagship model, with improvements in software engineering and agent tasks, alongside GLM-5.3-Flash and FlashX, a multimodal coding model for visual programming, and capabilities such as thinking mode, function calling, tool streaming, structured output and context caching.

API pricing is per million tokens in US dollars. GLM-5.3-Flash costs $0.15 for input, $0.03 for cached input and $0.50 for output, GLM-5.3-FlashX costs $0.37 and $1.25, and the full GLM-5.3 and GLM-5.2 models cost $1.40 for input and $4.40 for output. Storage of cached input is listed as free for a limited time. Built-in web search costs $0.01 per use, image generation with GLM-Image is $0.015 per image, and agent products such as a slide and poster agent and a translation agent have their own rates.

Z.ai also sells a separate GLM Coding Plan subscription for use inside coding agent tools. No free API tier is stated on the pricing page, so you pay from the first token after topping up.

Features of Z.ai (GLM)

  1. GLM-5.3, GLM-5.3-Flash and FlashX models via a REST API with Python and Java SDKs and OpenAI SDK compatibility.
  2. Per-token pricing with discounted cached input, from $0.15 input and $0.50 output per million tokens on GLM-5.3-Flash.
  3. Thinking mode, function calling, structured output, context caching and built-in web search at $0.01 per use.

Frequently asked questions

How much does the Z.ai GLM API cost?

GLM-5.3-Flash is $0.15 per million input tokens and $0.50 per million output tokens, with cached input at $0.03. The full GLM-5.3 model is $1.40 input and $4.40 output per million tokens.

Can I use the OpenAI SDK with Z.ai?

Yes. Z.ai's quick-start guide lists OpenAI SDK compatibility alongside its own Python and Java SDKs, so existing OpenAI-style code can point at the Z.ai endpoint.

Website: https://z.ai/

Company: Z.ai

Key facts

Developer API for Z.ai's GLM models with OpenAI SDK compatibility and low Flash-tier rates; no free tier stated. GLM-5.3-Flash $0.15 in / $0.50 out per million tokens.

Pricing model Usage-based
Free tier No free plan
Starting price Not verified
Data residency Not verified
Compliance (as stated by vendor) Not verified
Integrations Not verified
Public API Yes
Self-hostable Not verified
Official site Not verified
Can a general AI assistant replace it? For chatting, chat.z.ai is enough. Use the API when you want GLM models in your own code or coding agents and need to control per-token cost.
Last verified 2026-10-12 by editor

Alternatives & Similar Tools

Alook logo
Alook Freemium

Alook is a shared workspace where people and AI coding agents such as Claude Code and Codex work together in the same chats, so your team can reach every agent directly with no more relaying messages.

LetsDeployIt logo

LetsDeployIt takes apps built with Lovable, Bolt, Rork and other AI builders to the App Store and Google Play in 3 to 4 weeks, for a flat fee, approved or your money back.

Claude Code logo

Claude Code is Anthropic's coding agent that reads a codebase, edits files and runs commands from a terminal, editors, web or desktop app. Not included in the free Claude plan; paid plans start at $20 a month.

Insomnia logo
Insomnia Freemium

Insomnia is an autonomous AI pentesting suite with a 7-member AI red team that tests your web apps, APIs, networks, Active Directory and code around the clock, then delivers client-ready reports.

O
Open Interpreter Open Source

Open Interpreter is an open-source terminal agent, forked from Codex, that reads and edits files and runs commands inside an OS-level sandbox with approvals. It is free under Apache 2.0 and works with local models through Ollama or LM Studio.

T

Together AI is a cloud platform for running open models through a per-token serverless API, plus dedicated endpoints, GPU clusters and fine-tuning. Hosted GLM-5.3-Flash, for example, is listed at $0.15 input and $0.50 output per million tokens.

Update history

  1. 2026-10-12 · ai alternative note updated (editor)
  2. 2026-10-12 · editor verdict updated (editor)
  3. 2026-10-12 · api available updated (editor)
  4. 2026-10-12 · pricing page url updated (editor)
  5. 2026-10-12 · free tier updated (editor)
  6. 2026-10-12 · pricing model updated (editor)

Beyond the tool

Need the outcome rather than the software?