/hub/models/phi-4-mini

Phi-4 · Mini

Phi-4 Mini

Phi-4 Mini completed both matched CPU servers. Its full-Vulkan window coincided with an i915 GPU hang.

4
result records
3
published result rows
3
test groups
1
devices represented

About Phi-4 Mini

Phi-4 Mini gave me a second model family for the matched CPU test. Both runtimes loaded the Q4_K_M file, so I could compare the same workload beyond the Qwen models. Its later Vulkan failure belongs to the GPU test, not the completed CPU comparison.

Family
Phi-4
Recorded size
Mini

It provides a second model family inside the matched runtime result and a retained failure outside the clean Vulkan pair.

Files and runtimes I tested

The results below cover llama.cpp 9a286ac and Ollama 0.32.1. Open a configuration for the full test, including the model file or reporting profile, device, backend and settings.

1 row records a failed run. The failure and original evidence stay attached to each result below.

Search and filter these results

Tested configurations

Recorded hosts, model variants, runtimes and backends for Phi-4 Mini
DeviceFile or variantRuntimeBackendMode and settingsTest
Youyeetoo X1SQ4_K_Mllama.cpp 9a286acCPUMatched server request4 threads · 4,096 context tokensMatched CPU runtimes
Youyeetoo X1SQ4_K_MOllama 0.32.1CPUMatched server request4 threads · 4,096 context tokensMatched CPU runtimes
Youyeetoo X1SQ4_K_Mllama.cpp 9a286acVulkanFull VulkanCPU and Vulkan modes
Youyeetoo X1SQ4_K_MOllama 0.32.1CPUMean warm generationOriginal CPU matrix

Compare inside the full test

The rows below can come from different prompts and methods. Open the full test before treating two numbers as a direct comparison.

Recorded results

Inference performance

Rates measure prompt processing and generation. Open a row to see its workload, repetitions and setup.

Model and artifactRuntime and modeGenerationPromptPeakStateFull test
Phi-4 Mini
Q4_K_M
llama.cpp 9a286ac
CPU · Matched server request
1.57 tok/s2.115 tok/s82 °CPublished resultMatched CPU runtimes
Open result details

About this model

Phi-4 Mini gave me a second model family for the matched CPU test. Both runtimes loaded the Q4_K_M file, so I could compare the same workload beyond the Qwen models. Its later Vulkan failure belongs to the GPU test, not the completed CPU comparison.

Family
Phi-4
Recorded size
Mini

It provides a second model family inside the matched runtime result and a retained failure outside the clean Vulkan pair.

What ran

Q4_K_M ran through llama.cpp 9a286ac using CPU in Matched server request mode on Youyeetoo X1S.

Three measured requests completed with a clean kernel window.

Internal generation rates are comparable inside this eight-row test. Model load time was not an identical part of the timed path.

Methods and supporting files

  • Matched result table

    Prompt and generation rates, standard deviation, token counts, model hashes, repetitions, and package peaks.

    matched-runtime-summary.csv
  • Runtime comparison

    Build record, matched method, timing boundary, and result interpretation.

    RUNTIME_COMPARISON.md
  • Retest protocol

    Shared controls, safety limits, and the distinction between CPU runtime and Vulkan tests.

    MATCHED_RETEST_PROTOCOL.md

Recorded setup

Threads
4
Context
4,096 tokens
Prompt
70 tokens
Output
96 tokens
Batch
512 / 512 microbatch
Measured runs
3
Generation stddev
0.000531
Thermal ceiling
85 °C

Artifact SHA-2563c168af1dea0a414299c7d9077e100ac763370e5a98b3c53801a958a47f0a5db

Phi-4 Mini
Q4_K_M
Ollama 0.32.1
CPU · Matched server request
2.072 tok/s3.131 tok/s82 °CPublished resultMatched CPU runtimes
Open result details

About this model

Phi-4 Mini gave me a second model family for the matched CPU test. Both runtimes loaded the Q4_K_M file, so I could compare the same workload beyond the Qwen models. Its later Vulkan failure belongs to the GPU test, not the completed CPU comparison.

Family
Phi-4
Recorded size
Mini

It provides a second model family inside the matched runtime result and a retained failure outside the clean Vulkan pair.

What ran

Q4_K_M ran through Ollama 0.32.1 using CPU in Matched server request mode on Youyeetoo X1S.

Ollama reported 32.00% higher internal generation throughput than the paired llama.cpp row.

Internal generation rates are comparable inside this eight-row test. Model load time was not an identical part of the timed path.

Methods and supporting files

  • Matched result table

    Prompt and generation rates, standard deviation, token counts, model hashes, repetitions, and package peaks.

    matched-runtime-summary.csv
  • Runtime comparison

    Build record, matched method, timing boundary, and result interpretation.

    RUNTIME_COMPARISON.md
  • Retest protocol

    Shared controls, safety limits, and the distinction between CPU runtime and Vulkan tests.

    MATCHED_RETEST_PROTOCOL.md

