MiniMax M3 - How to Run Locally
Run MiniMax M3 LLM locally on your own device!
MiniMax M3 is a new ~428B (23B active) open model for coding, agentic workflows, cowork tasks, and multimodal chat. The multimodal model has support for text, image, and video inputs, and a 1M context window. The unquantized bf16 weights are ~855GB and the 1-bit GGUF decreases this to just 128GB (-85%): MiniMax-M3 GGUF
The model performs on par with Gemini 3.1 Pro - scoring 59% on SWE-Bench Pro, 66% on Terminal-Bench 2.1, 34.8% on SWE-fficiency, and 28.8% on KernelBench Hard. Thanks MiniMax for day zero access.
You can now run MiniMax M3 directly in Unsloth Studio. Example of 5-bit MiniMax M3 running locally on a single M3 Ultra 512GB via Unsloth Studio:
MiniMax-M3 GGUFs are currently experimental. MiniMax-M3 itself is native multimodal, but the current experimental GGUF is text-only and does not support MiniMax Sparse Attention.

⚙️ Usage Guide
The smallest GGUF quant, UD-IQ1_M, uses 128GB of disk space. Because the file size does not include KV cache, context allocation, try to have at least 133GB RAM to run the model. It's recommended to use UD-IQ3_XXS which is 159GB for best results.
The 4-bit UD-IQ4_XS quant is 208GB, while UD-Q4_K_XL is 265GB. These are better suited to 256GB+ or 512GB-class systems, multi-GPU servers, or systems with CPU RAM plus GPU offload.
Table: Inference hardware requirements (units = total memory: RAM + VRAM, or unified memory)
133 GB
148 GB
164-200 GB
213-270 GB
325 GB
460-470 GB
For best performance, make sure your total available memory, including VRAM and system RAM, exceeds the quantized model file size by a comfortable margin.
Recommended Settings
MiniMax recommends the following parameters for best performance: temperature=1.0, top_p=0.95, top_k=40.
temperature = 1.0
top_p = 0.95
top_k = 40
Maximum context window:
1,048,576Default system prompt:
You are a helpful assistant. Your name is MiniMax-M3 and was built by MiniMax.Run MiniMax-M3 Tutorials:
For this tutorial, we will use the smallest current quant, UD-IQ1_M, because MiniMax-M3 is large. Replace UD-IQ1_M with UD-IQ4_XS, UD-Q4_K_XL, or another quant if your machine has enough memory. You can now run MiniMax-M3 in Unsloth Studio.
🦥 Unsloth Studio Guide🦙 Llama.cpp Guide
🦥 Unsloth Studio Guide
You can now run MiniMax M3 via Unsloth Studio ✨. Ensure you use v0.1.463-beta or 2026.6.6.
MiniMax M3 can now be run and trained in Unsloth Studio, our new open-source web UI for local AI. Unsloth Studio lets you run models locally on MacOS, Windows, Linux and:
Search, download, run GGUFs and safetensor models
Self-healing tool calling + web search
Code execution (Python, Bash)
Automatic inference parameter tuning (temp, top-p, etc.)
Fast CPU + GPU inference via llama.cpp
Train LLMs 2x faster with 70% less VRAM

Install Unsloth
Ensure you use the latest v0.1.463-beta or 2026.6.6. Run in your terminal:
MacOS, Linux, WSL:
Windows PowerShell:
Search and download MiniMax M3
On first launch you will need to create a password to secure your account and sign in again.
Then go to the Studio Chat tab and search for MiniMax M3 in the search bar and download your desired model and quant.

Run MiniMax M3
Inference parameters should be auto-set when using Unsloth Studio, however you can still change it manually. You can also edit the context length, chat template and other settings.
For more information, you can view our Unsloth Studio inference guide.

🦙 Llama.cpp Guide
Obtain the SPECIFIC llama.cpp PR on GitHub here. You can follow the build instructions below as well. Change -DGGML_CUDA=ON to -DGGML_CUDA=OFF if you don't have a GPU or just want CPU inference. For Apple Mac / Metal devices, set -DGGML_CUDA=OFF then continue as usual - Metal support is on by default.
You can now use llama.cpp directly to load and download models, just like ollama run. First, select the quantization type you want like Q2_K_XL. Also use export LLAMA_CACHE="folder" to force llama.cpp to save to a specific location. Note this download process might be very slow, so it's probably best to use the manual download process in the next section.
Note: MiniMax Sparse Attention is not supported yet, so inference falls back to dense attention.
If you want to download the model manually, we can download the model via the code below (after installing pip install huggingface_hub). If downloads get stuck, see: Hugging Face Hub, XET debugging
You can edit --threads 32 for the number of CPU threads, --ctx-size 32768 for context length, --n-gpu-layers 2 for GPU offloading on how many layers. Try adjusting it if your GPU goes out of memory. Also remove it if you have CPU only inference. Remember MSA is not yet supported, so keep --ctx-size modest - dense attention at very long contexts will use a lot of memory.
📊 Benchmarks


Last updated
Was this helpful?

