Zhipu AI / Z.ai

GLM 4 API Pricing / Price per 1M tokens

Zhipu AI / Z.ai • API Price Comparison

Also known as: glm-4 · glm4

API pricing and token costs at a glance

Updated on · Published currencies / per 1M tokens; cheapest ranked by input

Official and cheapest channel API pricing
ChannelInput / 1MOutput / 1MCache read / 1MUpdated / verified on
OfficialNo official quote recorded
XycAiLowest inputCNY 98.85965CNY 98.85965—2026-10-30

Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately CNY 123.5745625. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.

— means the price or date is not recorded. Cross-currency ranking uses exchange rates.

📏 Context: 202,752 tokensAdded Mar 19, 2026

GLM 4 is a large language model by Zhipu AI / Z.ai with a 203K-token context window. Across the 1 API channels tracked here, input pricing ranges from $14.33 per 1M input tokens; the cheapest is XycAi at ¥98.86 per 1M input tokens. Channels reachable from mainland China without a VPN include XycAi. It is also available through subscription plans such as GLM Coding Lite, GLM Coding Pro, GLM Coding Max. Prices are collected daily from official provider pages and every tracked channel, then cross-checked by a data-accuracy audit.

💰 Cheapest Option
XycAi
¥98.86/1M input
¥98.86/1M output
🇨🇳 China AvailableVisit website
🏢 Official Price
N/A
No official channel available
🇨🇳 Best in China
XycAi
¥98.86/1M input
¥98.86/1M output
Alipay/WeChat Pay acceptedVisit website

💳 Subscription Plans

Plans from Zhipu AI / Z.ai come first, followed by linked third-party plans; each group is organized by product line.

Official plans

These are the model producer’s plans. A plan may not include this exact model; check the official site for current model availability and allowances.

⌨️ Coding plans

3 plans

Editor and CLI coding agents, metered in prompts rather than tokens.

Zhipu AI / Z.ai
GLM Coding Lite
¥118.00 / month
¥991.20 / year
  • Recorded plan allowance: 10000 credits per week
  • Plan price: ¥118.00/month
  • Billed annually ¥991.20
  • Payment methods: Alipay / WeChat Pay
Last verified:
Source
Conditions and details
  • Accessible from mainland China
  • Currency CNY, unit per month
  • EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
  • Does the subscription allowance cover third-party models?: Unknown
  • Available in China
Zhipu AI / Z.ai
GLM Coding Pro
¥538.00 / month
¥4,519.20 / year
  • EstimateRecorded estimated plan allowance: 60000 credits per week
  • Context tokens: 202752
  • Plan price: ¥538.00/month
  • Billed annually ¥4,519.20 (¥104.25/month)
Last verified:
Source
Conditions and details
  • Payment methods: Alipay / WeChat Pay
  • Accessible from mainland China
  • Currency CNY, unit per month
  • EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
  • Does the subscription allowance cover third-party models?: Unknown
  • Available in China
Zhipu AI / Z.ai
GLM Coding Max
¥1,078.00 / month
¥9,055.20 / year
  • EstimateRecorded estimated plan allowance: 140000 credits per week
  • Plan price: ¥1,078.00/month
  • Billed annually ¥9,055.20
  • Payment methods: Alipay / WeChat Pay
Last verified:
Source
Conditions and details
  • Accessible from mainland China
  • Currency CNY, unit per month
  • EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
  • Does the subscription allowance cover third-party models?: Unknown
  • Available in China
GLM 4 subscription plans & pricing
💡

Which plan is right for you?

Pro: Ideal for individual professionals with regular usage needs

Max: For power users who need extended thinking and highest usage limits

📊 Channel Price Comparison
Compare glm-4 API prices across all available channels • 1 channels available
ChannelTypeInput / 1MOutput / 1MRate LimitChinavs Official
XycAi💰 Best Price
Reseller¥98.86¥98.86--
📈 Price History
Every scraper-detected price change is recorded. Same-day multiple changes take the last value; unchanged channels carry the last observed price forward.
49 changes · 1/1 channels
💵 Estimated Monthly Costs
Based on typical usage patterns (input:output = 2:1 ratio); all channels converted to USD for comparison
Usage LevelTokens/MonthXycAi
🐣 Light0.1M in + 0.1M out$2.15
📊 Medium1.0M in + 0.5M out$21.49
🚀 Heavy10.0M in + 5.0M out$214.91
🏢 Enterprise100.0M in + 50.0M out$2,149.12

Frequently asked questions about glm-4

How much does the GLM 4 API cost?

The lowest input rate is CNY 98.85965 per 1M tokens; output on that channel is CNY 98.85965 per 1M tokens.

Which channel has the cheapest GLM 4 API?

XycAi has the lowest input rate: CNY 98.85965 per 1M tokens. Cross-currency ranking uses exchange rates; compare output and cache prices separately.

What is the GLM 4 cache-read price?

No cache-read rate is recorded; missing prices do not imply free caching.

When was GLM 4 pricing last updated?

Updated on 2026-10-30. This is the latest recorded price update or verification; see the table for individual channel dates.

Is there a free GLM 4 API?

No available recorded channel lists both input and output at zero. Missing prices, free cache reads or a free chat tier do not establish a free API; check provider terms for trial credits.

How do I calculate GLM 4 token costs and monthly spend?

Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately CNY 123.5745625. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.

Related pricing research

GLM Pricing: ChatGLM API Costs, Free Routes & Coding Plans

Read the full guide →

Related models from the same producer

GLM 4 API Pricing / Price per 1M tokens | aiplans.dev