Compare Mistral Small 4 from Mistral AI and GLM 5.1 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.


Mistral Small 4 and GLM 5.1 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Mistral Small 4, from Mistral AI, has a 262,144-token context window and is priced at $0.15/M tokens input, $0.60/M tokens output on OpenRouter.
GLM 5.1, from Z.ai, has a 204,800-token context window and is priced at $0.966/M tokens input, $3.036/M tokens output on OpenRouter.
| Attribute | Mistral Small 4 | GLM 5.1 |
|---|---|---|
| Input price | $0.15/M tokens | $0.966/M tokens |
| Output price | $0.60/M tokens | $3.036/M tokens |
| Context window | 262,144 tokens | 204,800 tokens |
| Intelligence Index | 9.0 | 24.2 |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 0.74 s | 2.01 s |
| Throughput (p50) | 101.0 tok/s | 24.0 tok/s |
Benchmark data updated
Mistral Small 4 is cheaper than GLM 5.1 on OpenRouter: Mistral Small 4 costs $0.15/M tokens input and $0.60/M tokens output, while GLM 5.1 costs $0.966/M tokens input and $3.036/M tokens output.
Mistral Small 4 has the longer context window at 262,144 tokens, compared with 204,800 tokens for GLM 5.1.
Mistral Small 4 is faster on OpenRouter, generating a median 101.0 tokens per second compared with 24.0 tokens per second for GLM 5.1.