
ai/phi4!logo
Phi-4 is a 14-billion parameter language model developed by Microsoft Research. It is part of the Phi model family, emphasizing data quality and reasoning capabilities over pure scale.
Phi-4 is designed for:
| Attribute | Details |
|---|---|
| Provider | Microsoft |
| Architecture | phi3 |
| Cutoff date | June 2024 |
| Languages | English (primary), German, Spanish, French, Portuguese, Italian, Hindi, Japanese |
| Tool calling | ❌ |
| Input modalities | Text |
| Output modalities | Text |
| License | MIT |
| Model variant | Parameters | Quantization | Context window | VRAM¹ | Size |
|---|---|---|---|---|---|
ai/phi4:latestai/phi4:14B-Q4_K_M | 15B | IQ2_XXS/Q4_K_M | 16K tokens | 9.78 GiB | 8.43 GB |
ai/phi4:14B-Q4_0 | 15B | Q4_0 | 16K tokens | 9.16 GiB | 7.80 GB |
ai/phi4:14B-Q4_K_M | 15B | IQ2_XXS/Q4_K_M | 16K tokens | 9.78 GiB | 8.43 GB |
ai/phi4:14B-F16 | 15B | F16 | 16K tokens | 27.97 GiB | 27.31 GB |
¹: VRAM estimated based on model characteristics.
latest→14B-Q4_K_M
First, pull the model:
bashdocker model pull ai/phi4
Then run the model:
bashdocker model run ai/phi4
For more information on Docker Model Runner, explore the documentation.
| Category | Benchmark | phi-4 | phi-3 |
|---|---|---|---|
| Popular Aggregated Benchmark | MMLU | 84.8 | 77.9 |
| Science | GPQA | 56.1 | 31.2 |
| Math | MGSM | 80.6 | 53.5 |
| MATH | 80.4 | 44.6 | |
| Code Generation | HumanEval | 82.6 | 67.8 |
| Factual Knowledge | SimpleQA | 3.0 | 7.6 |
| Reasoning | DROP | 75.5 | 68.3 |






manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务