Per MillionLLM API prices, tracked daily

GLM-5.1 API Pricing

GLM-5.1 on DeepInfra costs $1.05 per 1M input tokens and $3.50 per 1M output tokens (as of ).

GLM-5.1 API Pricing. Source: the LiteLLM price list (MIT License)
Input$1.05 / 1M tokens
Output$3.50 / 1M tokens
Cached input (read)$0.20
Cache write—
Batch input / output—
Above 200K tokens (input / output)—
Context window203K tokens
Max output— tokens
Supportstool calling, reasoning, prompt caching
Deprecation dateNone listed
API model idzai-org/GLM-5.1
In our records since

What it costs for common jobs

Estimated from the list price above (no caching or batch discount).

What it costs for common jobs. Source: the LiteLLM price list (MIT License)
JobEstimated cost
1,000 chat replies (2,000 tokens in, 500 out each)$3.85
Summarising 100 long documents (50,000 in, 1,000 out each)$5.60
1 million classification calls (300 in, 5 out each)$332.50

Try your own numbers in the LLM API cost calculator.

Price history

No price change recorded since .

Similarly priced models

Sort:

Similarly priced models. Source: the LiteLLM price list (MIT License)
ModelProviderInput / 1MOutput / 1MCached input / 1MContext
DeepSeek-V4-ProDeepInfra$1.30$2.60$0.101.04858M
InklingDeepInfra$0.95$4.05$0.16524K
MiMo-V2.5-ProDeepInfra$1.00$3.00$0.201.04858M
DeepSeek-R1-0528-TurboDeepInfra$1.00$3.00—33K
DeepSeek-R1-TurboDeepInfra$1.00$3.00—41K
gemini-3.7-flashDeepInfra$0.75$3.75—1M
Kimi-K2.6DeepInfra$0.75$3.50$0.15262K
Kimi-K2.7-CodeDeepInfra$0.68$3.40$0.14262K