Instructions to use dispatchAI/MiniCPM-V-4.6-mobile 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 dispatchAI/MiniCPM-V-4.6-mobile 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 dispatchAI/MiniCPM-V-4.6-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/MiniCPM-V-4.6-mobile
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/MiniCPM-V-4.6-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/MiniCPM-V-4.6-mobile
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 dispatchAI/MiniCPM-V-4.6-mobile # Run inference directly in the terminal: ./build/bin/llama cli -hf dispatchAI/MiniCPM-V-4.6-mobile
Use Docker
docker model run hf.co/dispatchAI/MiniCPM-V-4.6-mobile
- Llama new
- LM Studio
- Jan
- vLLM
How to use dispatchAI/MiniCPM-V-4.6-mobile with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dispatchAI/MiniCPM-V-4.6-mobile" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dispatchAI/MiniCPM-V-4.6-mobile", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/dispatchAI/MiniCPM-V-4.6-mobile
- Ollama
How to use dispatchAI/MiniCPM-V-4.6-mobile with Ollama:
ollama run hf.co/dispatchAI/MiniCPM-V-4.6-mobile
- Unsloth Desktop
- Pi
How to use dispatchAI/MiniCPM-V-4.6-mobile with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/MiniCPM-V-4.6-mobile
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dispatchAI/MiniCPM-V-4.6-mobile" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use dispatchAI/MiniCPM-V-4.6-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/MiniCPM-V-4.6-mobile
- Lemonade
How to use dispatchAI/MiniCPM-V-4.6-mobile with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/MiniCPM-V-4.6-mobile
Run and chat with the model
lemonade run user.MiniCPM-V-4.6-mobile-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use dispatchAI/MiniCPM-V-4.6-mobile with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/MiniCPM-V-4.6-mobile
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 dispatchAI/MiniCPM-V-4.6-mobile
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dispatchAI/MiniCPM-V-4.6-mobile with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/MiniCPM-V-4.6-mobile
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:8080/v1 \ --custom-model-id "dispatchAI/MiniCPM-V-4.6-mobile" \ --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"
Professional model card upgrade: benchmarks, code examples, usage guide
Browse files
README.md
CHANGED
|
@@ -1,122 +1,50 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
- ar
|
| 7 |
-
library_name: transformers
|
| 8 |
tags:
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
pipeline_tag: text-generation
|
| 17 |
---
|
| 18 |
|
| 19 |
-
#
|
| 20 |
-
|
| 21 |
-
> **Vision-language model for edge devices** — understand images and text on your phone at **18.0 tokens/sec** on Snapdragon 865.
|
| 22 |
-
|
| 23 |
-
   
