Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Z.ai API

by Z.ai (Zhipu AI)

API for GLM language, vision, image, video and speech models with built-in web search.

Model hosting and inferenceOfficial MCP server

WebsitePricing

1. Price

Free tier: GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash are free. As reported on the official pricing page, checked Oct 27, 2026.

docs.z.ai/guides/overview/pricing

Checked against the maker's official pages, pricing on Oct 27, 2026. Tap a verdict to see its source.How we checkedReport an error

What Z.ai API does

API for GLM language, vision, image, video and speech models with built-in web search.

  • Z.ai API is one of 42 APIs in the Model hosting and inference category on AgentGid.
  • Its cheapest paid plan ($18 a month) is the 4th cheapest of the 12 here with a monthly plan.
  • It is one of 13 that can be started for free.
  • It ships an official MCP server, like 5 others here.
  • Its official SDK is the 13th most downloaded in the category (42.8K a week).

Z.ai API popularity

42.8K
SDK downloads a week
2
public agent repos use its SDK

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash are free

Cheapest plan

$18 a month

Usage price

$0.15/1M input, $0.50/1M output (GLM-5.3-Flash); $1.4/1M input, $4.4/1M output (GLM-5.3); Web Search $0.01/use

Price history
  • A year of the pricing page in the Internet Archive (1 months): the lowest monthly figure went from $18 (2026-11) to $18 (2026-11).

As reported on the official pricing page, checked Oct 27, 2026. Prices change: confirm before you buy. docs.z.ai/guides/overview/pricing

Use it from an agent

Our agent check

5 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page no, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

Official: @z_ai/mcp-server

PyPI
pip install zai-sdk

Alternatives

Z.ai API This page

from $0.01/useFree tierOfficial MCP

OpenAI API

GPT models for text, vision, tool calling and agents, priced per 1M tokens.

from $0.1No free tier

Gemini API

Gemini models for text, image, audio and video input, priced per 1M tokens, with a free tier.

Free planFree tier

Mistral AI API

Mistral's open-weight and commercial models via API, priced per 1M tokens.

from $0.5 per million input tokensNo free tier

Groq (LLM inference)

Fast inference API for open models such as GPT-OSS and Llama, priced per 1M tokens.

from $0.075No free tier

All model hosting and inference APIs

Get started

Install the official SDK.

pip install zai-sdk

No step-by-step start for Z.ai API yet: we have not written its hand-checked card. Its official docs are linked at the top.