magnitudedev/magnitude

Open source inference engine that spreads models across your GPU, RAM, and SSD so they run on everyday Macs and PCs. Works on Apple Silicon, NVIDIA, AMD, Intel, or just a CPU.

What it is

Magnitude is a free, open-source program (Apache 2.0 license) that runs AI models locally on your own computer. It's an "inference engine" — the software that actually executes a downloaded model and generates its responses.

The core idea: tuning to your hardware

Most inference engines (the README names Ollama, llama.cpp, and LM Studio) ship the same pre-built code for every computer. Magnitude instead tests different ways of doing the math on your specific chip when you download a model. It tries variations like how many GPU threads work together, how big a chunk of data each thread handles, and how far ahead data is loaded. It keeps the fastest combination that doesn't change the model's output. This tuning takes up to a minute per model.

Performance claims

The README claims Magnitude is over 2x faster than Ollama on average across popular local models. Its benchmark chart shows, averaged over 11 models:

  • Mac: 1.32x faster prefill (processing your input), 2.19x faster decode (generating output)
  • NVIDIA: 1.34x faster prefill, 2.17x faster decode

Other features mentioned

  • Built-in drafter: each model ships with a "speculative decoding drafter" — a smaller helper model that predicts upcoming text so the main model can generate faster.
  • Flexible memory: a "quantized KV cache" halves the memory used per agent session, and frees that memory when sessions stop.
  • Fast concurrent sessions: sessions share "prefix caches" so running several at once doesn't slow things down.

Hardware and OS

  • Works on Apple Silicon, NVIDIA, AMD, Intel GPUs, or CPU-only.
  • No fixed minimum hardware — smaller machines run smaller models; more memory lets you run larger ones.
  • Supports macOS, Linux, and Windows.

Agent integration

One click connects Magnitude to agents you may already use: Pi, OpenCode, Hermes, OpenClaw, Codex, Claude Code, Oh My Pi, and Cline. Anything else can connect through an OpenAI-compatible API.

Privacy

Prompts, files, and models stay on your machine. No internet connection is needed once a model is downloaded.

Installation

Magnitude ships as a desktop app plus a CLI. Install from the terminal:

  • macOS / Linux: curl -fsSL https://magnitude.dev/install.sh | sh
  • Windows PowerShell: irm https://magnitude.dev/install.ps1 | iex

Or download platform-specific installers (DMG for Mac, EXE for Windows, DEB/RPM/Pacman packages for Linux). It can also run as a remote server or in Docker (details in the docs).

Model support

The README points to magnitude.dev/models for the full list, noting that optimized kernels are written for the most popular open-weight model families.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project