Skip to content
,

Magnitude Runs AI Models Bigger Than Your VRAM From an SSD: Setup, Speeds and Limits

12–18 minutes
Woman in a glass-walled office holding a tablet with a MAGNITUDE card, hook 66 GB model on a 24 GB GPU

Magnitude is a free, open-source local AI engine that runs models bigger than your graphics card, and even bigger than your system RAM, by streaming the rest from your SSD.

It went viral this week after a 25 November 2026 write-up showed a 66 GB model decoding at 41 tokens per second on a 24 GB RTX 3090.

That number is vendor-reported, but the tool is real, Apache 2.0 licensed and installable today on Windows, macOS and Linux. It also claims about 2x faster decode than Ollama on the same models.

This guide covers how the GPU, RAM and SSD tiers work, the full benchmark table, install and CLI commands, the local API, connecting Claude Code or Codex, the model list, known bugs from GitHub, and how it compares with llama.cpp offload and Ollama.

TL;DR

  • What: Magnitude, an Apache 2.0 desktop app + CLI from Magnitude AI Inc. that tunes kernels for your exact chip and spreads model weights across GPU, RAM and NVMe SSD.
  • Headline result: Qwen3.8 Flash Next (180B MoE, 66 GB file) at 41 tok/s decode on an RTX 3090 24 GB with 64 GB RAM and a PCIe 4.0 SSD (vendor-reported).
  • Install: curl -fsSL https://magnitude.dev/install.sh | sh (macOS/Linux) or irm https://magnitude.dev/install.ps1 | iex (Windows PowerShell).
  • API: OpenAI and Anthropic-compatible endpoints on http://127.0.0.1:10100, plus one-click links for Claude Code, Codex, OpenCode, Cline and others.
  • Latest version: CLI 0.2.17 (8 November 2026).
  • Catch: the big-model results use aggressive 2-bit quants, all numbers are Magnitude’s own, and decode speed drops sharply with a slower SSD.

What Is Magnitude?

Magnitude is a local inference engine with a desktop app and a command-line tool. You download a model inside it, and it serves that model to your coding agents or chat apps through a local API.

Two ideas set it apart from Ollama or LM Studio:

  • Per-machine kernel tuning: when you download a model, it spends up to about a minute trying different ways to split the maths on your chip, then keeps the fastest one that does not change the output.
  • Three memory tiers: instead of failing when a model does not fit, it keeps the hottest weights on the GPU, caches the next layer of weights in RAM and streams the rest from your NVMe SSD.

The project is on GitHub as magnitudedev/magnitude under Apache 2.0. At the time of writing it had about 7.6k stars and 1,645 commits, so it is not a weekend experiment. There is no paid tier; the README pitches it as local AI with “no token costs”.

Date (2026) What happened
29-30 Oct Versions 0.2.14 and 0.2.15: Anthropic-compatible endpoints accept any version header, download fixes
3 Nov 0.2.16: official Docker image, more 1-bit and 2-bit GGUF quants, shared prefix caching
8 Nov 0.2.17 (latest stable): memory breakdown, models served at the largest context that fits
25 Nov The Neuron covers the SSD streaming results; founder Tom Greenwald’s launch post on X goes viral

How It Runs Models Bigger Than Memory

The trick only works well with mixture-of-experts (MoE) models. These have many “expert” blocks, but each token only uses a few of them. Qwen3.8 Flash Next, for example, has 512 routed experts and uses 10 per token.

Magnitude’s placement, as described in its launch coverage, looks like this:

Tier What lives there Why
GPU VRAM Shared layers (attention, embeddings) and the most-used experts Every token touches these, so they must be fastest
System RAM A cache of the next most-used experts Much faster than SSD, much bigger than VRAM
NVMe SSD All remaining experts Rarely used experts are read on demand and prefetched ahead of time

The weak point is the SSD read. If an expert is not prefetched in time, decoding stalls while the drive catches up. That is why the same model runs at 41 tok/s on a PCIe 4.0 machine but only 17 tok/s on an RTX 3060 box with a PCIe 3.0 drive.

