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: Listed rates vs standard rates. The price section below shows the applicable periods.
| Fact | GLM-4-9B-Chat | Phi-4-mini-instruct (3.8B) |
|---|---|---|
| Context window | 128K tokens | 128K tokens |
| Input / 1M | — | $0.075 |
| Output / 1M | — | $0.300 |
| Blended (4:1) | — | $0.120 |
| Status | Available | Available |
| Released | June 5, 2024 | February 27, 2025 |
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 GLM-4-9B-Chat relative to Phi-4-mini-instruct (3.8B). Reading the results
| Benchmark | GLM-4-9B-Chat | Phi-4-mini-instruct (3.8B) | Gap |
|---|---|---|---|
| AIME 2024Mathematics · Accuracy | 76.4Normal · no tools | 10.0Normal · no tools | +66.4 pts#30 vs #53 of 54 |
| MMLU-ProKnowledge Exams · Accuracy | 72.4Normal · no tools | 52.8Normal · no tools | +19.6 pts#88 vs #119 of 153 |
A dash means no result is available.
| Benchmark | GLM-4-9B-Chat | Phi-4-mini-instruct (3.8B) |
|---|---|---|
| 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.
GLM-4-9B-Chat: Listed text rates; pricing tier not confirmed.
Phi-4-mini-instruct (3.8B): Standard pricing. Azure AI Foundry (Phi-4-mini (128K)) verified 2026-11-14
| Price / 1M tokens | GLM-4-9B-Chat | Phi-4-mini-instruct (3.8B) | 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 | GLM-4-9B-Chat | Phi-4-mini-instruct (3.8B) |
|---|---|---|
| Availability | Available | Available |
| Provider | Zhipu AI | Microsoft |
| Model type | Chat model | Chat model |
| First release | June 5, 2024 | February 27, 2025 |
| Context window | 128K tokens | 128K tokens |
| Total parameters | 9B | 3.8B |
| Architecture | Dense | Dense |
| Documented capabilities | Multilingual | Multilingual |
| Input modalities | — | Text |
| Output modalities | — | Text |
| Weights | Open weights | Open weights |
| Licence | GLM-4 License | MIT 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 GLM-4-9B-Chat vs Phi-4-mini-instruct (3.8B).
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.