Recorded setup

Threads
4
Context
4,096 tokens
Prompt
70 tokens
Output
96 tokens
Batch
512 / 512 microbatch
Measured runs
3
Generation stddev
0.009724
Thermal ceiling
85 °C

Artifact SHA-2563c168af1dea0a414299c7d9077e100ac763370e5a98b3c53801a958a47f0a5db

Phi-4 Mini
Q4_K_M
llama.cpp 9a286ac
Vulkan · Full Vulkan
n/an/an/aFailed runCPU and Vulkan modes
Open result details

About this model

Phi-4 Mini gave me a second model family for the matched CPU test. Both runtimes loaded the Q4_K_M file, so I could compare the same workload beyond the Qwen models. Its later Vulkan failure belongs to the GPU test, not the completed CPU comparison.

Family
Phi-4
Recorded size
Mini

It provides a second model family inside the matched runtime result and a retained failure outside the clean Vulkan pair.

What ran

Q4_K_M ran through llama.cpp 9a286ac using Vulkan in Full Vulkan mode on Youyeetoo X1S.

The run window contained an i915 GPU hang even though llama-bench returned zero. The kernel event overrides the process exit code.

Compare the clean Qwen rows inside this group. The larger-model entries are failure outcomes, not performance rows.

Methods and supporting files

  • Three-mode result table

    True CPU, mixed host-operation, and full-Vulkan rates and package peaks.

    three-mode-summary.csv
  • Matched retest results

    The clean small-model result and retained larger-model i915 failures.

    MATCHED_RETEST_RESULTS.md
  • Device-mode protocol

    How the three modes were separated and guarded.

    MATCHED_RETEST_PROTOCOL.md

Recorded setup

The full test page contains the shared controls and comparison boundary for this row.

Phi-4 Mini
Q4_K_M
Ollama 0.32.1
CPU · Mean warm generation
1.991 tok/sn/a77 °CPublished resultOriginal CPU matrix
Open result details

About this model

Phi-4 Mini gave me a second model family for the matched CPU test. Both runtimes loaded the Q4_K_M file, so I could compare the same workload beyond the Qwen models. Its later Vulkan failure belongs to the GPU test, not the completed CPU comparison.

Family
Phi-4
Recorded size
Mini

It provides a second model family inside the matched runtime result and a retained failure outside the clean Vulkan pair.

What ran

Q4_K_M ran through Ollama 0.32.1 using CPU in Mean warm generation mode on Youyeetoo X1S.

Patient local batch use.

These warm Ollama results belong together. They should not be used as the other half of the later llama-bench runtime comparison.

Methods and supporting files

Recorded setup

The full test page contains the shared controls and comparison boundary for this row.

Full tests containing Phi-4 Mini

2026-08-31

Matched Ollama and llama.cpp CPU Test

Internal generation rates are comparable inside this eight-row test. Model load time was not an identical part of the timed path.

Open full test

2026-08-31

True CPU, Mixed Host Operations, and Full Vulkan

Compare the clean Qwen rows inside this group. The larger-model entries are failure outcomes, not performance rows.

Open full test

2026-08-23

Original X1S CPU-Only Model Matrix

These warm Ollama results belong together. They should not be used as the other half of the later llama-bench runtime comparison.

Open full test

Methods and original files

Matched result table

Prompt and generation rates, standard deviation, token counts, model hashes, repetitions, and package peaks.

matched-runtime-summary.csv

Runtime comparison

Build record, matched method, timing boundary, and result interpretation.

RUNTIME_COMPARISON.md

Retest protocol

Shared controls, safety limits, and the distinction between CPU runtime and Vulkan tests.

MATCHED_RETEST_PROTOCOL.md

Three-mode result table

True CPU, mixed host-operation, and full-Vulkan rates and package peaks.

three-mode-summary.csv

Matched retest results

The clean small-model result and retained larger-model i915 failures.

MATCHED_RETEST_RESULTS.md

Model and file

A model name identifies the model. A variant such as Q4_K_M or IQ4_XS identifies the quantization used for a particular file. The artifact hash ties a result to the exact bytes I tested.

Runtime and backend

Ollama and llama.cpp run the model. CPU, Vulkan and RKLLM NPU paths describe where or how the computation ran. A successful CPU request and a failed GPU request can belong to the same model.

Generation and prompt processing

Generation measures output tokens per second. Prompt processing measures how quickly the input was processed. Open the test group for the workload, token counts and timing method behind each rate.

Context and report checks

The context window holds input and output together. In the Home SOC tests, completed reports, expected explanations and full answer checks have separate counts and denominators. Read the label beside each value.

Get an email when I publish new hardware reviews, benchmarks, and security research. Unsubscribe anytime.

Email goes to Buttondown. Privacy details.

© 2026 Trevor Unland. All rights reserved.

PrivacyTermsRSS Feed

$ echo "Built with React + TypeScript"