GLM-5.4 vs MiniMax-M4 pricing
- For the Chatbot workload, MiniMax-M4 costs 1.5× less than GLM-5.4.
- For the RAG workload, MiniMax-M4 costs 1.7× less than GLM-5.4.
- For the Coding agent workload, MiniMax-M4 costs 2.0× less than GLM-5.4.
Prices
| USD per 1M tokens | GLM-5.4 | MiniMax-M4 |
|---|---|---|
| Input | $1.40 | $0.80 |
| Output | $4.40 | $3.10 |
| Cache read | $0.26 | $0.05 |
| Cache write | Free | Not published |
| Batch input | Not published | Not published |
| Batch output | Not published | Not published |
GLM-5.4: Z.AI's list price for its own API, as compiled by models.dev and checked Dec 4, 2026, 18:49 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
MiniMax-M4: MiniMax's list price for its own API, as compiled by models.dev and checked Dec 4, 2026, 18:49 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Monthly cost by workload
| Workload | GLM-5.4 | MiniMax-M4 |
|---|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $1,080/mo | $705.00/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $2,010/mo | $1,193/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $996.00/mo | $486.00/mo |
Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.
Context and capabilities
| GLM-5.4 | MiniMax-M4 | |
|---|---|---|
| Context | 1,000,000 tokens | 1,000,000 tokens |
| Max output | 131,072 tokens | 262,144 tokens |
| Input | text, image, video, pdf | text, image |
| Tool calling | Yes | Yes |
| Reasoning | Yes | Yes |
| Structured outputs | Yes | No |
Questions
- What is the price difference between GLM-5.4 and MiniMax-M4?
- GLM-5.4: $1.40 per 1M input tokens and $4.40 per 1M output tokens. MiniMax-M4: $0.80 per 1M input tokens and $3.10 per 1M output tokens. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $1,080 per month for GLM-5.4 and $705.00 for MiniMax-M4.
- Which has the longer context window, GLM-5.4 or MiniMax-M4?
- Both accept up to 1,000,000 tokens of context.
- Do GLM-5.4 and MiniMax-M4 have prompt caching and batch prices?
- GLM-5.4: cached input $0.26 per 1M tokens; no batch price published. MiniMax-M4: cached input $0.05 per 1M tokens; no batch price published.