Note: dense models (every parameter used for every token) do not benefit much from SSD streaming. For those, Magnitude’s gain comes from kernel tuning and speculative decoding, not from fitting bigger files.

Other speed features listed in the README: MTP/DSpark draft models shipped per model for speculative decoding, a quantized KV cache, and shared prefix caches when several agent sessions run at once.

Benchmarks: Big Models From SSD (Vendor-Reported)

These are Magnitude’s own numbers from its benchmarks page: default settings, 64K context, speculative decoding on, rounded tokens per second. No independent lab has reproduced them yet.

Machine Model (file size) Prefill tok/s Decode tok/s
Mac mini M2 Pro, 32 GB Qwen3.8 Flash Next (66 GB) 241 13
Mac mini M5 Pro, 48 GB Qwen3.8 Flash Next (66 GB) 883 54
Mac mini M5 Pro, 48 GB DeepSeek V4.1 Flash (249 GB) 145 10
RTX 3060 12 GB, 32 GB RAM, PCIe 3.0 Qwen3.8 Flash Next (66 GB) 433 17
RTX 3090 24 GB, 64 GB RAM, PCIe 4.0 Qwen3.8 Flash Next (66 GB) 1,546 41
DGX Spark, 128 GB GLM-5.3 Flash (102 GB) 479 28
DGX Spark, 128 GB Qwen3.8 Flash Next (66 GB) 1,185 83
RTX 5090 32 GB, 64 GB RAM, PCIe 5.0 Qwen3.8 Flash Next (66 GB) 3,718 87
RTX 5090 32 GB, 64 GB RAM, PCIe 5.0 DeepSeek V4.1 Flash (249 GB) 183 10
RTX 5090 32 GB, 128 GB RAM, PCIe 4.0 DeepSeek V4.1 Flash (249 GB) 351 17
RTX 5090 32 GB, 128 GB RAM, PCIe 4.0 GLM-5.3 Flash (102 GB) 942 16
RTX 5090 32 GB, 128 GB RAM, PCIe 4.0 Qwen3.8 Flash Next (66 GB) 4,615 77

Two patterns stand out. More RAM beats a faster SSD for the 249 GB DeepSeek file: 128 GB RAM on PCIe 4.0 gave 17 tok/s, while 64 GB RAM on PCIe 5.0 gave 10 tok/s.

The quants are very small, though. Qwen3.8 Flash Next uses a Q2_0 file (66 GB), GLM-5.3 Flash uses Unsloth UD-IQ2_XXS (102 GB) and DeepSeek V4.1 Flash uses IQ2_XXS (249 GB). Magnitude does not publish quality scores for these 2-bit files.

Magnitude vs Ollama Speed Test

For models that fit in memory, Magnitude compared itself with Ollama v0.35.1 using about 4-bit weights, ~64K context, 256 output tokens, greedy sampling and thinking off. It reports these averages (vendor-reported):

Platform Avg prefill speed-up Avg decode speed-up Example (decode, Ollama to Magnitude)
Mac M4 Pro 48 GB (Ollama MLX) 1.32x 2.19x Qwen3.6 35B: 47.2 to 122 tok/s
NVIDIA DGX Spark 128 GB (Ollama GGUF Q4_K_M) 1.34x 2.17x Qwen3.5 9B: 53.9 to 214 tok/s

It was not a clean sweep. Magnitude was slower on Nemotron 3.5 decode on DGX Spark (0.76x) and slightly slower on Gemma 4 E2B prefill on Mac. The page also admits answer quality was not scored and the two engines do not run identical weights.

Tip: you can reproduce the test from the repo’s inference/ folder with uv run --project evaluation --package magnitude-bench magnitude-bench run --mode prose-repeat --model qwen3.6-35b-a3b:gguf:q4 --context 64k --engine magnitude --passes 2 --fresh-tuning, then swap --engine to ollama-mlx or ollama-registry.

Supported Models and Download Sizes

The official recommended list on magnitude.dev/models (the “from” size is the smallest quant offered):

