Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Z.ai - Open weights

GLM-4-32B-0414-128K pricing and specs

GLM-4-32B-0414-128K is an open-weights model from Z.ai that costs $0.10 per 1M input tokens and $0.10 per 1M output tokens on the first-party API, with a 128K-token context window.

Last verified from docs.z.ai. All sources

Input / 1M
$0.10
Output / 1M
$0.10
Context
128K tokens
Weights
Open

Pricing per 1M tokens

ItemPrice / 1M tokens
Input$0.10
Output$0.10

Note: Legacy model listed under 'Other Pricing'. Both the pricing page and the model page give $0.1 per million tokens for input and output. The pricing page shows '-' for cached input, so cache read is not stated. weights link points to zai-org/GLM-4-32B-0414 (MIT); the API name adds a '128K' suffix that the Z.ai docs do not explain. The release date is left blank because no release note or launch post read today dates the API model. Not in the Vercel AI Gateway list.

Specs

Context window
128,000 tokens
Max output
16,000 tokens
Provider
Z.ai
API model id
glm-4-32b-0414-128k
Weights
Open weights
License
MIT
Weights download
huggingface.co

What GLM-4-32B-0414-128K costs in practice

Worked from the standard list rates above, with the math shown so you can swap in your own token counts.

One agent session

1M input tokens and 100K output tokens, no caching.

  • Input1M x $0.10 = $0.10
  • Output0.1M x $0.10 = $0.01

$0.11per session

A chat app

10,000 requests a day at 2K input and 500 output tokens each.

  • Input20M x $0.10 = $2.00
  • Output5M x $0.10 = $0.50

$2.50per day

$75.00 per 30-day month

Compare with

ModelInput / 1MOutput / 1M
GLM-4-32B-0414-128K (this page)$0.10$0.10
Ministral 3 3BMistral AI$0.10$0.10
Qwen3.7-FlashAlibaba Cloud (Qwen)$0.03$0.13
Amazon Nova MicroAmazon$0.035$0.14
Command R7BCohere$0.0375$0.15
GLM-4.7-FlashXZ.ai$0.07$0.40
GLM-5.3-FlashZ.ai$0.15$0.50
GLM-4.6VZ.ai$0.30$0.90
GLM-4.5-AirZ.ai$0.20$1.10
GLM-5.3-FlashXZ.ai$0.37$1.25
GLM-4.5Z.ai$0.60$2.20

FAQ

How much does GLM-4-32B-0414-128K cost per million tokens?

GLM-4-32B-0414-128K costs $0.10 per 1M input tokens and $0.10 per 1M output tokens on Z.ai's first-party API, per docs.z.ai on October 17, 2026.

What is GLM-4-32B-0414-128K's context window?

GLM-4-32B-0414-128K has a 128,000-token context window and returns up to 16,000 output tokens per response.

Are GLM-4-32B-0414-128K's weights open?

Yes. GLM-4-32B-0414-128K's weights are published at https://huggingface.co/zai-org/GLM-4-32B-0414 under the MIT.

Sources

Last verified from docs.z.ai.

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.