Skip to content
llm-speed

phi-4

7 workload results across 3 hardware configurations.

Fastest community-submitted config (not measured by llm-speed)

140.9 decode tok/s

on RTX 5090 (32GB) via llama.cpp. see full run

For a standard 4-bit quantization using MLX, here are measured results for short-chat generation.

On MLX 4-bit, phi-4 is fastest on the M3 Ultra (60-core GPU) at 74.37 tok/s, 376% faster than the M3 Pro (18-core GPU) (15.61 tok/s).

CardDecode tok/sTTFT (113-token prompt)RunSource
M3 Ultra (60-core GPU)74.37 (single run)443 msr_sqzp-0rdez-community-submitted
M3 Pro (18-core GPU)15.61 (single run)936 msr_-w8hnn61va_community-submitted

phi-4, 4-bit, MLX, chat-short, batch 1. Only cards with their standard memory are listed; CPU-only hosts are excluded. Community-submitted runs are signed on the submitter's own machine and are not measured by llm-speed; llm-speed verdicts use only its own runs.

Signed runs (7 workload results)

All 4 runs are community-submitted (signed on the submitter's own machine, not measured by llm-speed, and not used for llm-speed verdicts).

RTX 5090 (32GB)RTX 5090 (32GB)

WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortllama.cpp-139.1tok/sno data51.1msr_k1u_k1j_1i2Community-submitted
chat-longllama.cpp-133.7tok/sno data433msr_k1u_k1j_1i2Community-submitted
concurrent-decodellama.cpp-140.2tok/sno datano datar_k1u_k1j_1i2Community-submitted
agent-tracellama.cpp-124.8tok/s21,162.4tok/s102msr_k1u_k1j_1i2Community-submitted
chat-shortllama.cpp-140.9tok/sno data56.7msr_e-k4aea8iprCommunity-submitted

M3 Pro (18-core GPU) + 36GB unifiedM3 Pro (18-core GPU) + 36GB unified

WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortmlx@0.31.34BIT15.61tok/s120.7tok/s936msr_-w8hnn61va_Community-submitted

M3 Ultra (60-core GPU) + 96GB unifiedM3 Ultra (60-core GPU) + 96GB unified

WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortmlx@0.31.34BIT74.37tok/s255.0tok/s443msr_sqzp-0rdez-Community-submitted

Can phi-4 run on your hardware?

Fastest decode speed on each GPU or Mac, from llm-speed's own runs and community-submitted runs. Each page lists every quant and runtime and labels which runs llm-speed measured.

phi-4 on hardware

Request a phi-4 run

No measured run yet for these pairs. Vote for the one you want; the most-requested runs go first. See all requests.

0 votes

We never sell or share your email. Privacy

llm-speed can measure this card · Submit your own

Compare phi-4 head-to-head

Check it for your setup

  • Predict your exact setup: estimate whether phi-4 fits your GPU or Mac at your quant and context, next to measured speeds where we have them.
  • Request this pair: ask for a measured phi-4 run on hardware we have not measured. Requests are ranked by votes.
  • Full run table (4 runs): every phi-4 result we have, with links to each source run.