Model Params (total / active) Context From
DeepSeek V4.1 Flash 552B / 16B 1M 259 GB
GLM-5.3 Flash 321B / 18B 1M 103 GB
Qwen3.8 Flash Next 180B / 6B 256K 70.1 GB
Nemotron 3.5 Super VL 120B / 12B 1M 60.9 GB
Nemotron 3.5 Bolt 74B-A9B (for 24 GB machines) 74B / 9B 256K 24.8 GB
Muse Glimmer 30B 30B dense 128K 19.6 GB
Qwen3.6 35B-A3B 35B / 3B 256K 13.9 GB
Qwen3.8 27B 27B dense 256K 12.2 GB
Gemma 4 12B (QAT) 12B dense 256K 7.1 GB
Nemotron 3.5 Bolt E4B (for 8 GB machines) 7.5B dense 64K 6.9 GB
Qwen3.5 4B 4B dense 256K 4.4 GB
Liquid LFM3 1.7B (Q4 QAT) 1.7B dense 256K 1.0 GB

It is a GGUF engine. Any GGUF from these families works, including fine-tunes, and it can read files you already have in Hugging Face, LM Studio, Ollama and llama.cpp folders, so you do not need to re-download.

Hardware: What Actually Matters

Magnitude says there is “no fixed minimum”. It runs on Apple Silicon, NVIDIA, AMD, Intel GPUs or CPU only, across macOS, Windows and Linux. For SSD streaming, these three things decide your speed:

  • System RAM: the bigger the RAM cache, the fewer SSD reads. 64 GB is the sweet spot for 66-102 GB files; 128 GB for the 249 GB DeepSeek file.
  • SSD: NVMe only. PCIe 4.0 or 5.0 drives in the benchmarks; a PCIe 3.0 drive roughly halves decode. Keep free space equal to the full model size.
  • VRAM: 12 GB works, 24-32 GB is where it gets comfortable for the big MoE models.

Warning: streaming means a lot of reads, not writes, so SSD wear is not the main worry. Heat is: a small M.2 drive without a heatsink can throttle during long sessions and your tok/s will slowly drop.

Not sure what your card can hold? Our how much VRAM do I need for AI guide and the best GPU for local LLMs roundup explain the maths.

How to Install Magnitude

  1. Install the app or CLI. On macOS or Linux run curl -fsSL https://magnitude.dev/install.sh | sh. On Windows open PowerShell and run irm https://magnitude.dev/install.ps1 | iex. Installers are also on magnitude.dev/download (dmg, Windows x64 exe, Linux deb/rpm/pkg.tar.zst, Linux ARM64).
  2. Open Discover. Pick a recommendation. Start with the Balanced preset; it matches a model to your measured hardware.
  3. Click Download. Kernel tuning runs once after download and can take about a minute.
  4. Open Connections. Click Connect next to your agent (Claude Code, Codex, OpenCode, Cline, Pi, Hermes, OpenClaw or Oh My Pi).
  5. Keep Magnitude running. It loads models on demand when an agent sends a request.

On Linux servers there is also an official Docker image, magnitudedev/magnitude, for x64 and ARM64 (NVIDIA through the Container Toolkit, AMD and Intel through Vulkan). Metal GPUs do not work inside containers.

Tip: piping a script into your shell runs it with your rights. If you prefer, download the installer from the GitHub releases page and check it first.

CLI Commands You Will Use

All commands start with magnitude. These come straight from the CLI reference:

Task Command
Run headless (no desktop) magnitude serve
Check status magnitude status
Show detected hardware magnitude hardware
Get model suggestions magnitude catalog recommendations --preference balanced --limit 10
List / inspect models magnitude catalog list and magnitude catalog show <model-id>
Download a model magnitude catalog pull <model-id>
Load / stop a model magnitude models load <model-id> and magnitude models stop
Delete a model magnitude catalog remove <model-id>
Connect an agent magnitude connections connect claude-code --set-model <model-id>
Update magnitude update check then magnitude update install
Serve other machines (Linux/macOS) magnitude server setup

