liodon-ai/phi-4-imatrix-GGUF overview
phi 4 — iMatrix GGUF GGUF quantizations of microsoft/phi 4 https://huggingface.co/microsoft/phi 4 , published by Liodon AI https://huggingface.co/liodon ai . Q…
Runs locally from ~5.11 GB disk (8 GB VRAM class GPUs with llama.cpp / guIDE).
Repository Files & Downloads
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| phi-4-IQ2_M.gguf | GGUF | IQ2_M | 5.11 GB | Download |
| phi-4-IQ3_M.gguf | GGUF | IQ3_M | 6.44 GB | Download |
| phi-4-IQ4_XS.gguf | GGUF | IQ4_XS | 7.62 GB | Download |
| phi-4-Q4_K_M.gguf | GGUF | Q4_K_M | 8.44 GB | Download |
| phi-4-Q5_K_M.gguf | GGUF | Q5_K_M | 9.78 GB | Download |
| phi-4-Q6_K.gguf | GGUF | Q6_K | 11.20 GB | Download |
| phi-4-Q8_0.gguf | GGUF | Q8_0 | 14.51 GB | Download |
Model Details
| Model ID | liodon-ai/phi-4-imatrix-GGUF |
|---|---|
| Author | liodon-ai |
| Pipeline | text-generation |
| License | other |
| Base model | microsoft/phi-4 |
| Last modified | 2026-07-13T04:55:28.000Z |
Model README
---
license: other
base_model: microsoft/phi-4
base_model_relation: quantized
pipeline_tag: text-generation
library_name: gguf
tags:
- gguf
- ollama
- local-llm
- llama.cpp
- lm-studio
- quantized
- imatrix
- sub-4-bit
- phi3
- phi
quantized_by: liodon-ai
---
phi-4 — iMatrix GGUF
GGUF quantizations of microsoft/phi-4, published by Liodon AI.
Quick Start
llama.cpp
llama-cli -hf liodon-ai/phi-4-imatrix-GGUF:Q4_K_M
Ollama
ollama run hf.co/liodon-ai/phi-4-imatrix-GGUF:Q4_K_M
LM Studio / Jan — search liodon-ai/phi-4-imatrix-GGUF and pick your quant.
Quants
| Quant | Size | VRAM est. | Notes |
|-------|------|-----------|-------|
| IQ2_M | 5.49 GB | ~6 GB | 2-bit, iMatrix — smallest usable |
| IQ3_M | 6.91 GB | ~8 GB | 3-bit, iMatrix — great quality/size tradeoff |
| IQ4_XS | 8.19 GB | ~9 GB | 4-bit extra-small, iMatrix |
| Q4_K_M | 9.06 GB | ~10 GB | 4-bit, iMatrix-calibrated (recommended) |
| Q5_K_M | 10.50 GB | ~12 GB | 5-bit, iMatrix-calibrated |
| Q6_K | 12.03 GB | ~14 GB | 6-bit, iMatrix-calibrated, near-lossless |
| Q8_0 | 15.58 GB | ~18 GB | 8-bit, essentially lossless |
What is iMatrix?
Standard quantization treats all weights equally. iMatrix runs 128 calibration chunks through
the full-precision model to find which weights matter most, then allocates more precision where
it counts. At Q2/Q3/Q4 this means noticeably better coherence and instruction-following —
same file size, better output.
Calibration: 2M tokens of WikiText-103.
> Also see plain (non-iMatrix) quants: liodon-ai/phi-4-GGUF
Source
- Model: microsoft/phi-4
- License: other
---
Quantized by Liodon AI
Run liodon-ai/phi-4-imatrix-GGUF with guIDE
Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.
Source: Hugging Face · Compare models