LiteLLMLiteLLM/ MODELS

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.

Prices from LiteLLM's price fileChecked

GLM 4.7 vs Mistral Large 4 side by side

Headline prices in US dollars per 1M tokens: each model's own lab where it sells it, otherwise its cheapest provider. Source: LiteLLM model price file, as of November 23, 2026.
GLM 4.7Mistral 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 window200,000 tokens1,048,576 tokens
Max output128,000 tokens1,048,576 tokens
Image input–Yes
Tool callingYesYes
Structured output (JSON)YesYes
Prompt cachingYesYes
ReasoningYesYes
Providers on LiteLLM102
Price shown is fromZ.aiMistral AI
Added to LiteLLMJanuary 2026October 7, 2026

Cheapest provider for each

Benchmark scores

From the Epoch AI Benchmarking Hub (CC BY 4.0), data as of October 29, 2026. Each model's best reported reasoning setting is shown in brackets. Higher is better. Only benchmarks with a score for both models are shown.
BenchmarkGLM 4.7Mistral Large 4
Reasoning and knowledge
GPQA Diamond83.3%88.1% (high)
SimpleQA Verified32.2%20.0% (high)
Math
OTIS Mock AIME 2024-202583.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.

Python SDK
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.