Preferences go from fastest through faster, balanced, smarter to smartest. Only one desktop app or serve process can run per user account.

Settings live in ~/.magnitude/config.json (%USERPROFILE%\.magnitude\config.json on Windows). Useful keys are modelsDirectory to move models to a bigger drive, network.enabled with network.apiKey for LAN access, and contextLimits.softCapRatio (default 0.9) for when agents compact context.

Use the Local API (OpenAI and Anthropic Format)

Magnitude listens on port 10100. The documented endpoints:

  • GET /health and GET /inference/v1/models
  • POST /inference/v1/chat/completions (OpenAI Chat Completions)
  • POST /inference/v1/responses (OpenAI Responses)
  • POST /inference/anthropic/v1/messages (Anthropic Messages; max_tokens is required)

A quick test from the docs (swap MODEL_ID for an ID from /inference/v1/models):

curl http://127.0.0.1:10100/inference/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{ "model": "MODEL_ID", "messages": [{"role": "user", "content": "Explain prompt caching in one paragraph."}], "max_tokens": 256 }'

Add "stream": true and curl -N for streaming. Any app that lets you set an OpenAI base URL, such as Open WebUI or LangChain, can point at http://127.0.0.1:10100/inference/v1.

Connect Claude Code, Codex and Other Agents

For Claude Code, click Connections, Claude Code, Connect, then run the command it gives you, which looks like:

claude --model anthropic-local/MODEL_ID

Connect writes to ~/.claude/settings.json. If you are not signed in to Claude Code, it adds a placeholder credential and every request, subagents included, goes to the local model. To use a Magnitude box on another machine, set ANTHROPIC_BASE_URL to http://ADDRESS:10100/inference/anthropic/proxies/claude-code and ANTHROPIC_AUTH_TOKEN to your Magnitude API key.

Note: a local 2-bit model will not match Claude’s real models on hard coding tasks. It is great for cheap, private, offline work. See our Claude Code Router guide if you want to mix local and cloud models.

Codex, OpenCode, Cline, Pi, Hermes, OpenClaw and Oh My Pi get the same one-click Connect. Anything else can use the OpenAI-compatible endpoint above.

Magnitude vs llama.cpp Offload vs Ollama vs LM Studio

Feature Magnitude llama.cpp Ollama LM Studio
Licence Apache 2.0 MIT MIT Free app, closed source
Bigger-than-RAM models Yes, GPU + RAM + SSD tiers with expert prefetch Partly, via mmap and --n-cpu-moe (OS page cache) Partly, CPU offload Partly, GPU offload slider
Kernel tuning per machine Yes, on download No (build flags) No No
Speculative decoding Drafters shipped per model Yes, manual setup Yes Yes
APIs OpenAI + Anthropic OpenAI (llama-server) Own + OpenAI + Anthropic OpenAI-compatible + own REST
One-click agent connect 8 agents No Some (ollama launch) No
Best for Huge MoE models on modest GPUs Full control, newest model support Simplest model library Friendly GUI

If you already tuned llama.cpp for a big MoE, Magnitude is worth a side-by-side test before switching. Our Qwen3.8-Flash-Next llama.cpp guide and DeepSeek V4.1 Flash local guide show the classic offload setup, and LM Studio vs Ollama covers the GUI options.

Limits, Licence and What Is Unknown

  • Vendor benchmarks only: every speed number above is from Magnitude. No independent reproduction has been published yet.
  • 2-bit quality: the bigger-than-memory results rely on Q2_0 and IQ2_XXS files. Expect some quality loss compared with 4-bit or 8-bit, and Magnitude does not score it.
  • Decode-only view: the tables do not measure time to first token or full agent-loop latency, which matter a lot for coding agents with long prompts.
  • Licence: the engine is Apache 2.0, but each model keeps its own licence (for example DeepSeek, Qwen, Gemma and Nemotron terms). Check before commercial use.
  • Privacy: the FAQ says prompts, files and models stay local and no internet is needed after download.
  • Unknown: the exact release date of the SSD streaming feature and the internals of the expert cache, since the README section on it was not public in full when we checked.

