Magnitude, hands-on: run big open models on the hardware you already own
Magnitude is December’s fastest-growing local inference engine — 9,700 stars in a month — because it spreads big open models across your GPU, RAM, and SSD instead of demanding a GPU. I installed it, served a model, and called it from curl and Python: the setup works, the tiny model doesn’t code.
- 9,705 stars on December 4: up from 68 in June — the fastest-growing local inference project of the month; Apache-2.0, from a YC S25 team.
- One-command CLI install:
curl -fsSL https://magnitude.dev/install.sh | sh— 88.6 MB, checksum verified, no root needed; current version 0.3.17. - 8 model families, 15 catalog models: from Liquid LFM3 1.7B (1.0 GB) to DeepSeek V4.1 Flash 552B (from 258 GB); per-model kernel tuning on your chip.
- OpenAI-compatible API on localhost:10100:
/inference/v1, no key needed locally; Anthropic-compatible endpoint too; one command connects Pi, OpenCode, Codex, Claude Code, and more. - It refuses cleanly when a model doesn’t fit: the 1.2B instruct model needs 1.2 GB free RAM; the 350M needs 590 MB — both failed honestly in the sandbox before the smaller one loaded.

On December 4, Magnitude passed 9,700 stars on GitHub — up from 68 in June. It is the fastest-growing local inference project of the month, and the reason is a simple pitch: it runs big open models on the hardware you already own. Instead of demanding that a model fit in your GPU, it spreads the model across your GPU, your system RAM, and your SSD, streaming the pieces each token needs just before they are used. A 552-billion-parameter model becomes something a desktop can at least attempt, and a 27-billion-parameter model becomes something a laptop can run.
This tutorial takes you from zero to a working local model: install the CLI, serve a model, call it from curl and from Python, and wire it into a coding agent. Every command below was run in a sandbox — a 4-core virtual machine with 7.7 GB of RAM and no GPU — and the places where the sandbox fell short are flagged rather than smoothed over.
What you’ll need#
- A Mac, Windows PC, or Linux machine. Apple Silicon, NVIDIA, AMD, Intel, or just a CPU. The desktop app is the friendly route; this tutorial uses the CLI-only install, which needs no administrator rights.
- Disk space for one model. The smallest useful model is about 1 GB; the strong ones are 7–30 GB. The CLI itself is an 89 MB download.
- RAM to match the model you pick. Magnitude measures your machine and refuses to load a model that does not fit, with a plain error message instead of a crash. On this sandbox, the 1.2 GB test model needed 1.2 GB of free RAM and did not get it; the 219 MB model did load. Check the catalog’s “from” sizes before you download.
- No account, no API key, no GPU. Everything runs locally under the Apache-2.0 licence. Downloads come from Hugging Face, so you need internet for the first pull only.
1. Install the CLI#
Magnitude ships a desktop app and a CLI-only install. The CLI is the right choice for a server, a machine you reach over SSH, or anyone who wants the model served in the background. One command installs it:
curl -fsSL https://magnitude.dev/install.sh | sh
On Windows PowerShell the equivalent is irm https://magnitude.dev/install.ps1 | iex. For the desktop app instead, add --desktop to the install command, or download it from magnitude.dev/download. One warning worth heeding: do not install a bare magnitude package from npm or crates.io — unrelated packages share the name. Get it from magnitude.dev only.
In the sandbox the install took about 25 seconds: it found CLI 0.3.17, downloaded 88.6 MB, verified the checksum, and installed into ~/.magnitude/cli/<version>/, putting the magnitude command at ~/.magnitude/bin/magnitude. Open a new shell afterwards so the PATH change takes effect, then confirm:
magnitude --version
# 0.3.17
The CLI is young — 0.3.x, with releases landing near-daily — so expect the version number to have moved on by the time you read this. The commands below are from 0.3.17, verified against the CLI’s own bundled documentation (magnitude docs <topic>), which is the most reliable reference because it ships with the binary.
2. Check what your machine can run#
Before downloading anything, ask Magnitude to profile the machine:
magnitude hardware
On the sandbox this printed the CPU (AMD EPYC, 4 cores), 7.7 GB of system memory, and “GPU unavailable” — CPU-only inference, which Magnitude handles without complaint. Then list the models it recommends for this hardware:
magnitude models recommend
The recommendation pass measures every quant of the catalog against your machine, which takes a few minutes on first run; it reported “measuring 46 more quants” before settling. Two things matter here. First, Magnitude only runs eight model families — Qwen 3.5–4, Gemma 4, LFM 2.5 and 3, Nemotron 3 and 3.5, Muse Glimmer, Inkling 2, DeepSeek V4.1, and GLM-5.3 Flash — because it writes and tunes its own kernels per family instead of running every architecture through generic code. A model outside those families will not run, however popular it is; plain Qwen3, for example, is not supported yet. Second, each family’s page lists the quant ladder with size, estimated speed, served context, and placement, so you choose with numbers instead of guesses:
magnitude models show LiquidAI/LFM2.5-1.2B-Instruct-GGUF
That printed eight quants for the 1.2 B instruct model, from Q4_0 (696 MB, about 11 tokens per second, 125K context, fits in RAM) up to BF16 (2.34 GB, about 6 tokens per second). Q8_0 (1.25 GB) was marked recommended. The catalog on magnitude.dev/models lists 15 recommended models the same way, with the size each needs on your machine and an intelligence score — Epoch AI’s Capabilities Index as a percentage of the current frontier model — so you can trade size against capability before downloading. The smallest entry is Liquid LFM3 1.7B at 1.0 GB; the largest is DeepSeek V4.1 Flash at 552B total (16B active) from 258 GB.

