Instructions to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini # Run inference directly in the terminal: llama cli -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini # Run inference directly in the terminal: llama cli -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini # Run inference directly in the terminal: ./build/bin/llama cli -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Use Docker
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
- Llama new
- LM Studio
- Jan
- vLLM
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MABA-Studios-AI/Affan-AI-Engine-3.2-Mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MABA-Studios-AI/Affan-AI-Engine-3.2-Mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
- Ollama
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with Ollama:
ollama run hf.co/MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
- Unsloth Desktop
- Pi
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "MABA-Studios-AI/Affan-AI-Engine-3.2-Mini" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with Docker Model Runner:
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
- Lemonade
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Run and chat with the model
lemonade run user.Affan-AI-Engine-3.2-Mini-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
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:9931/v1 hermes config set model.default MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use MABA-Studios-AI/Affan-AI-Engine-3.2-Mini with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MABA-Studios-AI/Affan-AI-Engine-3.2-Mini
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "MABA-Studios-AI/Affan-AI-Engine-3.2-Mini" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Use Docker
docker model run hf.co/MABA-Studios-AI/Affan-AI-Engine-3.2-MiniAffan AI Engine 3.2 Mini
An 8-billion-parameter model squeezed into about 1 GB.
Affan AI Engine 3.2 Mini is an 8.2B-parameter technical assistant compressed to 1-bit (Q1_0, ~1.125 bits per weight). The entire model is roughly 1.06 GB, small enough for instant on-device inference on modest hardware, yet built for serious work in software engineering and mathematics.
This is the newest release in the family, and it is the one we are most excited about. It shows how far careful compression can go: the capability of an 8B model in the footprint of a small download.
Why you'll like it
- 8B capability, ~1 GB size: runs where larger models simply can't load.
- Built for engineers: full-stack coding, systems design, debugging and algorithm analysis.
- Strong at maths: calculus, linear algebra, discrete maths and logic, with step-by-step working and LaTeX formulas.
- Direct and structured: concise answers with language-tagged code blocks and no filler.
- Tool-use ready: works well in agent and assistant setups.
- Three ready presets: Coding, Balanced and Creative sampling profiles built in.
- Responsible by design: declines harmful requests such as malware and weapon design, while still helping with defensive security and education.
Model details
| Developer | MABA Studios (Muhammad Affan Bin Adnan) |
| Model family | Affan AI Engine |
| Version | 3.2 Mini |
| Parameters | 8.2B |
| Architecture | Qwen3-style decoder (36 layers, 4096 hidden size, 32 attention heads, 8 KV heads) |
| Quantization | 1-bit Q1_0 (~1.125 bits per weight) |
| Context length | 8,192 tokens (YaRN-scaled rope) |
| Language | Latin-script languages (English and similar), code and mathematics |
| Format | GGUF, single file |
| License | Apache 2.0 |
Language note: this model is deliberately focused on Latin-script languages, code and maths. It is not intended for non-Latin human languages (for example Arabic, Chinese, Cyrillic or Devanagari).
Best for
- Writing, reviewing and debugging code
- Maths and technical problem solving
- Technical documentation and structured explanations
- Fast, private, offline assistants on everyday hardware
Sampling presets
| Preset | Temp | Top-p | Top-k | Repeat penalty |
|---|---|---|---|---|
| Coding | 0.2 | 0.90 | 20 | 1.0 |
| Balanced (default) | 0.5 | 0.85 | 20 | 1.0 |
| Creative | 0.85 | 0.95 | 40 | 1.05 |
Default max output: 4,096 tokens. Stop sequences: <|im_end|>, <|endoftext|>, <|im_start|>.
Files
| File | Size | Description |
|---|---|---|
Affan-AI-Engine-3.2-Mini.gguf |
~1.06 GB | 1-bit GGUF weights |
Run it
LM Studio β search for MABA-Studios-AI/Affan-AI-Engine-3.2-Mini, download, and chat. Thinking appears in LM Studio's reasoning box.
llama.cpp β use a recent build with Q1_0 support:
huggingface-cli download MABA-Studios-AI/Affan-AI-Engine-3.2-Mini Affan-AI-Engine-3.2-Mini.gguf --local-dir .
llama-cli -m Affan-AI-Engine-3.2-Mini.gguf -cnv
This model uses the 1-bit
Q1_0format. Make sure your runtime (llama.cpp, LM Studio, etc.) is up to date, otherwise older versions may fail to load it.
Limitations
- It is an extremely compressed (1-bit) model. Quality can differ from full-precision versions, and we have not published benchmark numbers, so test it on your own tasks.
- Like all language models it can produce incorrect or biased output. Verify anything important, especially code and calculations, before relying on it.
- Not intended for medical, legal or other high-stakes decisions without human review.
License
Released under the Apache License 2.0.
About MABA Studios
MABA Studios is an AI optimization and compression company. We make large AI models fit on low-end devices and everyday consumer hardware. Created by Muhammad Affan Bin Adnan. Explore the rest of the Affan AI Engine family on our organization page.
- Downloads last month
- 3,680
We're not able to determine the quantization variants.
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "MABA-Studios-AI/Affan-AI-Engine-3.2-Mini"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MABA-Studios-AI/Affan-AI-Engine-3.2-Mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'