How to use from
llama.cppInstall from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf llmware/phi-4-gguf:Q4_1# Run inference directly in the terminal:
llama-cli -hf llmware/phi-4-gguf:Q4_1Use 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 llmware/phi-4-gguf:Q4_1# Run inference directly in the terminal:
./llama-cli -hf llmware/phi-4-gguf:Q4_1Build 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 llmware/phi-4-gguf:Q4_1# Run inference directly in the terminal:
./build/bin/llama-cli -hf llmware/phi-4-gguf:Q4_1Use Docker
docker model run hf.co/llmware/phi-4-gguf:Q4_1Quick Links
phi-4-gguf
phi-4-gguf is a GGUF Q4_K_M quantized version of Microsoft Phi-4, providing a fast, small inference implementation, optimized for AI PCs.
Model Description
- Developed by: Microsoft
- Quantized by: bartowksi
- Model type: phi4
- Parameters: 14.7 billion
- Model Parent: microsoft/phi-4
- Language(s) (NLP): English
- License: Apache 2.0
- Uses: Chat, general-purpose LLM
- Quantization: int4
Model Card Contact
- Downloads last month
- 85
Hardware compatibility
Log In to add your hardware
4-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for llmware/phi-4-gguf
Base model
microsoft/phi-4
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf llmware/phi-4-gguf:Q4_1# Run inference directly in the terminal: llama-cli -hf llmware/phi-4-gguf:Q4_1