GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

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…

ggufollamalocal-llmllama.cpplm-studioquantizedimatrixsub-4-bitphi3phitext-generationbase_model:microsoft/phi-4base_model:quantized:microsoft/phi-4license:otherendpoints_compatibleregion:usconversational

Runs locally from ~5.11 GB disk (8 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
339
Likes
0
Pipeline
text-generation
Author

Repository Files & Downloads

7 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
phi-4-IQ2_M.ggufGGUFIQ2_M5.11 GBDownload
phi-4-IQ3_M.ggufGGUFIQ3_M6.44 GBDownload
phi-4-IQ4_XS.ggufGGUFIQ4_XS7.62 GBDownload
phi-4-Q4_K_M.ggufGGUFQ4_K_M8.44 GBDownload
phi-4-Q5_K_M.ggufGGUFQ5_K_M9.78 GBDownload
phi-4-Q6_K.ggufGGUFQ6_K11.20 GBDownload
phi-4-Q8_0.ggufGGUFQ8_014.51 GBDownload

Model Details

Model IDliodon-ai/phi-4-imatrix-GGUF
Authorliodon-ai
Pipelinetext-generation
Licenseother
Base modelmicrosoft/phi-4
Last modified2026-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

---

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.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models