Generate locally.
Generate text on your Mac and connect it to your application. You control the chat experience and tools.
RUST + METAL / BUILT FOR APPLE SILICON
Run AI models on your Mac. Generate text, score decisions and prepare models with one open-source engine.
Built from source today. Installer packages aren't available yet.
higher generation throughput
than MLX-LM in our comparison
01 / BENCHMARKS
7.36% higher generation throughput overall in our Qwen3.5-2B comparison with MLX-LM. Stark led all six workloads.
| Workload | Stark tokens / second | MLX-LM tokens / second | Advantage |
|---|---|---|---|
| Fibonacci module | 358.2 | 321.5 | +11.40% |
| GPU explanation | 358.7 | 322.1 | +11.34% |
| Copy editing | 330.4 | 305.3 | +8.23% |
| Medium context | 315.0 | 296.7 | +6.13% |
| Long context | 238.8 | 230.6 | +3.53% |
| Long output | 344.2 | 331.6 | +3.83% |
Higher is better. These measure complete generation requests on the same model and Mac, with model loading excluded. Performance varies by model and hardware.
Four of six planned pairs passed the frozen host guards. Two pairs were excluded for external CPU activity and system pageouts. Whole-campaign timing_accepted remains false. These are preliminary local results; quality equivalence and broader production performance remain unqualified.
Rates include prefill, generation, IPC/readout and cleanup. Loading and warmup are excluded. Values are geometric means of within-load medians; each table cell covers 20 requests across four accepted loads. The overall gain gives equal weight to the 24 paired workload/load ratios. Gains use unrounded paired results and can differ from ratios of rounded rates. Bars compare engines within each workload.
Token hashes matched across engines on 6/10 fixtures; decoded text matched on 5/10. Both engines passed only sorting among four strict sanity checks. Arithmetic, prime and Python failed exact-reply checks; the retained receipts cannot distinguish semantic failures from formatting failures.
This measured direct workers at concurrency one. HTTP serving, concurrent requests, time to first token, power and other models or Macs were not measured here. Per-process GPU activity was unavailable; nominal thermal state does not prove equal clock frequencies.
The pinned comparison used Stark 045d0ca6, MLX-LM 72be8c955, MLX/MLX-Metal 0.32.4, context 8192, greedy sampling and fresh request state. Pair-level leads ranged from 6.09% to 7.95%; these are observed ranges, not confidence intervals.
02 / GET STARTED
Stark currently requires a source build. You'll need Apple's Metal tools, Rust and uv. An installer isn't available yet.
Use an Apple silicon Mac with Xcode's Metal tools, Rust 1.98.1 and uv for the converter.
Choose a supported checkpoint and prepare it with Stark's converter. The documentation lists model compatibility and tested configurations.
Supported modelsBuild the generation or scoring worker, then connect it to your application using the documented interface.
Generation guide Scoring guide03 / THE ENGINE
The building blocks for assistants, local workflows and AI features on your Mac.
Generate text on your Mac and connect it to your application. You control the chat experience and tools.
Get candidate scores and probabilities for applications that make structured decisions.
Convert supported Hugging Face and MLX checkpoints for Stark. Check model compatibility before getting started.
cargo +1.98.1 build --release --locked \
-p stark-generate
./target/release/stark-generate \
--model-path /path/to/converted-modelBUILT IN THE OPEN