3. Download a model#
Pull a model by its Hugging Face repository and quant:
magnitude models pull LiquidAI/LFM2.5-1.2B-Instruct-GGUF:Q4_0
With no quant it picks the recommended one and says so. The command pins the repository’s current commit and prints a model ID you use in later commands. One sandbox observation: Magnitude’s own downloader ran at roughly 170 KB/s on this VM’s network while a plain curl of the same file ran at 1.2 MB/s. If the built-in download crawls on your network, download the GGUF yourself and point Magnitude at the folder instead — it scans Hugging Face, LM Studio, Ollama, and llama.cpp caches, plus any folder you add:
magnitude models folders add ~/models
magnitude models list
That is how the sandbox run proceeded: the 696 MB Q4_0 file was fetched with curl and registered with folders add, after which models list showed it with its size, speed estimate, and context, exactly as if Magnitude had downloaded it. The full file list for the model also confirms the download is complete before you try to load it — a truncated GGUF is a wasted hour.
4. Serve it and make your first call#
Start the server in the foreground:
magnitude serve
It serves the inference API and the Magnitude web app on http://127.0.0.1:10100, reachable only from this computer by default. The OpenAI-compatible endpoint is http://127.0.0.1:10100/inference/v1; an Anthropic-compatible endpoint lives at /inference/anthropic. No API key is needed on localhost. To keep it running in the background, the bundled headless docs give you a systemd user unit on Linux, a LaunchDaemon on macOS, and a scheduled task on Windows — set up one per computer, and check it with magnitude status.
Load a model in a second shell:
magnitude models load local:lfm2.5-350m-q4_0:353436b6d294
Two honest notes from the sandbox. First, loading tunes kernels for your exact chip, which takes about a minute per model — the 350M model took roughly two and a half minutes on four slow cores, reporting “Loading 50%” halfway. Second, Magnitude checks memory before it loads and refuses cleanly when there is not enough: the 1.2B instruct model needs 1.2 GB free and the sandbox did not have it, so the load failed with “Not enough memory right now” rather than crashing. The 350M model needs about 590 MB (217 MB of weights, 719 MB of key-value cache for its 125K context, 281 MB of overhead) and failed twice while other processes held the RAM, then loaded once a gigabyte was freed. The served context is the model’s own when it fits, otherwise the largest power of two below it, down to 32K; below that the model is reported as not fitting. A loaded model unloads after an hour without requests, or when the system runs short of memory.
With the model active, the first call is a plain HTTP request:
curl -s -X POST http://127.0.0.1:10100/inference/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "local:lfm2.5-350m-q4_0:353436b6d294",
"messages": [{"role": "user", "content": "Write a haiku about cache misses."}],
"max_tokens": 64, "temperature": 0.7}'
It returned HTTP 200 and a real haiku — “Cache misses whisper, / Data finds its way home, / Silence in the code.” — in 20 tokens at 14.7 tokens per second, with time-to-first-token of 175 ms. The GET /inference/v1/models endpoint lists the loaded model with its context length (128,000 tokens) and supported parameters, so any OpenAI-compatible client can discover it. The same call from Python, using the exact pattern from the project README, also works:
from openai import OpenAI # pip install openai
client = OpenAI(base_url="http://127.0.0.1:10100/inference/v1", api_key="not-needed")
print(client.chat.completions.create(model="local:lfm2.5-350m-q4_0:353436b6d294",
messages=[{"role": "user", "content": "Write a haiku about cache misses."}],
max_tokens=64).choices[0].message.content)
That printed a second haiku with no authentication error — localhost needs no real key. One caveat about the test model itself: the 350M is a base model, not an instruct model, and it showed it. Asked for a Python Fibonacci function it returned only def fibonacci(n) and stopped after seven tokens. The pipeline is proven; the model is a toy. For real work, run an instruct model — LFM2.5-1.2B-Instruct or LFM3 1.7B on a small machine, Qwen3.5 4B or Gemma 4 12B on a larger one — and give it the RAM the catalog says it needs.
5. Point your coding agent at it#
Magnitude’s reason to exist is not the chat endpoint; it is the agent wiring. One command connects a harness to the local models:
magnitude connections connect claude-code --set-model <model-id>
Supported harnesses are Pi, OpenCode, Hermes, OpenClaw, Codex, Claude Code, Oh My Pi, and Cline; anything else works through the OpenAI-compatible API. magnitude connections list shows each harness, whether it is installed, and whether it is connected — on the sandbox it correctly detected Codex as installed and the rest as absent. Add --install-skill to install or refresh the bundled Magnitude skill in the harness (automatic for Pi). Once connected, the agent’s requests go to your local model instead of a hosted API: no per-token bill, no data leaving the machine, and the model unloads itself after an hour idle.
The end-to-end use case that justifies the setup is a coding session against a local model: pick a model that fits your machine from the catalog — Qwen3.8 27B is the strongest model that fits on a 16 GB machine at 12.2 GB, and Qwen4 35B-A3B needs 29.4 GB — connect your harness, and work as normal while Magnitude streams experts from RAM and disk and tunes kernels in the background. The sandbox could not run that session end to end (no GPU, 7.7 GB of RAM), so treat the big-model numbers as Magnitude’s own catalog figures, not measurements. What the sandbox did prove is every step up to the model: install, profiling, download, load, API, and client library all work as documented.

