Known-issues sheets for local language models Rev 0.1.0 · reviewed every 7 days

Model datasheet · Phi

Phi-4-mini

Strong math and code for a 3.8B — and the worst measured hallucination rate on this site. A capable calculator that should never be trusted on facts without retrieval.

Vendor
Microsoft
Architecture
Dense · 3.8B
Context
131,072 tokens
License
MIT
Released
2025-02-27
Vision
No

→ GGUF (llama.cpp / LM Studio / Ollama) → MLX (Apple Silicon)

§1 Characteristics by quantization band

Q2–Q3 — 2–3 bit

2.1GB weights · e.g. Q3_K_M + KV: 1GB at 8K · 4GB at 32K · 16GB at 128K

— Not yet rated · contributions welcome —

Q4–Q5 — 4–5 bit

2.5GB weights · e.g. Q4_K_M , mlx-4bit + KV: 1GB at 8K · 4GB at 32K · 16GB at 128K
Math & reasoning 5/10
data checked Aug 2026
  • quant-degradation-community — KLD/perplexity delta vs bf16 @ Q4_K_M · aggregated · 2026-08-30

    Editorial derivation: small models lose proportionally more at 4-bit.

Coding 5/10
data checked Aug 2026
  • quant-degradation-community — KLD/perplexity delta vs bf16 @ Q4_K_M · aggregated · 2026-08-30

    Editorial derivation: small loss at 4-bit.

Tool calling / agentic 5/10
data checked Aug 2026

Q6–Q8 — 6–8 bit

3.2GB weights · e.g. Q6_K , Q8_0 + KV: 1GB at 8K · 4GB at 32K · 16GB at 128K

— Not yet rated · contributions welcome —

FP16 — full precision (fp16/bf16)

7.7GB weights · e.g. fp16 + KV: 1GB at 8K · 4GB at 32K · 16GB at 128K
Math & reasoning 6/10
data checked Aug 2026
  • vendor-model-cardMATH = 64 @ bf16 · vendor-reported · 2026-08-30

    GSM8K: 88.6 — best-in-class for 4B.

Coding 6/10
data checked Aug 2026
  • vendor-model-cardHumanEval = 74.4 @ bf16 · vendor-reported · 2026-08-30

    MBPP: 65.3, BigCodeBench-Complete: 43.0 (tech report).

Instruction following 5/10
data checked Aug 2026
Tool calling / agentic 6/10
data checked Aug 2026
Factuality 2/10
data checked Aug 2026

§2 Known issues & what fixes them

ISSUE-01 severe Q2–Q3 / Q4–Q5 / Q6–Q8 / FP16 · factuality

Hallucinates at 23.5% even when summarizing text it was handed (Vectara HHEM) — roughly five times the rate of same-size peers. Its fluent confidence makes this worse.

Fix
RAG (retrieval) [partial]

Grounding helps but does not fix it — verify anything factual it produces.

No fix
No known fix — choose a different model

For factual Q&A, use Gemma 3 4B or Qwen3-4B instead; keep Phi-4-mini for math and code.

Evidence · 1 source · anecdotal