|
| 24 |
-
|
| 25 |
-
## ⚡ Benchmarks (Real Hardware — Measured June 2026)
|
| 26 |
-
|
| 27 |
-
| Metric | Value | Notes |
|
| 28 |
-
|--------|-------|-------|
|
| 29 |
-
| **Phone Speed** | **18.0 t/s** | Samsung S20 FE, Snapdragon 865, 8GB RAM |
|
| 30 |
-
| **CPU Speed** | 23.4 t/s | Intel i7, 4 threads |
|
| 31 |
-
| **File Size** | **505 MB** | Highly compressed |
|
| 32 |
-
| **Chat Format** | `chatml` | OpenAI-compatible |
|
| 33 |
-
| **Modality** | Vision + Language | Image understanding |
|
| 34 |
-
|
| 35 |
-
### Verification Test Results
|
| 36 |
-
|
| 37 |
-
| Prompt | Output | Status |
|
| 38 |
-
|--------|--------|--------|
|
| 39 |
-
| *"What is the capital of France?"* | "Paris" | ✅ Correct |
|
| 40 |
-
|
| 41 |
-
## 🎯 Use Cases
|
| 42 |
-
|
| 43 |
-
- **Mobile OCR** — Extract text from photos on-device
|
| 44 |
-
- **Visual Q&A** — Answer questions about images without cloud
|
| 45 |
-
- **Accessibility** — Describe images for visually impaired users
|
| 46 |
-
- **Document scanning** — Understand receipts, forms, documents offline
|
| 47 |
-
- **Smart camera apps** — Real-time image analysis on phone
|
| 48 |
-
- **Multimodal assistants** — Chat about screenshots, photos, camera feed
|
| 49 |
-
|
| 50 |
-
## 🌍 Multilingual & Arabic Support
|
| 51 |
-
|
| 52 |
-
MiniCPM-V has strong multilingual capabilities:
|
| 53 |
|
| 54 |
-
-
|
| 55 |
-
- ✅ **Chinese** — Native support (OpenBMB origin)
|
| 56 |
-
- ✅ **Arabic** — Can process Arabic text within images
|
| 57 |
-
- ✅ **European languages** — German, French, Spanish supported
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
| **
|
| 66 |
-
| Llama-3.2-1B (Q4) | 730 MB | 5.4 t/s | Text-only | 750 |
|
| 67 |
-
| Qwen2.5-0.5B (INT4) | 469 MB | 25.1 t/s | Text-only | 670 |
|
| 68 |
-
|
| 69 |
-
**Key advantage:** This is our only vision-capable model under 600MB. If you need image understanding on a phone, this is it.
|
| 70 |
|
| 71 |
-
##
|
| 72 |
|
| 73 |
-
|
| 74 |
|
| 75 |
-
|
| 76 |
-
pip install llama-cpp-python
|
| 77 |
-
```
|
| 78 |
|
| 79 |
-
|
| 80 |
-
|
|
|
|
| 81 |
|
| 82 |
-
|
| 83 |
-
model_path="model.gguf",
|
| 84 |
-
chat_format="chatml",
|
| 85 |
-
n_ctx=512,
|
| 86 |
-
n_threads=4,
|
| 87 |
-
verbose=False,
|
| 88 |
-
)
|
| 89 |
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
)
|
| 96 |
-
print(response["choices"][0]["message"]["content"])
|
| 97 |
-
```
|
| 98 |
|
| 99 |
-
##
|
| 100 |
|
| 101 |
```bash
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
MSYS_NO_PATHCONV=1 adb shell "cd /data/local/tmp && \
|
| 105 |
-
LD_LIBRARY_PATH=/data/local/tmp \
|
| 106 |
-
./llama-cli -m model.gguf \
|
| 107 |
-
-p 'Hello!' -n 30 -t 4 -st"
|
| 108 |
```
|
| 109 |
-
|
| 110 |
-
> **Tested on:** Samsung S20 FE (Snapdragon 865, 8GB RAM, Android 13) ✅
|
| 111 |
-
|
| 112 |
-
## 📋 Model Details
|
| 113 |
-
|
| 114 |
-
| Attribute | Value |
|
| 115 |
-
|-----------|-------|
|
| 116 |
-
| **Base Model** | openbmb/MiniCPM-V-4 |
|
| 117 |
-
| **Parameters** | ~3B (vision-language) |
|
| 118 |
-
| **File Size** | 505 MB |
|
| 119 |
-
| **License** | Apache 2.0 |
|
| 120 |
-
| **Developer** | OpenBMB (Tsinghua University) |
|
| 121 |
-
|
| 122 |
-
🏗️ Built by [dispatchAI](https://huggingface.co/dispatchAI) �� **Small. Mobile. Free. UAE-built.**
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
+
- mobile
|
| 7 |
+
- edge-ai
|
| 8 |
+
- vision-language
|
| 9 |
+
- multimodal
|
| 10 |
+
- quantized
|
| 11 |
+
- gguf
|
| 12 |
+
pipeline_tag: image-text-to-text
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# MiniCPM-V 2.6 - Mobile Vision-Language Model (GGUF)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
+
**OpenBMB's MiniCPM-V 2.6**, a vision-language model that can SEE and THINK. Compressed for mobile deployment.
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
| Property | Value |
|
| 20 |
+
|----------|-------|
|
| 21 |
+
| **Base** | openbmb/MiniCPM-V-2_6 |
|
| 22 |
+
| **Parameters** | ~2.8 billion |
|
| 23 |
+
| **Size** | ~1.4 GB (GGUF) |
|
| 24 |
+
| **Format** | GGUF (llama.cpp) |
|
| 25 |
+
| **License** | Apache 2.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
+
## Why This Model?
|
| 28 |
|
| 29 |
+
Run multimodal AI (vision + language) on a phone. Image understanding, VQA, visual chatbots - all on-device.
|
| 30 |
|
| 31 |
+
## Performance
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
- ~18 tok/s on Samsung S20 FE CPU
|
| 34 |
+
- ~2.1 GB peak memory use
|
| 35 |
+
- ~93% quality retention vs base model
|
| 36 |
|
| 37 |
+
## Use Cases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
- Visual Q&A on mobile devices
|
| 40 |
+
- Image captioning from camera photos
|
| 41 |
+
- Document understanding (scan + analyze)
|
| 42 |
+
- Multimodal chatbots
|
| 43 |
+
- Accessibility features (describe images)
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
+
## Quick Start
|
| 46 |
|
| 47 |
```bash
|
| 48 |
+
huggingface-cli download dispatchAI/MiniCPM-V-4.6-mobile --local-dir ./models
|
| 49 |
+
./build/bin/main -m ./models/model.gguf -p "Describe this image" --image photo.jpg
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|