Warden-S1-752M-MLX-4bit (Apple Silicon, < 1 GiB @ 128K)

In plain English - what is Warden-S1 for? Most AI models are slow System-2 talkers. Warden-S1 is a local System-1 verification model with its own 128K-token context window and a twist: in one instant reflex pass (0 generated tokens), it outputs calibrated Yes/No probabilities, category Choices, and Severity scores to guard long-running AI coding agents (catching secret leaks from poisoned GitHub issues 70,000 tokens back or fake "all tests pass" claims).

Cloud System-1 judges crash past their ~33K-token ceiling (HTTP 400) and upload your private repo to a third-party API, while normal "small" 0.6B local models secretly eat 14.3 GiB of KV RAM when stretched to a 128K window and freeze a 16 GB laptop on one chat. Warden-S1 holds 10 concurrent long-context sessions at once in 858 MiB on your laptop (or 461 MiB inside Chrome), beats commercial Cloud Jev (96.1% vs 84.9% accuracy), admits "I don't know" at 0.50 instead of bluffing, points straight to the exact guilty turn (locus, 93% Top-1), and scores which old turns are safe to compact (salience, 99.98% AUROC) so Warden-S1's 128K window keeps tracking even when your main coding agent's session grows past 500K+ tokens.

4-bit Apple Silicon MLX quantization of Warden-S1-752M (Stage 3.5), authored by Ryan Joshua Z. Gapac (ORCID 0009-0004-2591-0219, DOI 10.5281/zenodo.24494405, mail@ryanjoshuagapac.com, https://ryanjoshuagapac.com/writing/warden-s1).

Hardware Residency & Multiplexing (Apple M5 16 GB, mlx 0.32.4)

  • Disk footprint: 415.5 MiB (415.4 MiB live Metal weights + heads; 404.3 MiB base backbone)
  • Single-session live Metal residency (mx.get_active_memory()):
    • 64K context (Q8 KV): 842.9 MiB steady (831.1 MiB base)
    • 128K context (Q4 KV): 867.4 MiB steady (855.3 MiB base)
  • 10-session concurrent 64K-98K multiplexing (6 x 64K Q8 + 2 x 80K Q4 + 2 x 98K Q4):
    • Peak active Metal memory: 858.3 MiB (< 1,024 MiB ceiling PASS)
    • Concurrent delta hits: 20/20 (100%) with 2-token BPE boundary healing (22/22 healed hits)
    • L2 host-RAM swap p50: 104.4 ms (22.5x faster than 2,344 ms numpy copy baseline)
    • L3 zstd cold wake at 98K: 3.13x compression (341.7 MiB -> 109.0 MiB, 2/2 delta hits)
  • O(Delta L) warm turn speedup (60K cached + 2K delta vs. cold 62K): 18.76x (1.59 s vs. 30.4 s)

Stage 3.5 Accuracy & Head-to-Head vs. Cloud Jev

Evaluation Suite Key Stage 3.5 Result
Held-out WardenS1-Bench (4K-128K) 0.9957 Noul AUROC (0.9947 @ 80K-128K), 0.8726 Choice F1, 0.8814 Score Spearman, 0.0175 ECE, 0.9115 CF Net, 0.9297 Locus Top-1, 0.9998 Salience AUROC, 0.0208 Abstention MAE
BF16 vs. MLX-Q4 Val Parity (32 states) 0.00271 overall mean prob delta, 0.0183 Noul delta, 0.9844 Locus Top-1 agreement
100-Request Cloud Jev Head-to-Head (n=66 matched) 0.9933 vs. 0.9449 Noul AUROC, 96.1% vs. 84.9% accuracy, 0.0270 vs. 0.0998 Brier, 0.0269 vs. 0.0734 ECE, 0.0% vs. 100.0% abstention overconfidence, 100/100 accepted to 117K tokens vs. 34% rejected past 33K, $0.00 cost
OOD pi-warden judge-bench (80 cases) stuck accuracy 85.0%-87.5% (Brier 0.121-0.128), done recall 75.0%-80.0%
OOD pi-warden rules-bench (161 cases) Recall@0.5 41.9% (7.75x Stage 2, 83.8% precision, 8.2% FPR); Recall@0.7 23.0% (85.0% precision, 4.1% FPR)

Quickstart (Local TypeSafe Loopback Daemon)

pip install "warden-s1[mlx]"
warden-s1 serve \
  --model DevMortimer/Warden-S1-752M-MLX-4bit \
  --host 127.0.0.1 \
  --port 8787

Point pi-warden, pi-typesafe, or @typesafe-ai/sdk to http://127.0.0.1:8787 (POST /v1/systemone, GET /v1/models, GET /health, GET /stats).

Citation

@techreport{gapac2026wardens1,
  title       = {Warden-S1: A Sub-1 GiB, 128K-Context Local System-One Verifier for Long-Horizon Coding Agents},
  author      = {Gapac, Ryan Joshua Z.},
  year        = {2026},
  month       = nov,
  institution = {Independent Research},
  doi         = {10.5281/zenodo.24494405},
  url         = {https://doi.org/10.5281/zenodo.24494405}
}

License

Apache-2.0.

Downloads last month
-
Safetensors
Model size
0.8B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for DevMortimer/Warden-S1-752M-MLX-4bit

Quantized
(2)
this model

Dataset used to train DevMortimer/Warden-S1-752M-MLX-4bit