LiteLLMLiteLLM/ MODELS

Zai GLM 5.4 API Pricing

1 providermistral/zai-glm-5-4Compare
Input / output
$1.40 / $4.40 per 1M tokens
Cache read
$0.14 / 1M
Context
1M tokens
Max output
128K tokens

As of December 2, 2026, Zai GLM 5.4 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on Mistral AI, with cache reads at $0.14 per 1M tokens. It has a 1,048,576-token context window and returns up to 128,000 tokens per response.

Prices updated Checked

Zai GLM 5.4 pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Zai GLM 5.4 prices by provider in US dollars, token prices per 1M tokens, as of December 2, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readContext
Mistral AImistral/zai-glm-5-4$1.40$4.40$0.141M

What Zai GLM 5.4 costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Mistral AI$5.00

100 long-document requests with 100,000 input and 2,000 output tokens each

Mistral AI$14.88

Zai GLM 5.4 cost calculator

At Mistral AI's price ($1.40 input, $4.40 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $36.00 a day, about $1,080 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.0036
Per day
$36.00
Per month (30 days)
$1,080

Zai GLM 5.4 features

Input: text, image. Output: text.

Use Zai GLM 5.4 with LiteLLM

Call Zai GLM 5.4 through the LiteLLM Python SDK, or configure it on the LiteLLM proxy and send a POST /v1/chat/completions request. API documentation

Python SDK
from litellm import completion

response = completion(
    model="mistral/zai-glm-5-4",
    messages=[{"role":"user","content":"Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: zai-glm-5-4
    litellm_params:
      model: mistral/zai-glm-5-4
      api_key: os.environ/MISTRAL_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "zai-glm-5-4",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Zai GLM 5.4 FAQ

How much does Zai GLM 5.4 cost?

Zai GLM 5.4 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on Mistral AI, with cache reads at $0.14 per 1M tokens.

What is the context window of Zai GLM 5.4?

Zai GLM 5.4 has a 1,048,576-token context window and returns up to 128,000 tokens per response.

Which providers offer Zai GLM 5.4?

Zai GLM 5.4 is available from Mistral AI through LiteLLM, using the model name mistral/zai-glm-5-4.

How do I use Zai GLM 5.4 with LiteLLM?

Call completion() in the LiteLLM Python SDK with model="mistral/zai-glm-5-4", or configure the model on the LiteLLM proxy and send a POST request to /v1/chat/completions.

What features does Zai GLM 5.4 support?

Zai GLM 5.4 supports function calling, structured output, image input, reasoning and prompt caching.

When did LiteLLM add Zai GLM 5.4?

Zai GLM 5.4 was added to LiteLLM's model price file on December 2, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Mistral AI.

Provider pages: Mistral AI.