Across 8 comparable benchmarks, Gemma 3 - 27B (IT) has better reported results on 8 and worse on 0.
Moderate evidence8 of 8 shared results countedHow we compare
Price basis: Standard rates. The price section below shows the applicable periods.
| Fact | Gemma 3 - 27B (IT) | Phi-4-mini-instruct (3.8B) |
|---|---|---|
| Context window | 128K tokens | 128K tokens |
| Input / 1M | $0.080 | $0.075 |
| Output / 1M | $0.160 | $0.300 |
| Blended (4:1) | $0.096 | $0.120 |
| Status | Available | Available |
| Released | March 12, 2025 | February 27, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 6 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Gemma 3 - 27B (IT) ahead on 2 of 2 counted
Gemma 3 - 27B (IT) ahead on 3 of 3 counted
Gemma 3 - 27B (IT) ahead on 1 of 1 counted
No shared comparable results for Abstract reasoning, Computer & tool use, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show Gemma 3 - 27B (IT) relative to Phi-4-mini-instruct (3.8B). Reading the results
| Benchmark | Gemma 3 - 27B (IT) | Phi-4-mini-instruct (3.8B) | Gap |
|---|---|---|---|
| HumanEvalCode Generation & Editing · Accuracy | 87.8Normal · no tools | 74.4Normal · no tools | +13.4 pts#32 vs #42 of 100 |
| MBPPCode Generation & Editing · Pass rate (%) | 74.4Normal · no tools | 65.3Normal · no tools | +9.1 pts#25 vs #33 of 67 |
| AIME 2024Mathematics · Accuracy | 25.3Normal · no tools | 10.0Normal · no tools | +15.3 pts#51 vs #53 of 54 |
| GSM8KMathematics · Accuracy | 95.9Normal · no tools | 88.6Normal · no tools | +7.3 pts#6 vs #17 of 67 |
| MATHMathematics · Accuracy | 89.0Normal · no tools | 64.0Normal · no tools | +25.0 pts#6 vs #27 of 42 |
| GPQA DiamondScientific Reasoning · Accuracy | 42.4Normal · no tools | 36.0Normal · no tools | +6.4 pts#186 vs #191 of 200 |
| MMLUKnowledge Exams · Accuracy | 78.6Normal · no tools | 67.3Normal · no tools | +11.3 pts#51 vs #72 of 114 |
| MMLU-ProKnowledge Exams · Accuracy | 67.5Normal · no tools | 52.8Normal · no tools | +14.7 pts#99 vs #119 of 153 |
Scientific Reasoning · Accuracy
A dash means no result is available.
| Benchmark | Gemma 3 - 27B (IT) | Phi-4-mini-instruct (3.8B) |
|---|---|---|
| GPQA | 36.8 | — |
| MATH-500 | — | 71.8 |
| Aider-Polyglot | 4.9 | — |
| LiveCodeBench | 29.7 | — |
| Creative Writing | 1266 | — |
| DROP | 77.2 | — |
| MMMU | 64.9 | — |
| BBH | 87.6 | — |
| HellaSwag | 85.6 | — |
| SimpleQA | 10.0 | — |
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%
Gemma 3 - 27B (IT) costs20%lessthan Phi-4-mini-instruct (3.8B) per million tokens.Using standard rates at this token mix.
Gemma 3 - 27B (IT): Standard pricing. DeepInfra official models API (google/gemma-3-27b-it) verified 2026-11-13
Phi-4-mini-instruct (3.8B): Standard pricing. Azure AI Foundry (Phi-4-mini (128K)) verified 2026-11-14
| Price / 1M tokens | Gemma 3 - 27B (IT) | Phi-4-mini-instruct (3.8B) | Ratio |
|---|---|---|---|
| Input | $0.08 | $0.075 | 1.07× |
| Output | $0.16 | $0.30 | 0.53× |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | $0.096 | $0.12 | 0.80× |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
| Attribute | Gemma 3 - 27B (IT) | Phi-4-mini-instruct (3.8B) |
|---|---|---|
| Availability | Available | Available |
| Provider | Google Deep Mind | Microsoft |
| Model type | Chat model | Chat model |
| First release | March 12, 2025 | February 27, 2025 |
| Context window | 128K tokens | 128K tokens |
| Total parameters | 27B | 3.8B |
| Architecture | Dense | Dense |
| Documented capabilities | Multilingual | Multilingual |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
| Weights | Open weights | Open weights |
| Licence | Gemma Terms of Use | 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 Gemma 3 - 27B (IT) vs Phi-4-mini-instruct (3.8B).
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.