Ultra-compact model with strong reasoning
Phi-4 Mini is a 3.8-billion parameter model that delivers impressive performance on mathematics and code for its size. It is ideal for on-device inference, edge deployments, and latency-critical applications where a larger model would be impractical.
Try Phi-4 MiniSourced from official model cards and academic papers. Higher is better.
Download and run this model on your own hardware, no API key or internet required after setup.
Ollama
TerminalRun this command in your terminal. Ollama downloads and manages the model locally.
ollama pull phi4-mini