Magnitude

magnitude.dev

Open-source local inference engine that auto-tunes kernels for your hardware, claiming over 2x Ollama speed, with one-click agent connections.

GitHub stars
8,232
License
Apache-2.0
Language
Rust
Pricing
Open source
Published
Oct 31, 2026

Next steps

What it does

Magnitude is an open-source (Apache 2.0) inference engine for running open models locally. Instead of shipping one-size-fits-all kernels, it spends up to about a minute tuning each model's kernels on your actual chip when you download it, keeping the fastest configuration that does not change the model's output. The project reports more than 2x the speed of Ollama on average across popular local models on Mac and NVIDIA hardware (benchmarks on magnitude.dev). Each model ships with a speculative-decoding drafter, KV cache is quantized to halve memory per agent, and concurrent sessions share prefix caches. It runs on Apple Silicon, NVIDIA, AMD and Intel GPUs or on CPU only. Magnitude comes as a desktop app and CLI for macOS, Windows and Linux, can run as a background server for other machines (magnitude server setup), and connects in one click to agents such as Pi, OpenCode, Hermes and Codex. No token costs and nothing leaves your machine.

Magnitude · Image from the official website
Image from the official website

Use cases

  • Run open-weight models locally for a coding agent without API costs
  • Serve local models to other machines on your network
  • Replace Ollama or LM Studio when you need higher throughput

Frequently asked questions

Is Magnitude free?
Yes. It is open source under Apache 2.0 and runs locally with no token costs.
What hardware does it need?
Any Apple Silicon, NVIDIA, AMD or Intel GPU, or just a CPU.
Which agents can it connect to?
One-click connections are offered for Pi, OpenCode, Hermes, Codex and more.
Log in to join the discussion