Phi 4 by microsoft

 »  All LLMs  »  microsoft  »  Phi 4   URL Share it on

Phi 4 is an open-source language model by microsoft. Features: 14.7b LLM, VRAM: 29.4GB, Context: 16K, License: mit, LLM Explorer Score: 0.55, ELO: 1221.

  Arxiv:2412.08905   Chat   Code   Conversational   En   Endpoints compatible   Eval-results   Math   Phi   Phi3   Region:us   Safetensors   Sharded   Tensorflow

Phi 4 Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

Phi 4 Parameters and Internals

LLM NamePhi 4
Repository 🤗https://huggingface.co/microsoft/phi-4 
Model Size14.7b
Required VRAM29.4 GB
Updated2026-06-09
Maintainermicrosoft
Model Typephi3
Model Files  4.9 GB: 1-of-6   5.0 GB: 2-of-6   4.9 GB: 3-of-6   4.8 GB: 4-of-6   4.8 GB: 5-of-6   5.0 GB: 6-of-6
Supported Languagesen
Model ArchitecturePhi3ForCausalLM
Licensemit
Context Length16384
Model Max Length16384
Transformers Version4.47.0
Tokenizer ClassGPT2Tokenizer
Padding Token<|dummy_85|>
Vocabulary Size100352
Torch Data Typebfloat16

Quantized Models of the Phi 4

Model
Likes
Downloads
VRAM
Phi 4 Unsloth Bnb 4bit64946210 GB
Phi 4 Bnb 4bit1722069 GB
Parm 2 CoT 14B 16K O1 QwQ72129 GB
...perThoughts CoT 14B 16K O1 QwQ626529 GB
Phi 4 GGUF81251405 GB
Phi 4 4bit228938 GB
Phi 4 8bit1324415 GB
Phi 4 6bit74411 GB

Best Alternatives to Phi 4

Best Alternatives
Context / RAM
Downloads
Likes
Phi 4 Reasoning Plus32K / 29.4 GB22029342
Phi 4 Reasoning32K / 29.4 GB21774228
Phi 4 Reasoning Plus32K / 29.4 GB566
Phi 4 Reasoning32K / 29.4 GB242
Flashlight V1.116K / 29.4 GB50
Phi 4 RP V016K / 29.5 GB23
Phi4 Abliterated16K / 29.4 GB1012
Microsoft Phi 416K / 29.4 GB8955
Phi 4 Abliterated16K / 29.4 GB2334
Phi 4 Open R1 Distill EZOv116K / 29.4 GB820

Rank the Phi 4 Capabilities

🆘 Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! 🌟

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 54931 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a