Experiment Complete Published
llama.cpp b12110 on iPhone 12 · 4 GB, Metal
LFM2.5 350M as Q4_K_M (4-bit), archive 256 input / 128 output: a 256-token prompt and 128 tokens out. Measured 13 Nov 2026, 02:05 UTC by Glenn Sonna, Xybrid.
Eligible for ranking when the objective's required metrics are measured and this configuration is selected.Approximate comparison: The experiments use different effective KV cache precision: fp32, f16, uzu default. The experiments here use different 4-bit schemes: 8da4w, Q4_K_M, mirai-m.
Experiment id s4-iphone12-lfm2.5-350m-4-bit-llama-256
Summary
Over 6 valid trials of 6 attempted (6 planned), computed from the raw trials below.
| Metric | Median | Range | Mean ± SD | Quartiles |
|---|---|---|---|---|
| Decode speed tok/s, higher is better | 56.0 | 52.1–57.4 | 55.5 ± 1.8 | 55.5–56.2 |
| Time to first token ms, lower is better | 314 | 312–317 | 314 ± 1.9 | 313–314 |
| Peak memory GiB, lower is better | Not measured | |||
| Prefill speed tok/s, higher is better | 818.5 | 809.3–823.7 | 818.1 ± 5.0 | 817.1–821.1 |
Trials, metric by metric
The line runs from the lowest to the highest valid trial, the dot is the median and each tick is one trial.
Every trial
Raw token counts and durations, with the speeds computed from them. Invalid trials stay in the record with their reason; they are left out of the summary, never silently dropped.
| Trial | Time to first token ms | Prefill tok/s | Decode tok/s | Peak memory GiB | Thermal | Note |
|---|---|---|---|---|---|---|
| 1 | 317 | 809.3256 tok in 316 ms, engine | 55.8127 tok in 2,277 ms, engine | not recorded | nominal → nominal | |
| 2 | 313 | 819.8256 tok in 312 ms, engine | 56.2127 tok in 2,258 ms, engine | not recorded | nominal → nominal | |
| 3 | 314 | 817.2256 tok in 313 ms, engine | 52.1127 tok in 2,437 ms, engine | not recorded | nominal → nominal | |
| 4 | 314 | 817.0256 tok in 313 ms, engine | 55.4127 tok in 2,294 ms, engine | not recorded | nominal → nominal | |
| 5 | 312 | 823.7256 tok in 311 ms, engine | 56.2127 tok in 2,261 ms, engine | not recorded | nominal → nominal | |
| 6 | 312 | 821.6256 tok in 312 ms, engine | 57.4127 tok in 2,211 ms, engine | not recorded | nominal → nominal |
Caveats
- Publisher cards identify the base model but do not always pin the exact export source checkpoint revision.
- Engines may differ in quantization scheme, effective KV cache precision, kernels, and activations.
Configuration
Device
- Device
- Apple iPhone13,2
- Cohort
- iPhones (mobile)
- SoC
- Apple A14 Bionic
- CPU
- 6-core CPU (2 performance, 4 efficiency)
- GPU
- 4-core Apple GPU
- NPU
- 16-core Neural Engine
- RAM
- 4.00 GiB
- OS
- iOS 27.2.1 (24B156)
- Kernel
- Darwin Kernel Version 27.2.0: Tue Oct 13 21:44:36 PDT 2026; root:xnu-13432.42.3~28/RELEASE_ARM64_T8101
- Power
- usb
- Low power mode
- No
- App state
- active
Engine
- Engine
- llama.cpp
- Maintainer
- ggml-org
- License
- MIT, open source
- Version
- b12110
- Commit
- cd959bae99ff4bed22bef2604f45241c09bbb8c8
- Binary SHA-256
- c1a1252fac9adcbcd54d3ce0f381dba44f6ba05f0561d4b05e79a04228a8ea12
- Built from
- release
- Build flags
- None
- Backend
- Metal
- Threads
- Not recorded
- Interface
- ios-app
- Settings in effect
- backend=metal gpu_layers=999 flash_attn=on cache_type_k=f16 cache_type_v=f16 load_mode=mmap app=XybridBench process=one app launch per generation threads=C API default sampling=greedy prompt=frozen token IDs
Model and weights
- Base model
- LFM2.5 350M (LFM2.5, 350M)
- Upstream
- LiquidAI/LFM2.5-350M@9921cd4d82c0e3986887aa4b376f9446729ef8a3
- Weights
- LiquidAI/LFM2.5-350M-GGUF@657e078c94084481950a2d555a941481f715536b
- Format
- gguf
- File 1
- LFM2.5-350M-Q4_K_M.gguf · 218.7 MiB · sha256 7e6f72643caafc9a68256686638c4d7916f2cec76d1df478d4c3ddcd95a6aed4
- File 2
- README.md · 3,277 bytes · sha256 4773739eb49540664b16566dc655d03a51df3937639e9dbf28d48a15d01b2436
- Quantization
- Q4_K_M (4-bit)
- Weight bits
- 4
- Group size
- Not recorded
- KV cache
- f16
- Conversion
- Published upstream by LiquidAI
- Conversion command
- Not recorded
Workload
- Workload
- Archive 256 input / 128 output
- Prompt
- 256 tokens, from prompts/source.txt
- Prompt SHA-256
- c10d1b7bef62d95322f8f8d229dc66118d9375107bdc49b06f76287d058b2f6c
- Chat template
- ba551d58630afa3190b1be3602e28301f3d2e9bbac978dfc49d6d825171648b6
- Output
- 128 tokens, ignoring end of sequence
- Context length
- 4,096
- Batch size
- 1
- Sampling
- Greedy
- Timing
- One streamed request per trial
- Warmup
- 2 runs, not counted
- Trials planned
- 6
- Cooldown
- 60 s between trials
Conditions
- Ambient
- Not recorded
- Thermal at start
- nominal
- Thermal at end
- nominal
- Thermal gate
- iOS thermal state nominal
- Throttling detected
- No
Provenance
- Measured by
- Glenn Sonna, Xybrid
- Operator affiliation
- Xybrid
- Run at
- 13 Nov 2026, 02:05 UTC
- Harness
- xybrid-bench 0.4.0 (8130262155c269b3ee57ab53b9fb646fd29790c2)
- Methodology
- v0.6
- Publication
- published
- Published
- 16 Nov 2026, 10:23 UTC
- Reviewed by
- Glenn Sonna
Output check
- Result
- Passed
- Method
- sanity-v1-bf16-reference
- Reference
- checks/sanity-v1.json
- Reference SHA-256
- a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca
- Required passing checks
- 7
- Check arithmetic
- Failed · sha256 9f14025af0065b30e47e23ebb3b491d39ae8ed17d33739e5ff3827ffb3634953
- Check capital
- Passed · sha256 5dd272b4f316b776a7b8e3d0894b37e1e42be3d5d3b204b8a5836cc50597a6b1
- Check opposite
- Passed · sha256 f151cd9e12c8994edfa316e4624f956bc68460454869177f287146f8cc956a12
- Check weekday
- Passed · sha256 7d8af1de1262f150187d5938bf649d6c35726970685f916d1ec6392a801b9762
- Check color
- Passed · sha256 d486dfbd5fb578340bccbdd0a662527eab38550648d5f44517e5ac71b8824703
- Check sort
- Failed · sha256 edb794d615a63f5eec436d83bed7299d6af36f508c0bf38a3c1cd85d6e4ebd56
- Check animal
- Passed · sha256 4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a
- Check word
- Failed · sha256 639807a2e01886a2236b9fe1fe9bdbdea267b9c84c4acb3ab0858a6a13531b9a
- Check copy
- Passed · sha256 d61e6890d0e3571b0c7693612d41f8d059a1fcdef4ba959c0af4144541d41907
- Check needle-start
- Passed · sha256 8b9af2e5b8b4cfddb87d171997b95c471f8d68a68e30fb5177abeb3332372edd
- Check needle-end
- Passed · sha256 e6589c736af32f81bf239c5eda6de41959122ccc1d05463b75e0eb0c70fc831c
- Check continuation-128
- Failed · sha256 ce02aec498756856567446a2f4cb35b219ea726d81089769eddd1499c99ba95f
- Detail
- 8/8 of the checks the model passes at BF16; needs 7 and the mandatory ones (needle-start, needle-end). Left out, failed by every BF16 configuration: arithmetic, sort, word, continuation-128.
Reproduce it
pnpm bench run --plan plans/s4-iphone12-lfm2.5-350m-4-bit.json
Three palindromic blocks per quantization class and workload; load, two warmups, one trial, unload per turn.
Raw data
- This record, as committed JSON, schema v0.3.0
- Complete finalized session evidence raw ·
sha256 ac1a231e5df2…