Updated

GLM API pricing

How GLM API charges, what to know before you commit, and what you'd pay at your usage — next to what the alternatives would cost for the same thing.

How it charges

Checked 2026-10-19 on docs.z.ai ↗ · USD, list prices
In short

Pay per token, from $0.15 / $0.50 per million input/output tokens on GLM-5.3-Flash to $1.40 / $4.40 on GLM-5.3, with some older Flash models free.

Free plan
No, pay as you go
Side project
$1.25/mo GLM-5.3-Flash
Growing
$13/mo GLM-5.3-Flash
Scaling
$250/mo GLM-5.3-Flash
What the model leaves out

International (Z.ai) prices, flat across input lengths. GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash are free. Mainland prices (bigmodel.cn) are in yuan and tiered by length for some models.

Before you commit
  • Cached input is billed lower (GLM-5.3 $0.26 per million) and cache storage is free for a limited time.
  • The built-in web search tool costs $0.01 per use.
  • GLM Coding Plan subscriptions are sold separately from API pay-as-you-go.
PlanMonthly feeInput tokens per monthOutput tokens per month
GLM-5.3None$1.4 per million tokens$4.4 per million tokens
GLM-5.3-FlashXNone$0.37 per million tokens$1.25 per million tokens
GLM-5.3-FlashNone$0.15 per million tokens$0.5 per million tokens

What you'd pay

Cost as you grow

$0$100$500$1,000$2,0001510501005001k5k
GLM APIDeepSeekMistral AIGroqGemini APIClaudeOpenAI APIx: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices

Questions

Is GLM API free for LLM API?

No — there's no free plan, but no monthly fee either: you pay for what you use (GLM-5.3: input tokens $1.4 per million tokens, output tokens $4.4 per million tokens).

How much does GLM API cost for LLM API?

Pay per token, from $0.15 / $0.50 per million input/output tokens on GLM-5.3-Flash to $1.40 / $4.40 on GLM-5.3, with some older Flash models free. At list prices: input tokens 5 million tokens, output tokens 1 million tokens: $1.25/month (GLM-5.3-Flash); input tokens 50 million tokens, output tokens 10 million tokens: $13/month (GLM-5.3-Flash); input tokens 1 billion tokens, output tokens 200 million tokens: $250/month (GLM-5.3-Flash).