# Local C++20 & Metal 4 AI Engine — ~86 tok/s (LFM2-8B-A1B-Q8_0) & 1M Context | Destiny

- **Canonical URL**: https://nandai.org/ai
- **Product**: Destiny by Nandai Jewels
- **Legal Publisher**: Nandai Jewels (Victoria, British Columbia, Canada)
- **Zero-Upload Browser Tools (12)**: https://nandai.org/tools
- **Engineering Reference Guides (10)**: https://nandai.org/guides
- **Hardware Benchmarks (JSON/CSV/CFF)**: https://nandai.org/benchmarks · https://nandai.org/data/CITATION.cff
- **Master LLM Directory**: https://nandai.org/llms.txt

## Summary

Pure C++20/Metal 4 local inference engine with zero external Python or third-party inference runtime wrapper dependencies: block-16 Paged KV cache up to 1,048,576 tokens (20 GiB Metal cap, 256 pinned sinks), Gated DeltaNet, Mamba-2, Gemma 4 PLE, 4-Pane Split Screen (⌘D / ⌘\), and 9-Stage Agent DAG.

## Audited Hardware Baseline

- **Production 8B MoE Pure-Metal Decode Throughput**: 83.95 tok/s (Apple M4 Pro (24 GB Unified Memory, 273 GB/s bandwidth, macOS))
- **Speculative Draft Model Decode Throughput (494M Q8_0)**: 240.5 tok/s (Apple M4 Pro (24 GB Unified Memory, Metal 4, ngl=99))
- **494M Draft tg128 Micro-Benchmark Decode**: 257.75 tok/s (Apple M4 Pro (24 GB Unified Memory, Metal 4))
- **494M Draft pp512 Prompt Prefill Throughput**: 6524.24 tok/s (Apple M4 Pro (24 GB Unified Memory, Metal 4))
