# Z.ai API — card for AI agents

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

Maker: Z.ai (Zhipu AI) · category: Model hosting and inference

## Price (official page)
- Free tier: GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash are free
- Paid from $18/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
- Pricing page: https://docs.z.ai/guides/overview/pricing (checked 2026-10-09)
- Note: API is pay-per-token; the $18/month figure is the GLM Coding Plan subscription for coding tools.

## Connect
- Official MCP server: @z_ai/mcp-server
- PyPI: `pip install zai-sdk`

## For AI agents on Z.ai (Zhipu AI)'s own site (AgentGid check 2026-11-13: 5 of 6)
- llms.txt: https://docs.z.ai/llms.txt (full text: https://docs.z.ai/llms-full.txt)
- Docs pages as Markdown: 99% of the pages llms.txt lists
- OpenAPI description: https://docs.z.ai/openapi.json
- Official MCP server: yes · official SDK: yes · status page: no
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 1 (2026-11 to 2026-11) of https://docs.z.ai/guides/overview/pricing
- Lowest $/month figure on the page: $18 in 2026-11, $18 in 2026-11
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-10)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- OpenAI API: https://agentgid.com/apis/openai-api/agent.md
- Gemini API: https://agentgid.com/apis/google-gemini-api/agent.md
- Mistral AI API: https://agentgid.com/apis/mistral-api/agent.md
- Groq (LLM inference): https://agentgid.com/apis/groq/agent.md
- Cohere: https://agentgid.com/apis/cohere/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/z-ai/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
