How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
# Run inference directly in the terminal:
llama-cli -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
# Run inference directly in the terminal:
llama-cli -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
# Run inference directly in the terminal:
./llama-cli -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf lm-kit/phi-4-mini-3.8b-instruct-gguf:
Use Docker
docker model run hf.co/lm-kit/phi-4-mini-3.8b-instruct-gguf:
Quick Links

Model Summary

This repository hosts quantized versions of the Phi-4-mini-instruct model.

Format: GGUF
Converter: llama.cpp 06c2b1561d8b882bc018554591f8c35eb04ad30e
Quantizer: LM-Kit.NET 2025.3.1

For more detailed information on the base model, please visit the following link

Downloads last month
329
GGUF
Model size
4B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support