AI Card Bao API.AICARDBAO.COM
Home / 开源 / Magnitude
AI TOOL / #12807

Magnitude

An open-source local inference engine that distributes model processing across GPUs, memory, and SSDs, enabling large models to run on ordinary Mac/PC computers.

Introduction

Run powerful open models on the hardware you already own

Magnitude is an open source inference engine that spreads models across your GPU, RAM, and SSD so they run on everyday Macs and PCs. It works on Apple Silicon, NVIDIA, AMD, Intel, or just a CPU. One click connects it to the agent you already use (Pi, OpenCode, Hermes, Codex, and more).

⭐ Help us reach more developers and grow the Magnitude community. Star this repo!

Get started

Download the installer:

Setting up a server? Install the CLI only:

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

For more info, see CLI only. For Docker container installs, see Docker.

Why Magnitude?

  • Use your whole machine: streams experts from RAM and SSD, not just your GPU
  • Tuned to your chip: compiles and optimizes kernels per model on your exact hardware
  • Works out of the box: configures itself for your machine, no flags or manual tuning
  • Built for concurrent agents: flexing KV memory and shared prefix caches
  • Works with your agent: one click connects Pi, OpenCode, Hermes, Codex, and more
  • Free, private, open source: no token costs, nothing leaves your machine, Apache 2.0

How it runs on everyday hardware

View full benchmarks →

FAQ

How does it run models bigger than my memory?

Most large open models today are ultra sparse MoEs: they are split into hundreds of small parts called experts, and only ~5% activate for each token. Magnitude spreads the model into tiers (GPU VRAM holds the shared layers and most used experts, system RAM holds the next tier of frequently used experts, and your NVMe SSD holds the rest). On every token, Magnitude predicts and prefetches upcoming experts up from SSD to RAM to VRAM before the GPU needs them.

Why is it faster than other local engines?

Other engines ship one-size-fits-all kernels, because tuning each model for each chip by hand would take forever. Magnitude tunes kernels automatically on your actual chip when you download a model, pairs each model with its best speculative decoding drafter, and predicts and prefetches streamed experts off RAM and SSD ahead of time. See the full benchmarks.

What hardware do I need?

Any Apple Silicon, NVIDIA, AMD, or Intel GPU, or nothing but a CPU, on macOS, Linux, or Windows (desktop app, headless CLI, or Docker). VRAM needs to fit at least the active experts for a model; beyond that, the more experts you can cache in VRAM and RAM the faster it runs, and a faster NVMe SSD (like PCIe 5.0) speeds up anything that spills to disk. Magnitude profiles your machine and recommends the best models before you download anything.

Which models can I run?

Any GGUF model from Hugging Face in a supported family, including fine-tunes and other people's quants. We write optimized kernels for each of the most popular open-weight families, including sparse MoE models that stream from RAM and SSD. See the families and the models we recommend at magnitude.dev/models.

Which agents work with it?

One click connects Pi, OpenCode, Hermes, OpenClaw, Codex, Claude Code, Oh My Pi, and Cline. Anything else works through the OpenAI-compatible API.

Will streaming wear out my SSD or slow down my computer?

No. Streaming model weights from your SSD is strictly read-only, so it causes zero flash wear. Magnitude also uses direct uncached reads instead of OS disk swap, and dynamically shrinks KV memory when sessions go idle so your computer stays responsive.

Is it free and private?

Yes. Magnitude is 100% free and open source under Apache 2.0. Prompts, files, and models stay on your machine, with no token costs, API keys, or internet connection needed once a model is downloaded.

Visits:7 Updated:2026-12-03 AI tools

Related

The Resource Treasure House of Bu Yi Yun Chuang Focusing on online entrepreneurship projects, self-media platforms, monetization strategies via platforms like Douyin and Kuaishou, virtual resources, and marketing software. CaiXun Assistant It provides real-time aggregated analysis of global financial news. The website also offers various financial calendar tools, enabling users to keep track of the latest developments of listed companies in real time. Collection of Short Stories “Xiaoshigupu” features a collection of short stories such as bedtime tales, children’s stories, folk tales, fables, idiom-based narratives, and horror stories. It allows for quick searches by title, summary, or category. Mici Academic To search for English literature, simply use Miciacao. We are dedicated to simplifying the process of obtaining English research papers and improving the efficiency of this task. With the help of AI technology, we assist researchers in discovering, interpreting, and studying over 300 million English-language scholarly articles. [Original] Video Tutorial on Regular Expressions This includes high-definition 4K video resources for the course, as well as organized source code, course notes in the form of mind maps, and related design drafts. Elo Dictionary “Eurol Dictionary” – an authoritative English dictionary app, an essential tool for anyone learning English. It offers real-person pronunciations of words, English translations, the ability to search for words across different apps, article editing services, grammar error corrections, word selection and searching functions, an expanded English vocabulary, tools for memorizing English words, English listening materials, and access to real-time English radio programs.