Instructions to use ox-ox/MiniMax-M2.5-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use ox-ox/MiniMax-M2.5-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ox-ox/MiniMax-M2.5-GGUF", filename="minimax-m2.5-Q3_K_L.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use ox-ox/MiniMax-M2.5-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L # Run inference directly in the terminal: llama-cli -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L # Run inference directly in the terminal: llama-cli -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L # Run inference directly in the terminal: ./llama-cli -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L # Run inference directly in the terminal: ./build/bin/llama-cli -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Use Docker
docker model run hf.co/ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
- LM Studio
- Jan
- vLLM
How to use ox-ox/MiniMax-M2.5-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ox-ox/MiniMax-M2.5-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ox-ox/MiniMax-M2.5-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
- Ollama
How to use ox-ox/MiniMax-M2.5-GGUF with Ollama:
ollama run hf.co/ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
- Unsloth Studio new
How to use ox-ox/MiniMax-M2.5-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ox-ox/MiniMax-M2.5-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ox-ox/MiniMax-M2.5-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ox-ox/MiniMax-M2.5-GGUF to start chatting
- Pi new
How to use ox-ox/MiniMax-M2.5-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ox-ox/MiniMax-M2.5-GGUF:Q3_K_L" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use ox-ox/MiniMax-M2.5-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Run Hermes
hermes
- Docker Model Runner
How to use ox-ox/MiniMax-M2.5-GGUF with Docker Model Runner:
docker model run hf.co/ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
- Lemonade
How to use ox-ox/MiniMax-M2.5-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ox-ox/MiniMax-M2.5-GGUF:Q3_K_L
Run and chat with the model
lemonade run user.MiniMax-M2.5-GGUF-Q3_K_L
List all available models
lemonade list
MiniMax-M2.5-GGUF (230B MoE)
High-precision GGUF quants of the MiniMax-M2.5 (230B parameters) Mixture of Experts model. These versions are specifically optimized for local inference on high-RAM setups, particularly Apple Silicon (M3 Max/Ultra).
π¬ Perplexity Validation (WikiText-2):
Final PPL: 8.2213 +/- 0.09
Context: 4096 / 32 chunks
Outcome: The Q3_K_L quantization maintains high logical coherence while boosting speed to 28.7 t/s. Minimal degradation for a ~20GB size reduction vs Q4.
π Available Quants
| File Name | Method | Size | Use Case |
|---|---|---|---|
minimax-m2.5-Q4_K_M.gguf |
Q4_K_M | 138 GB | Highest logic preservation. Requires >128GB RAM or SSD swap. |
minimax-m2.5-Q3_K_L.gguf |
Q3_K_L | ~110 GB | Sweet spot for 128GB Macs. Runs natively in RAM with high t/s ( 28 ON MAC M3 MAX ). |
π Model Details
- Architecture: MiniMax-M2 (Mixture of Experts) with 256 experts (8 active per token).
- Parameters: ~230B total.
- Quantization Process: Unlike automated scripts, these quants were generated from a full F16 GGUF Master (457GB) to minimize accumulation of errors during the K-Quant process.
- Context Window: Up to 196k tokens (Native support).
- Chat Template: Includes the official Jinja template for proper handling of interleaved
<think>tags, separating reasoning from the final response.
π» Usage
Requires llama.cpp build 8022 or higher.
Command Line Example:
./llama-cli -m minimax-m2.5-Q3_K_L.gguf -n -1 \\
-c 262000 \\
-ngl 99 -fa on -ctk q4_0 -ctv q4_0 -b 2048 -ub 1024 --port 8080 --jinja --verbose -sm none --draft 16 -ncmoe 0 --cache-reuse 1024 --draft-p-min 0.5
- Downloads last month
- 81
3-bit
4-bit
Model tree for ox-ox/MiniMax-M2.5-GGUF
Base model
MiniMaxAI/MiniMax-M2.5