Troubleshooting and Known Issues

These come from open issues on the GitHub tracker (late November 2026):

  • Very slow decode on Mac (5-9 tok/s instead of ~60): issue #238 reports Qwen3.8 Flash Next on an M4 Max with the GPU only ~21% busy. Check you are on the latest version and that the model is not swapping; watch the issue for a fix.
  • Crash 0xC0000005 on Windows AMD (RDNA3, Vulkan): issue #257 on a Radeon W7800 loading Qwen3.8 27B. Try a smaller model or a different quant until patched.
  • “sampling distribution is nonfinite” on RX 7900 XT: issue #201, also Vulkan on Windows. Linux or a different model may avoid it.
  • First-load tuning killed on Intel Lunar Lake laptops: issue #206 (out of memory during Vulkan kernel tuning). Close other apps and pick a smaller model.
  • Intel Arc pipeline creation fails: issue #159. CPU mode is the fallback.
  • context_length_exceeded errors: since 0.2.17 the model is served at the largest context that fits your memory (32K up to full). Free memory or choose a smaller quant for longer context.
  • Kernel analysis repeats every load: caching it is an open feature request (#254), so the first load of each session is slower.

For general GPU problems, our CUDA out of memory fix guide still applies.

My Take

This is the most interesting local-AI tool of the month for people like me with 16 GB cards and lots of RAM. Running a 180B MoE at 40+ tok/s on a five-year-old RTX 3090 would have sounded silly a year ago.

I would treat the numbers as a best case, though. They use 2-bit files, decode-only timing and the vendor’s own harness. The Ollama comparison is more useful because it uses normal 4-bit models, and a 2x decode gain there is worth testing on your own machine.

On a 2x RTX 5080 rig with 128 GB RAM, I would try Qwen3.8 Flash Next and GLM-5.3 Flash first, keep llama.cpp installed as a fallback, and wait for independent benchmarks before moving a daily coding workflow over.

FAQ

Is Magnitude free?

Yes. The engine is open source under Apache 2.0 and there is no paid tier or token cost.

Can Magnitude really run a model bigger than my RAM?

Yes, for mixture-of-experts models. It streams rarely used experts from your NVMe SSD, but speed depends heavily on RAM size and SSD bandwidth.

Does it work on Windows?

Yes. There is a Windows x64 installer and a PowerShell install command. Server mode for other machines is Linux and macOS only.

Is Magnitude faster than Ollama?

Magnitude reports about 2.2x faster decode on average across 11 models on Mac and DGX Spark, but it was slower on a few models. These are vendor numbers.

Can I use my existing Ollama or LM Studio models?

Yes. It reads GGUF files from Hugging Face, LM Studio, Ollama and llama.cpp folders.

Does Magnitude support AMD and Intel GPUs?

Yes, through Vulkan, but several AMD and Intel Arc bugs are open on GitHub. NVIDIA and Apple Silicon are the smoothest today.

Which port does the API use?

Port 10100 on localhost, with OpenAI-style paths under /inference/v1 and Anthropic-style paths under /inference/anthropic/v1.

Will SSD streaming wear out my drive?

It mostly reads, and reads do not wear NAND like writes do. Drive heat and throttling are the bigger practical issue.

Sources

  • Magnitude GitHub repository: github.com/magnitudedev/magnitude (README, licence, install commands, issues #159, #201, #206, #238, #254, #257)
  • Magnitude GitHub releases: CLI 0.2.14 to 0.2.17 release notes (29 Oct to 8 Nov 2026)
  • Magnitude benchmarks page: magnitude.dev/benchmarks (SSD tables, Ollama comparison, reproduce command)
  • Magnitude models page: magnitude.dev/models
  • Magnitude docs: docs.magnitude.dev (quick start, CLI reference, API endpoints, Claude Code integration, configuration file)
  • The Neuron, “Magnitude uses your SSD to run AI models bigger than your memory”, 25 November 2026
Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Woman in a glass-walled office holding a tablet with a MAGNITUDE card, hook 66 GB model on a 24 GB GPU