Model Detail human-review-recommended

Phi-4 14B

Microsoft's compact 14B. Punches way above its weight, especially on math.

MicrosoftPHI4mit2025-01
Parameters
14B
Dense model
Context window
16K
Standard context
Architecture
decoder only transformer
dense
Quality score
92
Planner signal

Task Fit

Code AgentNot a fit

Not marked for code agent in the current library.

CodeSupported

Code generation, debugging, refactoring, and benchmark signal.

ChatSupported

General writing, Q&A, and assistant use.

RAGSupported

Document QA benefits from long context and instruction following.

VisionNot a fit

Not marked for vision in the current library.

Image GenerationNot a fit

Not marked for image generation in the current library.

Video GenerationNot a fit

Not marked for video generation in the current library.

VoiceNot a fit

Not marked for voice in the current library.

Source Confidence

Overallhigh · 94/100
ParametersReviewed / seeded
Task fitReviewed / seeded
MemorySeeded artifact
LicenseSource / seed
BenchmarksAvailable
Hardware fitCalculated

Variants and Quant Artifacts

Choose the artifact first; hardware fit follows from RAM, VRAM, format, and runtime.

3 artifacts
QuantFormatQualityMin RAMReco RAMRuntimeAction
Q4_K_Mggufbalanced12GB24GBollama, llama.cpp, lm-studio Plan with this
Q5_K_Mggufbalanced12GB24GBollama, llama.cpp, lm-studio Plan with this
Q8_0ggufhigh18GB24GBollama, llama.cpp, lm-studio Plan with this

Benchmarks

Gsm8k92%
MMLU84%
Humaneval82%

Source and Review

Hugging Facemicrosoft/phi-4
Ollamaphi4:14b
Verificationhuman-review-recommended
Artifact sourceseeded
Default variantPhi-4 14B Coder
Tool callingNot marked

Similar Models

Continue planning your local AI setup