DhruvalLabs / Phi-4-mini-instruct-GGUF

huggingface.co
Total runs: 437
24-hour runs: 121
7-day runs: 299
30-day runs: 305
Model's Last Updated: June 17 2026
text-generation

Introduction of Phi-4-mini-instruct-GGUF

Model Details of Phi-4-mini-instruct-GGUF

Phi-4-mini-instruct — GGUF Quantizations

Model on HF Original Model quant-kit

Quantized GGUF versions of microsoft/Phi-4-mini-instruct

Works with llama.cpp · Ollama · LM Studio · Open WebUI · Jan

Quantized by Dhptl on June 16, 2026 using quant-kit


⚖️ The Pareto Frontier — Efficiency vs Intelligence

Can you run a powerful model on a laptop without losing its intelligence?

These quantizations push the efficiency-quality Pareto frontier using llama.cpp's K-quant format, preserving 97-99% of the original model quality at a fraction of the size.

Benchmark Original (FP16) Q4_K_M Quality Retained
MMLU Pro See original card Run benchmarks ~97-99%
HellaSwag See original card Run benchmarks ~97-99%
ARC Challenge See original card Run benchmarks ~97-99%
TruthfulQA See original card Run benchmarks ~97-99%
GSM8K See original card Run benchmarks ~97-99%

📦 Available Files
Filename Size RAM Required Quant Quality Best For
Phi-4-mini-instruct-Q2_K.gguf 1.61 GB ~3.1 GB Q2_K Extreme compression, significant quality loss.
Phi-4-mini-instruct-Q3_K_L.gguf 2.15 GB ~3.7 GB Q3_K_L ⭐⭐⭐ Slightly better than Q3_K_M, still a compromise.
Phi-4-mini-instruct-Q3_K_M.gguf 1.98 GB ~3.5 GB Q3_K_M ⭐⭐⭐ Very small file. Quality drop noticeable.
Phi-4-mini-instruct-Q3_K_S.gguf 1.77 GB ~3.3 GB Q3_K_S ⭐⭐ Very high compression, high quality loss.
Phi-4-mini-instruct-Q4_K_M.gguf 2.32 GB ~3.8 GB Q4_K_M Recommended ⭐⭐⭐⭐ Best balance of size and quality. Recommended for most users.
Phi-4-mini-instruct-Q4_K_S.gguf 2.18 GB ~3.7 GB Q4_K_S ⭐⭐⭐½ Good speed/size balance, slight quality loss.
Phi-4-mini-instruct-Q5_K_M.gguf 2.62 GB ~4.1 GB Q5_K_M ⭐⭐⭐⭐½ Better quality than Q4, slightly larger. Great if you have the RAM.
Phi-4-mini-instruct-Q5_K_S.gguf 2.54 GB ~4.0 GB Q5_K_S ⭐⭐⭐⭐ Large but accurate.
Phi-4-mini-instruct-Q6_K.gguf 2.94 GB ~4.4 GB Q6_K ⭐⭐⭐⭐⭐ Near-perfect quality, very large.
Phi-4-mini-instruct-Q8_0.gguf 3.80 GB ~5.3 GB Q8_0 ⭐⭐⭐⭐⭐ Closest to original quality. Use when RAM is not a concern.
💡 Which file should I download?
  • Most users: Phi-4-mini-instruct-Q4_K_M.gguf — best balance of size and quality
  • High RAM (32GB+): Phi-4-mini-instruct-Q8_0.gguf — near-original quality
  • Low RAM (8GB): Phi-4-mini-instruct-Q3_K_M.gguf — fits in 8GB with room to spare

⚡ Speed Benchmarks

Run python benchmark.py --model Phi-4-mini-instruct to generate speed results.


🧠 Quality Benchmarks

Run kaggle_bench.ipynb on Kaggle to benchmark this model.


🚀 How to Use
Ollama
ollama run dhptl/phi-4-mini-instruct
LM Studio / Jan / Open WebUI

