SparkModelBench ranks inference engines serving the same model, grouped by
minimum memory class & Tensor Parallel (TP) boundary (e.g., TP=2 · 256 GB
for large models like GLM-5.3-Flash vs. TP=1 · 128 GB for single-Spark models like
Inkling-2-Mini and Ling-3.2-air). Mixing different model sizes into one global rank is misleading because
small models can decode faster while larger models deliver substantially higher capability on broad tasks.
Serving measurements and quality tasks are built on RigMark and RigMark Quality by Alex Ellis, OpenFaaS Ltd (MIT), plus Enntity's Staggered C4 field guide (AGPL-3.0-only).
Quality, long-context recall, and distribution fidelity carry 45% on absolute scales; serving performance carries 55% normalized within each model family so heavy dense models and fast MoE models are scored fairly without cross-model ceiling distortion:
Fidelity: Teacher-forced NLL over a frozen mixed-domain short corpus plus a contiguous ~32K codebase document, anchored to the median of each model's highest-tier official checkpoints (|ΔNLL| ≤ 0.015 nats = full credit; linear decay to 0 at 0.135 nats; 45% conservative credit when prompt logprobs are unverified or length-capped).
Prefill & Replay: Cold prefill averages each run's per-depth ratio against the family leader across 8K–128K (weighted by depth coverage; 25% conservative credit for chat-only engines without /v1/completions that completed long-context lanes). Prefix replay awards full 6/6 at ≤0.25s TTFT or ≥30× speedup over cold TTFT, scaling logarithmically down to 0/6 at 1× (no caching).
Add an unedited result.json (plus optional concurrency.json) and entry.json under leaderboard/runs/<slug>/, validate locally, and open a PR:
git clone --recurse-submodules https://github.com/Enntity/sparkmodelbench
cd sparkmodelbench
python3 run.py \
--base-url http://localhost:8000 \
--model YOUR_MODEL \
--metadata appliance.json \
--lanes decode prefill c4 quality needles fidelity concurrency \
--out runs/my-run
python3 leaderboard/build.py --check