Microsoft: Phi 4 vs Grok 3 mini
Microsoft: Phi 4 is cheaper than Grok 3 mini by about 83% on a blended (75% input / 25% output) basis. Microsoft: Phi 4 charges $0.070000 / $0.140000 per 1M input/output tokens; Grok 3 mini charges $0.250000 / $1.270000.
| Field | Microsoft: Phi 4 | Grok 3 mini |
|---|---|---|
| Input $/Mtok | $0.070000 | $0.250000 |
| Output $/Mtok | $0.140000 | $1.270000 |
| Cache read $/Mtok | – | – |
| Cache write $/Mtok | – | – |
| Input $/Mchar | n/a | n/a |
| Output $/Mchar | n/a | n/a |
| Context window | 16384 | 131072 |
| Tokenizer | – | – |
Price history
Same workload, monthly cost
Illustrative monthly cost at 10M tokens/month, split per workload preset. Not a substitute for the calculator, which uses your own volume, cache and batch assumptions.
| Workload | Microsoft: Phi 4 | Grok 3 mini |
|---|---|---|
| Coding agent | $0.74 | $3.01 |
| RAG chat | $0.81 | $4.03 |
| Summarisation (batch) | $0.77 | $3.52 |
| Classification | $0.71 | $2.70 |
| Chat assistant | $0.98 | $6.58 |
| Content generation | $1.26 | $10.66 |
Cite this page
Microsoft: Phi 4 vs Grok 3 mini: $0.070000/$0.140000 vs $0.250000/$1.270000 per 1M tokens, as of 2026-10-04 (Token Barometer, https://tokenbarometer.com/compare/microsoft_phi-4-vs-xai_grok-3-mini).
Microsoft: Phi 4 page | Grok 3 mini page | Open in calculator