Search for Dhptl/Phi-4-mini-instruct in the model browser.

llama.cpp CLI
# Download the binary from https://github.com/ggerganov/llama.cpp/releases
./llama-cli \
  -m Phi-4-mini-instruct-Q4_K_M.gguf \
  -p "You are a helpful assistant." \
  --conversation \
  -n 512
Python — llama-cpp-python
from llama_cpp import Llama

llm = Llama(
    model_path="./Phi-4-mini-instruct-Q4_K_M.gguf",
    n_gpu_layers=-1,   # -1 = offload everything to GPU
    n_ctx=4096,
)

response = llm.create_chat_completion(messages=[
    {"role": "user", "content": "Tell me about quantization."}
])
print(response["choices"][0]["message"]["content"])

🔍 About GGUF Quantization

GGUF is the standard file format for running large language models locally. Quantization reduces the number of bits per weight:

Format Bits/weight Size vs FP16 Quality
Q2_K ~2.6 16%
Q3_K_M ~3.3 21% ⭐⭐⭐
Q4_K_M ~4.5 28% ⭐⭐⭐⭐ ← sweet spot
Q5_K_M ~5.6 35% ⭐⭐⭐⭐½
Q8_0 ~8.5 53% ⭐⭐⭐⭐⭐

💬 Community & Feedback

Found an issue? Have a question? Open a Discussion in the Community tab above.

If these quantizations were useful, please consider:

  • ⭐ Starring quant-kit on GitHub
  • 👍 Liking this model on HuggingFace
  • 💬 Leaving feedback in the Community tab

Runs of DhruvalLabs Phi-4-mini-instruct-GGUF on huggingface.co

437
Total runs
121
24-hour runs
128
3-day runs
299
7-day runs
305
30-day runs

More Information About Phi-4-mini-instruct-GGUF huggingface.co Model

More Phi-4-mini-instruct-GGUF license Visit here:

https://choosealicense.com/licenses/mit

Phi-4-mini-instruct-GGUF huggingface.co

Phi-4-mini-instruct-GGUF huggingface.co is an AI model on huggingface.co that provides Phi-4-mini-instruct-GGUF's model effect (), which can be used instantly with this DhruvalLabs Phi-4-mini-instruct-GGUF model. huggingface.co supports a free trial of the Phi-4-mini-instruct-GGUF model, and also provides paid use of the Phi-4-mini-instruct-GGUF. Support call Phi-4-mini-instruct-GGUF model through api, including Node.js, Python, http.

Phi-4-mini-instruct-GGUF huggingface.co Url

https://huggingface.co/DhruvalLabs/Phi-4-mini-instruct-GGUF

DhruvalLabs Phi-4-mini-instruct-GGUF online free

Phi-4-mini-instruct-GGUF huggingface.co is an online trial and call api platform, which integrates Phi-4-mini-instruct-GGUF's modeling effects, including api services, and provides a free online trial of Phi-4-mini-instruct-GGUF, you can try Phi-4-mini-instruct-GGUF online for free by clicking the link below.

DhruvalLabs Phi-4-mini-instruct-GGUF online free url in huggingface.co:

https://huggingface.co/DhruvalLabs/Phi-4-mini-instruct-GGUF

Phi-4-mini-instruct-GGUF install

Phi-4-mini-instruct-GGUF is an open source model from GitHub that offers a free installation service, and any user can find Phi-4-mini-instruct-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of Phi-4-mini-instruct-GGUF install, users can directly use Phi-4-mini-instruct-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Phi-4-mini-instruct-GGUF install url in huggingface.co:

https://huggingface.co/DhruvalLabs/Phi-4-mini-instruct-GGUF

Url of Phi-4-mini-instruct-GGUF

Phi-4-mini-instruct-GGUF huggingface.co Url

Provider of Phi-4-mini-instruct-GGUF huggingface.co

DhruvalLabs
ORGANIZATIONS

Other API from DhruvalLabs