Across 1 comparable benchmark, Phi-4-mini-instruct (3.8B) has better reported results on 1 and worse on 0. 1 further shared result is listed below, each with the reason it is not counted.
Limited evidence1 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) | PaLM-Coder |
|---|---|---|
| Context window | 128K tokens | 4K tokens |
| Input / 1M | $0.075 | — |
| Output / 1M | $0.300 | — |
| Blended (4:1) | $0.120 | — |
| Status | Available | Available |
| Released | February 27, 2025 | April 5, 2022 |
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
Phi-4-mini-instruct (3.8B) ahead on 1 of 1 counted
No shared comparable results for Abstract reasoning, Mathematics, 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 PaLM-Coder. Reading the results
| Benchmark | Phi-4-mini-instruct (3.8B) | PaLM-Coder | Gap |
|---|---|---|---|
| HumanEvalCode Generation & Editing · AccuracyNot counted · Different or unrecorded test environments — excluded from the tally | 74.4Normal · no tools· legacy-default | 88.4≠Historical · pass@100· pass-at-100 | —#42 vs #23 of 100 |
| MBPPCode Generation & Editing · Pass rate (%) | 65.3Normal · no tools | 47.0≠Historical | +18.3 pts#33 vs #55 of 67 |
Code Generation & Editing · Accuracy
Not counted · Different or unrecorded test environments — excluded from the tally
Code Generation & Editing · Pass rate (%)
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
PaLM-Coder: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Phi-4-mini-instruct (3.8B) | PaLM-Coder | 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) | PaLM-Coder |
|---|---|---|
| Availability | Available | Available |
| Provider | Microsoft | Google Research |
| Model type | Chat model | Coding model |
| First release | February 27, 2025 | April 5, 2022 |
| Context window | 128K tokens | 4K tokens |
| Total parameters | 3.8B | 540B |
| Architecture | Dense | Dense |
| Documented capabilities | Multilingual | Multilingual, Coding |
| Input modalities | Text | — |
| Output modalities | Text | — |
| Weights | Open weights | Closed / API only |
| Licence | MIT License | — |
| Commercial use | Commercial use allowed | Proprietary |
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 PaLM-Coder.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.