When to use this vs alternatives#
| Tool | Pick it when | Watch out for |
|---|---|---|
| Magnitude | You want the machine to choose and tune the model for you, you run coding agents locally, or your model is bigger than your GPU | Only 8 model families; young project (CLI 0.3.x); speed claims are its own benchmarks |
| Ollama | You want the simplest local runner with the widest model support | No per-model kernel tuning, no tiered GPU/RAM/SSD streaming, no hardware-aware recommendations |
| llama.cpp | You want full control, every architecture, or maximum configurability | You do the choosing, tuning, and wiring yourself |
| vLLM / SGLang | You serve models to many users or need maximum throughput | Built for servers with real GPUs, not a laptop |
The honest version of the speed story: Magnitude claims over 2× faster decode than Ollama on average across popular local models — 2.19× on Mac, 2.17× on NVIDIA in its own benchmark — from per-model kernel autotuning and speculative decoding drafters chosen per model. Independent reviewers are more cautious: one detailed review calls it a promising bet rather than a demonstrated win, noting launch-thread measurements where llama.cpp won on some setups. The claim is plausible for the hardware it tunes for and unverified in general; the tiered streaming and the hardware-aware recommendations are the features that hold up regardless of the benchmark argument. If your model fits comfortably in your GPU, Ollama is simpler. If it does not fit, Magnitude is the tool that makes the attempt reasonable.
The takeaway#
Magnitude earned its December star spike by solving the actual problem with local models: not running a model, but deciding what to run and making it fit. One install command, one profile command, one pull, one serve — and any OpenAI-compatible client talks to a model on your own hardware, with the kernel tuning and the memory tiering handled for you. The limits are real and worth knowing before you commit: eight families, a young CLI, and speed numbers that come from the vendor’s own benchmark. But the core loop works exactly as documented, including the graceful failure when a model does not fit. Start with the smallest model that fits your machine, connect one coding agent, and let the local model earn its place before you download the 30 GB one.
Install, serve, model load, API calls, and the Python client were run end to end in a sandbox (4-core AMD EPYC, 7.7 GB RAM, no GPU) with LFM2.5-350M Q4_0, since the 1.2B instruct model needed 1.2 GB of free RAM the sandbox did not have. Star counts are from GitHub on December 4, 2026 (9,705 stars, 723 forks); December growth figures are from gittrend and Archestack. Speed and intelligence figures are Magnitude’s own, from its benchmark page and model catalog; no independent measurement of the big models was possible on this hardware.