Phi-4 Mini
A solid pick for self-hosting and full data control.
Overview
Phi-4 Mini is Microsoft's compact model, trained on synthetic data and filtered web content with an emphasis on reasoning-dense material. It runs on laptop-class hardware, handles a 128K token context window, and holds its own against models twice its size on logic and math benchmarks. Its limit: on knowledge-heavy tasks (GPQA, HellaSwag) it trails larger models like GPT-4o-mini. MIT license and open weights make it a natural fit for on-premise or sovereign deployment, keeping data local.
Skill profile
Not disclosed
Three independent measures
What people prefer, what the model can do, what the market uses. Each source has its biases and none is enough on its own: we show them side by side, never blended.
Strengths
- Open-source and self-hostable
Limitations
- API pricing not disclosed
Who is it for
- you want to control cost or self-host
- your data must stay in the EU
Ideal use cases
- Embedded assistants
- Mobile/IoT applications
- Fast local prototyping
- Simple task automation
- On-premise sovereign deployment
Access & availability
Key specifications
What it costs per month
Estimate from sourced API prices and a hardware tier for self-hosting. Assumptions are editable.
Assumptions: 36-month amortisation, 0.25 €/kWh, 22 days/month, 1 $ = 0.92 €. Excludes labour, software licences, redundancy.
nAIvigate Trust Index
What the vendor offers and documents for professional use in Europe. An undocumented criterion counts as zero and stays visible: the score rises when the vendor publishes, not when we assume.
19/19 criteria documented · 100 % · 12 of them set by rule
See the criteria▾
Trust Index badge
Show this score in your docs, README or security page. It updates automatically.
[](https://naivigate.com/en/model/phi-4-mini)Data & compliance
What we know, line by line, with source and date. These lines feed the Data and Enterprise families of the Trust Index above. GDPR compliance depends on your processing, not on the model alone.
| EU data residency | Yes |
| Data processing agreement (DPA) | N/A· self-hosted: data never leaves |
| Transfer outside the EU | No |
| Training on your data | No |
| Configurable retention | N/A· self-hosted: data never leaves |
| Zero Data Retention | N/A· self-hosted: data never leaves |
| Self-hostable | Yes |
| Declared hosting | self |
Quality of this card’s data
This score measures the quality of the data on this card: price, context, Elo, licence, documented, sourced and fresh. It measures neither the model nor its compliance: for that, see the Trust Index above.
5/8 documented · 1/8 primary sources
Run it locally
| Quantization | Disk | RAM / VRAM | Typical hardware |
|---|---|---|---|
| Q4 · recommended | 2.2 GB | 4 GB | Any recent PC/Mac |
| Q8 · balanced | 4.1 GB | 7 GB | 16GB PC / M1+ Mac / 8GB GPU |
| FP16 · max quality | 7.6 GB | 10 GB | 16GB PC / M1+ Mac / 8GB GPU |
Estimates for a moderate context. Long contexts need more RAM (KV cache).
Deploy
Copy-ready commands generated from this card. Adjust context length and GPU count to your hardware.
Easiest way to try it on a workstation. Install Ollama, then:
ollama run phi4-miniAdvanced data · for expertsArchitecture, modalities, detailed cost, full benchmarks▾
| Arena Elo | — |
| MMLU | — |
| GPQA | — |
| HumanEval | — |
| SWE-Bench | — |
| MATH | — |