Across 2 comparable benchmarks, GLM-4-9B-Chat has better reported results on 2 and worse on 0.
Limited evidence2 of 2 shared results countedHow we compare
Price basis: Standard rates vs listed rates. The price section below shows the applicable periods.
| Fact | Phi-4-mini-instruct (3.8B) | GLM-4-9B-Chat |
|---|---|---|
| Context window | 128K tokens | 128K tokens |
| Input / 1M | $0.075 | — |
| Output / 1M | $0.300 | — |
| Blended (4:1) | $0.120 | — |
| Status | Available | Available |
| Released | February 27, 2025 | June 5, 2024 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 1 shared benchmark grouped by capability on a 0–100 scale. How averages are built
GLM-4-9B-Chat ahead on 1 of 1 counted
No shared comparable results for Coding, Abstract reasoning, Science & health, Computer & tool use, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show Phi-4-mini-instruct (3.8B) relative to GLM-4-9B-Chat. Reading the results
| Benchmark | Phi-4-mini-instruct (3.8B) | GLM-4-9B-Chat | Gap |
|---|---|---|---|
| AIME 2024Mathematics · Accuracy | 10.0Normal · no tools | 76.4Normal · no tools | −66.4 pts#53 vs #30 of 54 |
| MMLU-ProKnowledge Exams · Accuracy | 52.8Normal · no tools | 72.4Normal · no tools | −19.6 pts#119 vs #88 of 153 |
A dash means no result is available.
| Benchmark | Phi-4-mini-instruct (3.8B) | GLM-4-9B-Chat |
|---|---|---|
| GPQA | — | 58.5 |
| GPQA Diamond | 36.0 | — |
| GSM8K | 88.6 | — |
| MATH | 64.0 | — |
| MATH-500 | 71.8 | — |
| MMLU | 67.3 | — |
| HumanEval | 74.4 | — |
| LiveCodeBench | — | 51.8 |
| MBPP | 65.3 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Phi-4-mini-instruct (3.8B): Standard pricing. Azure AI Foundry (Phi-4-mini (128K)) verified 2026-11-14
GLM-4-9B-Chat: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Phi-4-mini-instruct (3.8B) | GLM-4-9B-Chat | Ratio |
|---|---|---|---|
| Input | $0.075 | — | — |
| Output | $0.30 | — | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | $0.12 | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
| Attribute | Phi-4-mini-instruct (3.8B) | GLM-4-9B-Chat |
|---|---|---|
| Availability | Available | Available |
| Provider | Microsoft | Zhipu AI |
| Model type | Chat model | Chat model |
| First release | February 27, 2025 | June 5, 2024 |
| Context window | 128K tokens | 128K tokens |
| Total parameters | 3.8B | 9B |
| Architecture | Dense | Dense |
| Documented capabilities | Multilingual | Multilingual |
| Input modalities | Text | — |
| Output modalities | Text | — |
| Weights | Open weights | Open weights |
| Licence | MIT License | GLM-4 License |
| Commercial use | Commercial use allowed | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Phi-4-mini-instruct (3.8B) vs GLM-4-9B-Chat.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.