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.57, ELO: 1221.

  Arxiv:2412.08905   Chat   Code   Conversational   En   Endpoints compatible   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-05-14
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 4bit641146210 GB
Phi 4 Bnb 4bit1732609 GB
Parm 2 CoT 14B 16K O1 QwQ71429 GB
...perThoughts CoT 14B 16K O1 QwQ626529 GB
Phi 4 GGUF81083855 GB
Phi 4 4bit2212078 GB
Phi 4 8bit1324415 GB
Phi 4 6bit74411 GB

Best Alternatives to Phi 4

Best Alternatives
Context / RAM
Downloads
Likes
Phi 4 Mini Instruct128K / 7.7 GB637798706
Phi 3 Mini 128K Instruct128K / 7.7 GB2440241700
Phi 3 Medium 128K Instruct128K / 28 GB8300388
Phi 4 Mini Reasoning128K / 7.7 GB46737228
Phi 4 Mini Reasoning Bf16128K / 7.7 GB762
Phi 4 Mini Instruct ONNX GQA128K /  GB766
Phi 3.5 Mini Instruct Onnx Web128K /  GB50015
Phi 3.5 Mini Instruct Onnx128K /  GB10837
Phi 3 Mini 128K Instruct Onnx128K /  GB119193
...i 3 Mini 128K Instruct Ov Int4128K / 2 GB110

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? 53972 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