Skip to main content
llm.info
Phi-4 logo

Phi-4

Versionphi-4

byMicrosoft

  • Views6 views
  • Release dateReleased Dec 2024
Skip to community
Community (0)

Overview

About

Microsoft's 14.7B-parameter small language model (December 2024), open-sourced on Hugging Face under the MIT license. Trained heavily on synthetic data, Phi-4 matches models 5x its size on math and reasoning, outperforming GPT-4o by ~6 points on GPQA and math while running on consumer hardware.

Strengths

  • Matches models 5x its size on math and reasoning benchmarks
  • Outperforms GPT-4o by ~6 points on GPQA and math
  • 82.6 on HumanEval code generation
  • Open weights under permissive MIT license
  • Runs on consumer hardware (~12GB GPU)

Caveats

  • 16K context smaller than larger frontier models
  • Text-only (no vision or audio input)
  • 14B capacity limits breadth versus frontier LLMs

Tags

Specs

Company
Microsoft
Family
Phi-4
Version
phi-4
Modalities
Text
Context window
16,384 tokens
Release date
Dec 12, 2024
License
MIT
Open weights
Yes
Streaming
Yes
Added
Jul 6, 2026
Updated
Dec 5, 2026

Benchmarks (4)

Scores come from the listed sources and are not directly comparable across methodologies.Scores from LiveBench (livebench.ai), CC-BY / Apache-2.0
BenchmarkScoreMaxSourceAs ofNotes
HumanEval
Curated
82.6%100huggingface.coOpens in a new tabCode generation (vs 78.9 Llama 3.3 70B)
LiveBench Coding
Ingested from livebench
30.7%100livebenchOpens in a new tabApr 7, 2025
LiveBench Instruction Following
Ingested from livebench
54.8%100livebenchOpens in a new tabApr 7, 2025
LiveBench Language
Ingested from livebench
29.3%100livebenchOpens in a new tabApr 7, 2025

Community

Reviews

Reviews

Comments

Comments