GLM-5.1 (Reasoning) vs. GPT-5.1 Codex mini (high)
Comparison between GLM-5.1 (Reasoning) and GPT-5.1 Codex mini (high) across intelligence, price, speed, context window and more.
For details relating to our methodology, see our Methodology page.
Highlights
Model Comparison
GLM-5.1 (Reasoning) | GPT-5.1 Codex mini (high) | ||
|---|---|---|---|
| Intelligence Index | 40 | 31* | GLM-5.1 (Reasoning) is more intelligent than GPT-5.1 Codex mini (high) |
| Price per 1M Tokens | $0.90 | $0.42 | GPT-5.1 Codex mini (high) is cheaper than GLM-5.1 (Reasoning) |
| Output Speed | 81 tokens/s | 208 tokens/s | GPT-5.1 Codex mini (high) is faster than GLM-5.1 (Reasoning) |
| Time to First Token | 1.50s | 5.93s | GLM-5.1 (Reasoning) responds faster than GPT-5.1 Codex mini (high) |
| Context Window | 200k tokens~300 A4 pages of size 12 Arial font | 400k tokens~600 A4 pages of size 12 Arial font | GPT-5.1 Codex mini (high) has a larger context window than GLM-5.1 (Reasoning) |
| Release Date | April, 2026 | November, 2025 | GLM-5.1 (Reasoning) has a more recent release date than GPT-5.1 Codex mini (high) |
| Reasoning | Yes | Yes | Both GLM-5.1 (Reasoning) and GPT-5.1 Codex mini (high) have reasoning |
| Image Input Support | No | Yes | GPT-5.1 Codex mini (high) has image input support while GLM-5.1 (Reasoning) does not |
| Open Source (Weights) | No | GLM-5.1 (Reasoning) is open source while GPT-5.1 Codex mini (high) is proprietary |
IntelligenceUpdated
Artificial Analysis Intelligence Index
Artificial Analysis Intelligence Index by Open Weights / Proprietary
Intelligence Evaluations
Agentic real-world work tasks, (Elo-500)/2000
Agentic tool use
Agentic coding & terminal use
Coding
Reasoning & knowledge
Scientific reasoning
Physics reasoning
Knowledge
1 - hallucination rate
Long context reasoning
Agentic knowledge work, Elo
Agentic SaaS workflows
Legal agentic work, criterion pass rate
Agentic business operations
Instruction following
Long-horizon agentic tasks
Kubernetes incident root-cause analysis
Visual reasoning
AA-BriefcaseNew
AA-Briefcase Elo
AA-Omniscience
AA-Omniscience Index
Openness
Artificial Analysis Openness Index: Score
Intelligence Index Comparisons
Intelligence vs. Cost per Intelligence Index Task
Token Use
Output Tokens per Intelligence Index Task
Price and Cost
Cost per Intelligence Index Task
Cost to Run Artificial Analysis Intelligence Index
Pricing: Cache Hit, Input, and Output
Context Window
Context Window
Speed
Measured by Output Speed (tokens per second)
Output Speed
Time per Intelligence Index Task
Latency
Measured by Time (seconds) to First Token
Latency: Time To First Answer Token
End-to-End Response Time
Seconds to output 500 tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed
End-to-End Response Time
Model Size (Open Weights Models Only)
Model Size: Total and Active Parameters
Frequently Asked Questions
GLM-5.1 (Reasoning) is more intelligent. GLM-5.1 (Reasoning) scores 40, compared with GPT-5.1 Codex mini (high) at 31 (estimated) on the Artificial Analysis Intelligence Index.
GPT-5.1 Codex mini (high) is faster. GPT-5.1 Codex mini (high) generates 208.0 tokens per second, compared with GLM-5.1 (Reasoning) at 81.1 tokens per second.
GPT-5.1 Codex mini (high) is cheaper. GPT-5.1 Codex mini (high) costs $0.42 per 1M tokens, compared with GLM-5.1 (Reasoning) at $0.90 per 1M tokens (7:2:1 cache hit/input/output ratio).
GLM-5.1 (Reasoning) has lower latency. GLM-5.1 (Reasoning) has a time to first token of 1.50s, compared with GPT-5.1 Codex mini (high) at 5.93s.
GPT-5.1 Codex mini (high) has a larger context window. GPT-5.1 Codex mini (high) supports 400k tokens, compared with GLM-5.1 (Reasoning) at 200k tokens.