Phi-4 Mini Instruct on Pi 5
Raspberry Pi 5 · 16 GB RAMAll performance measurements are for this device.
Capability shows how well the model answers the benchmark questions. Speed, response time and memory are measured on Raspberry Pi 5 · 16 GB.
| Model | Capability / 100 | Output tok/s | Prompt tok/s | First token · s | Task time · s | Peak memory · MiB | Parameters · B |
|---|---|---|---|---|---|---|---|
| Phi-4 Mini InstructQ4_K_M · 4,096 context · reasoning off | 80 | 4.8 | 23.8 | 16.7 | 86.4 | 5,387 | 3.8 |
Benchmark breakdown
| Instruction following · IFEval | Tool calling · BFCL | Finding information · RULER |
|---|---|---|
| 72 | 75 | 93 |
Test configuration
- Model publisher
- Microsoft
- Model parameters
- 3.8 billion total
- Published input support
- text (metadata; not device validation)
- Quantization
- Q4_K_M
- Context capacity
- 4,096 tokens
- Reasoning mode
- off
- CPU threads / parallel requests
- 4 / 1
- Temperature / seed
- 0 / 42
- Measurement date
- 2026-10-18T13:35:18.352652+00:00
- Result ID
- split-c026e7ea0589af0d4602
- Runtime revision
- 620d2225cc436ab0b001e3200e590e3b286ef9ab
- Artifact repository / revision
- unsloth/Phi-4-mini-instruct-GGUF / 78eb92a46fc37e6b524df991ed9aca9bc6aa7b80
- Artifact SHA256
- 88c00229914083cd112853aab84ed51b87bdf6b9ce42f532d8c85c7c63b1730a
- Dataset revision
- a0fc00b6a07455d1efb70cc19d5ca94c5923c5261a0b41095083a41a1592a1f6
- Configuration identity
- c98089cd8c87b760562ce755d628de8886f5d2a1ca8d6fe40bda73aa89cdffc0
Measurement limits
Speed tests read 256 input tokens and generate 128 output tokens, repeated ten times. The output speed test starts without a long conversation history. Answer time uses six fixed prompts with up to 128 output tokens, repeated three times. First-text time is measured from the application making the request. Peak memory includes the loaded model; it excludes other applications on the device. Longer prompts may need more memory. Capability uses a fixed selection of public questions, rather than the full official benchmarks.
Measured 2026-10-18T13:35:18.352652+00:00.