GLM 4.7 vs Mistral Large 4
As of November 23, 2026, Mistral Large 4 costs 17% more per input token than GLM 4.7 ($0.70 vs $0.60 per 1M) and has a 1M-token context window versus 200K.
GLM 4.7 vs Mistral Large 4 side by side
| GLM 4.7 | Mistral Large 4 | |
|---|---|---|
| Input, per 1M tokens | $0.60 | $0.70 |
| Output, per 1M tokens | $2.20 | $2.10 |
| Cache read, per 1M tokens | $0.11 | $0.07 |
| Cache write, per 1M tokens | $0 | – |
| Context window | 200,000 tokens | 1,048,576 tokens |
| Max output | 128,000 tokens | 1,048,576 tokens |
| Image input | – | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 10 | 2 |
| Price shown is from | Z.ai | Mistral AI |
| Added to LiteLLM | January 2026 | October 7, 2026 |
Cheapest provider for each
- GLM 4.7: DeepInfra at $0.40 input and $1.75 output per 1M tokens (
deepinfra/zai-org/GLM-4.7) - Mistral Large 4: Mistral AI at $0.70 input and $2.10 output per 1M tokens (
mistral/mistral-large-4)
Benchmark scores
| Benchmark | GLM 4.7 | Mistral Large 4 |
|---|---|---|
| Reasoning and knowledge | ||
| GPQA Diamond | 83.3% | 88.1% (high) |
| SimpleQA Verified | 32.2% | 20.0% (high) |
| Math | ||
| OTIS Mock AIME 2024-2025 | 83.3% | 98.3% (high) |
When to pick which
Pick GLM 4.7 for
- Costs 14% less per input token: $0.60 vs $0.70 per 1M.
- Available from 10 providers through LiteLLM, vs 2.
Pick Mistral Large 4 for
- Larger context window: 1,048,576 vs 200,000 tokens.
- Returns up to 1,048,576 tokens per response, vs 128,000.
From differences in the data above only; where the data is equal, no reason is given.
Call GLM 4.7 or Mistral Large 4 with LiteLLM
Both use the OpenAI format through LiteLLM, so switching is a model name change. Set each provider's API key in the environment first.
from litellm import completion
messages = [{"role": "user", "content": "Hello!"}]
# GLM 4.7
response = completion(model="zai/glm-4.7", messages=messages)
# Mistral Large 4
response = completion(model="mistral/mistral-large-4", messages=messages)
# GLM 4.7, falling back to Mistral Large 4 if the call fails
response = completion(model="zai/glm-4.7", messages=messages, fallbacks=["mistral/mistral-large-4"])FAQ
Which is cheaper, GLM 4.7 or Mistral Large 4?
GLM 4.7 is cheaper at 3 input tokens per output token: $1.00 per 1M tokens blended ($0.60 input, $2.20 output), versus $1.05 ($0.70 and $2.10) for Mistral Large 4, as of November 23, 2026.
Which has the larger context window, GLM 4.7 or Mistral Large 4?
Mistral Large 4 has the larger context window: 1,048,576 tokens, versus 200,000 for GLM 4.7.
Can I switch from GLM 4.7 to Mistral Large 4 without changing my code?
Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "zai/glm-4.7" to "mistral/mistral-large-4", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.