impulse

Zai Glm 5

API id zai-glm-5
Input / 1M
$1.40
at Mistral AI
Output / 1M
$4.40
at Mistral AI
Context window
1M
tokens
Max output
131K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Mistral AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$1.40$4.40
Cached input
90% off input
$0.14

What it costs a month

At Mistral AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$637
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$528
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$886
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$4,416
Use your own numbers

Where to run it

1 host serve Zai Glm 5. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Mistral AILab API
zai-glm-5
$1.40 / $4.40

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Effort settings the source lists
lowhighmax
Features
Assistant prefillPrompt caching

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Mistral AI.

Smaller Mistral AI models

Other frontier labs

  • GPT-6.1 Terra
    OpenAI · on OpenAI
    $1.00 / $5.00
    Has every key capability
    7% less
  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    30% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    42% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    91% less

Open-weight picks

  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    20% less
  • GLM 5.3
    Zhipu AI · on CLF AI Gateway
    $0.56 / $1.76
    Has every key capability
    60% less
  • DeepSeek V4 Pro
    DeepSeek · on CLF AI Gateway
    $0.528 / $1.58
    Has every key capability
    63% less
  • Kimi K2.7 Code
    Moonshot AI · on CLF AI Gateway
    $0.38 / $1.60
    Has every key capability
    68% less

Model line

Newer and older versions, at each lab's own price.

  1. UndatedZai Glm 5.3Latest$1.40 / $4.40
  2. UndatedZai Glm 5.2$1.40 / $4.40
  3. UndatedZai Glm 5This page$1.40 / $4.40

Call it

Using Mistral AI's API.

Python
from litellm import completion

response = completion(
    model="mistral/zai-glm-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Zai Glm 5 cost?

On Mistral AI, Zai Glm 5 costs $1.40 per million input tokens and $4.40 per million output tokens. Cached input costs $0.14 per million tokens.

Which APIs offer Zai Glm 5?

Zai Glm 5 runs on 1 API: Mistral AI.

What is Zai Glm 5's context window?

1M tokens, with up to 131K tokens in one reply.

Is Zai Glm 5 being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of Zai Glm 5?

Yes. Zai Glm 5.3 is the newest model in this line.

What are cheaper alternatives to Zai Glm 5?

Models that cost less and keep most of what it can do: Zai Glm 5.3 Flash on Mistral AI (89% less), GPT-6.1 Terra on OpenAI (7% less), Gemini 3.8 Flash on Google AI Studio (30% less) and Inkling on DeepInfra (20% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Zai Glm 5's API model id?

Use zai-glm-5 with Mistral AI.

Sources

Raw catalog entry for zai-glm-5 on Mistral AI
{
  "cache_read_input_token_cost": 1.4e-7,
  "input_cost_per_token": 0.0000014,
  "litellm_provider": "mistral",
  "max_input_tokens": 1048576,
  "max_output_tokens": 131072,
  "mode": "chat",
  "output_cost_per_token": 0.0000044,
  "reasoning_effort_levels": [
    "low",
    "high",
    "max"
  ],
  "source": "https://docs.mistral.ai/models/zai-glm-5-3",
  "supports_assistant_prefill": true,
  "supports_function_calling": true,
  "supports_prompt_caching": true,
  "supports_reasoning": true,
  "supports_response_schema": true,
  "supports_tool_choice": true
}