Model
Model explorer
Phi-4-mini-instruct
OPENMicrosoft · Phi-4 family · released Feb 26, 2025
Compact text-only Phi-4 (3.8B, 128K context) with built-in function calling; tops the 3-4B class, MIT-licensed.
ReasoningCodingVisionFunction callingTool useAgentic
523.2
Elo · rank #298
Parameters
3.8B
Active params
3.8B (dense)
Context
128K tokens
Architecture
Dense decoder-only Transformer (200K vocab, grouped-query attention, shared input/output embedding)
License
MIT
Languages
23+
API price (in/out)
$0.075 / $0.3
Modalities
text
Benchmark results
Bar shows position within the tracked field; marker = field best
best: Llama 3.1 405B · 96.9%
best: Qwen3-235B-A22B (Non-Thinking) · 96.1%
best: ERNIE 4.5 300B-A47B · 94.3%
best: SmolLM3 3B (No Thinking) · 92.3%
best: GPT-4o mini · 57.4%
best: GPT-5.6 · 94.6%
best: Llama 3.1 405B · 96.8%
best: Claude 3 Opus · 95.4%
best: Mistral Small 3.2 (24B) · 92.9%
best: Claude Opus 4.5 · 99.4%
best: Gemma 4 26B A4B · 98.5%
best: DeepSeek-V4-Pro (Think Max) · 93.5%
best: GPT-5 · 99.4%
best: Llama 3.1 405B · 88.6%
best: Llama-3.3-Nemotron-Super-49B v1 (Reasoning On) · 91.3%
best: OpenAI o4-mini · 93.7%
best: Claude Fable 5 · 91.5%
best: OpenAI o3 · 92.9%
best: Gemini 3.1 Pro · 92.6%
best: GPT-4o mini · 93.1%
best: Apple DCLM-Baseline 7B · 82.9%
best: Phi-3.5-MoE (16x3.8B, 6.6B active) · 77.5%
best: PaLM 2 · 90.9%
Run it locally
VRAM @ Q4
4 GB
VRAM @ FP16
8 GB
Fits on (Q4)
RTX 3060 12GBRTX 4070 Ti 16GBRTX 3090 24GBRTX 4090 24GBRTX 5090 32GBM4 Pro 48GBM3 Max 128GBM3 Ultra 512GBA100 80GBH100 80GBH200 141GBB200 192GB
Throughput data unavailable.
Quantizations
GGUF Q4 · MLX 4-bit · ONNX INT4
Phi-4 family
Elo progression across releases
API price $0.075/$0.3 · each benchmark row carries its own source badge (see methodology)