Instructions to use oracleLike/MiniMax-M2.7-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use oracleLike/MiniMax-M2.7-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="oracleLike/MiniMax-M2.7-GGUF", filename="BF16/MiniMax-M2.7-BF16-00001-of-00010.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 oracleLike/MiniMax-M2.7-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M # Run inference directly in the terminal: llama-cli -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M # Run inference directly in the terminal: llama-cli -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
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 oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
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 oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
Use Docker
docker model run hf.co/oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
- LM Studio
- Jan
- vLLM
How to use oracleLike/MiniMax-M2.7-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "oracleLike/MiniMax-M2.7-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": "oracleLike/MiniMax-M2.7-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
- Ollama
How to use oracleLike/MiniMax-M2.7-GGUF with Ollama:
ollama run hf.co/oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
- Unsloth Studio new
How to use oracleLike/MiniMax-M2.7-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 oracleLike/MiniMax-M2.7-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 oracleLike/MiniMax-M2.7-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for oracleLike/MiniMax-M2.7-GGUF to start chatting
- Pi new
How to use oracleLike/MiniMax-M2.7-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
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": "oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use oracleLike/MiniMax-M2.7-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 oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
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 oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use oracleLike/MiniMax-M2.7-GGUF with Docker Model Runner:
docker model run hf.co/oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
- Lemonade
How to use oracleLike/MiniMax-M2.7-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull oracleLike/MiniMax-M2.7-GGUF:UD-Q4_K_M
Run and chat with the model
lemonade run user.MiniMax-M2.7-GGUF-UD-Q4_K_M
List all available models
lemonade list
See how to run MiniMax-M2.7 locally - Read our Guide!
Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.
You can follow instructions in our guide here.
Do NOT use CUDA 13.2 to run GGUFs.
MiniMax-M2.7 is our first model deeply participating in its own evolution. M2.7 is capable of building complex agent harnesses and completing highly elaborate productivity tasks, leveraging Agent Teams, complex Skills, and dynamic tool search. For more details, see our blog post.
Model Self-Evolution
M2.7 initiates a cycle of model self-evolution: during development, we let the model update its own memory, build dozens of complex skills for RL experiments, and improve its own learning process based on experiment results. An internal version of M2.7 autonomously optimized a programming scaffold over 100+ rounds β analyzing failure trajectories, modifying code, running evaluations, and deciding to keep or revert β achieving a 30% performance improvement. On MLE Bench Lite (22 ML competitions), M2.7 achieved a 66.6% medal rate, second only to Opus-4.6 and GPT-5.4.
Professional Software Engineering
M2.7 delivers outstanding real-world programming capabilities spanning log analysis, bug troubleshooting, refactoring, code security, and machine learning. Beyond code generation, M2.7 demonstrates strong system-level reasoning β correlating monitoring metrics, conducting trace analysis, verifying root causes in databases, and making SRE-level decisions. Using M2.7, we have reduced live production incident recovery time to under three minutes on multiple occasions.
On SWE-Pro, M2.7 achieved 56.22%, matching GPT-5.3-Codex, with even stronger performance on real-world engineering benchmarks: SWE Multilingual (76.5) and Multi SWE Bench (52.7). On VIBE-Pro (55.6%), M2.7 is nearly on par with Opus 4.6. On Terminal Bench 2 (57.0%) and NL2Repo (39.8%), M2.7 demonstrates deep understanding of complex engineering systems. M2.7 also supports native Agent Teams for multi-agent collaboration with stable role identity and autonomous decision-making.
Professional Work
M2.7 achieved an ELO score of 1495 on GDPval-AA (highest among open-source models), surpassing GPT5.3. It handles Word, Excel, and PPT with high-fidelity multi-round editing, producing editable deliverables. On Toolathon, M2.7 reached 46.3% accuracy (global top tier), and maintains 97% skill compliance across 40+ complex skills on MM Claw. On the MM Claw end-to-end benchmark, M2.7 achieved 62.7%, close to Sonnet 4.6.
Entertainment
M2.7 features strengthened character consistency and emotional intelligence. We open-sourced OpenRoom, an interactive demo that places AI interaction within a Web GUI space with real-time visual feedback and scene interactions. Try it at openroom.ai.
How to Use
- MiniMax Agent: https://agent.minimax.io/
- MiniMax API: https://platform.minimax.io/
- Token Plan: https://platform.minimax.io/subscribe/token-plan
Local Deployment Guide
Download the model from HuggingFace repository: https://huggingface.co/MiniMaxAI/MiniMax-M2.7
We recommend using the following inference frameworks (listed alphabetically) to serve the model:
Transformers
We recommend using Transformers to serve MiniMax-M2.7. Please refer to our Transformers Deployment Guide.
ModelScope
You also can get model weights from modelscope.
Inference Parameters
We recommend using the following parameters for best performance: temperature=1.0, top_p = 0.95, top_k = 40. Default system prompt:
You are a helpful assistant. Your name is MiniMax-M2.7 and is built by MiniMax.
Tool Calling Guide
Please refer to our Tool Calling Guide.
Contact Us
Contact us at model@minimax.io.
- Downloads last month
- 168
1-bit
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for oracleLike/MiniMax-M2.7-GGUF
Base model
MiniMaxAI/MiniMax-M2.7
