OpenAI
GPT-5 Mini
GPT-5 Mini from OpenAI: Small GPT-5 for responsive agents, coding help, and everyday automation.
- Context
- 400K
- Max output
- 128K
- Input / 1M tokens
- $0.25
- Output / 1M tokens
- $2.00
Accepts
- Text input
- Image input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
GPT-5 Mini from OpenAI lists 400K context, 128K maximum output, $0.25 input per 1M tokens, $2.00 output per 1M tokens. GLM-5.1 from Z.ai / Zhipu AI lists 200K context, 131.07K maximum output, $1.40 input per 1M tokens, $4.40 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.
OpenAI
GPT-5 Mini from OpenAI: Small GPT-5 for responsive agents, coding help, and everyday automation.
Accepts
Produces
Z.ai / Zhipu AI
GLM-5.1 from Z.ai / Zhipu AI: Strong GLM coding model for agentic engineering, terminals, and repository generation.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
GPT-5 Mini
GLM-5.1
Context capacity
Higher listed limit
GPT-5 Mini:400K
GLM-5.1:200K
GPT-5 Mini
Maximum output
Higher listed limit
GPT-5 Mini:128K
GLM-5.1:131.07K
GLM-5.1
Input price
Lower listed token rate
GPT-5 Mini:$0.25
GLM-5.1:$1.40
GPT-5 Mini
Output price
Lower listed token rate
GPT-5 Mini:$2.00
GLM-5.1:$4.40
GPT-5 Mini
Specifications
| Specification | GPT-5 Mini | GLM-5.1 |
|---|---|---|
| Provider | OpenAI | Z.ai / Zhipu AI |
| Listed pricing route | OpenAI | Z.ai / Zhipu AI |
| Model family | gpt-mini | glm |
| Accepted inputs | text, image | text |
| Produced outputs | text | text |
| Context window | 400KHigher | 200K |
| Max output | 128K | 131.07KHigher |
| Input price / 1M | $0.25Lower | $1.40 |
| Output price / 1M | $2.00Lower | $4.40 |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Documented | Not documented |
| Audio input | Not documented | Not documented |
| Structured output | Documented | Documented |
| License | Proprietary | Open weights |
Workload guidance
Consider GPT-5 Mini if you need larger context or a lower listed input rate or a lower listed output rate. Consider GLM-5.1 if you need larger maximum output. GLM-5.1 offers downloadable weights; GPT-5 Mini is listed as a proprietary model. Compare licence terms and operating costs before choosing a deployment. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.
Explore each model’s features, API requirements and licence terms in the sources below.
GPT-5 Mini
OpenAI
Profile updated Oct 13, 2026
GLM-5.1
Z.ai / Zhipu AI
Profile updated Oct 13, 2026
Model card and weights ↗Search by model or provider to explore another comparison.