Skip to main content
Back

MiniCPM-V 4.7

MiniCPM-V Multimodal Series

MiniCPM-V 4.7 is the newest generation of the MiniCPM-V series, offered in two sizes: the edge-friendly 1B and the sparse MoE 35B-A3B — the first MoE model in the series. It carries on the family's single-image, multi-image and video understanding, and focuses on answering one question: can an MoE model run smoothly on device? With the Lookahead Expert Scheduling (LES) expert prefetch scheduling proposed alongside MiniCPM-V 4.7, layer-wise fine-grained quantization and DSpark speculative decoding, the 35B-A3B becomes the first open-source MoE model that runs fluently on device without sacrificing performance, reaching 13+ tokens/s decoding on an iPhone 17 Pro Max.

On the vision side it keeps the intra-ViT early compression from LLaVA-UHD v4, compressing visual tokens inside the vision encoder itself, and supports mixed 4×/16× compression ratios so you can trade detail against cost per task. The models cover all three major mobile platforms — iOS, Android and HarmonyOS — with day-0 support for chip platforms including Rockchip, Houmo, Intel, AMD and Arm; on the inference side they are adapted to SGLang, vLLM, llama.cpp and Ollama, on the fine-tuning side to SWIFT and LLaMA-Factory, and for quantization they offer GGUF, BNB, AWQ and GPTQ plus the new FP8.

Model list​

CheckpointParametersLanguage backboneContext
MiniCPM-V-4.7-1B1.55 Bqwen3_5_text (dense)256K
MiniCPM-V-4.7-35B-A3B35.2 B total · ~3.5 B activatedqwen3_5_moe_text (256 experts, 8/token)256K

Both share the same SigLIP canvas M-RoPE vision tower (27 layers, patch 14, mixed 4×/16× compression) and both support single-image, multi-image and video understanding. The 1B targets on-device / low-resource use, the 35B-A3B targets high-throughput serving.

Key features​

  • Canvas M-RoPE: visual tokens are laid out on a 2D canvas, each carrying a (time, height, width) position, so slices of the same image keep their spatial relation and video frames keep their temporal order. This is the main change relative to MiniCPM-V 4.6.
  • Two sizes, one architecture family: the dense 1B and the 256-expert MoE 35B-A3B share the vision tower and processor.
  • Native transformers architecture: registered as MiniCPMV4_7ForConditionalGeneration, requiring transformers >= 5.18.0; the standard AutoProcessor + AutoModelForImageTextToText flow works, with no trust_remote_code needed.
  • Thinking is a request switch: unlike MiniCPM-V 4.6's separate -Thinking weights, MiniCPM-V 4.7 has only one checkpoint per size, and thinking is enabled through enable_thinking in chat_template_kwargs.

Quick start​

Bash
pip install "transformers[torch]>=5.18.0" torchvision
Python
import torch
from PIL import Image
from transformers import AutoProcessor, AutoModelForImageTextToText

model_path = "openbmb/MiniCPM-V-4.7-1B" # or "openbmb/MiniCPM-V-4.7-35B-A3B"

processor = AutoProcessor.from_pretrained(model_path)
model = AutoModelForImageTextToText.from_pretrained(
model_path,
dtype="auto",
device_map="auto",
).eval()

image = Image.open("example.jpg").convert("RGB")
messages = [{"role": "user", "content": [
{"type": "image", "image": image},
{"type": "text", "text": "Describe the image."},
]}]

inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True,
return_dict=True, return_tensors="pt",
).to(model.device)

out = model.generate(**inputs, max_new_tokens=256)
print(processor.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

Thinking mode​

The chat template enables the <think> block by default. To turn it off (recommended for ordinary Q&A):

Python
inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True,
return_dict=True, return_tensors="pt",
chat_template_kwargs={"enable_thinking": False},
).to(model.device)

Deployment​

FrameworkStatusEntry point
vLLMSupported upstream (PR #58674)vllm serve
SGLangVia the fork tc-mb/sglang (branch Support-MiniCPM-V4.7); not yet supported upstreamsglang.launch_server
llama.cppSupported upstream (PR #29416)llama-mtmd-cli / llama-server
OllamaModel code is ready; the runtime is waiting for its bundled llama.cpp to sync to #29416ollama create -f

See Deployment for the full install, launch and invocation steps for each framework.

Quantization​

Format1B35B-A3BRepo suffix
GGUF✅✅-gguf
BNB (int4)✅✅-int4
AWQ✅✅-AWQ
GPTQ✅✅-GPTQ
FP8—✅-FP8 (llm-compressor)
  • GGUF is the recommended general-purpose / CPU-Metal format.
  • The HF 4-bit weights for 35B-A3B (-AWQ / -GPTQ / -int4 / -FP8) are produced by tools that support fused experts (llm-compressor / GPTQModel); plain AutoAWQ / AutoGPTQ / bitsandbytes cannot quantize fused MoE expert parameters.

See Quantization for the conversion and quantization scripts.

Model repositories​

  • Base: MiniCPM-V-4.7-1B, MiniCPM-V-4.7-35B-A3B
  • Quantized: -gguf, -int4, -AWQ, -GPTQ (1B) · -gguf, -FP8, -INT4, -AWQ, -GPTQ, -int4 (35B-A3B)
  • Speculative decoding draft: MiniCPM-V-4.7-1B-DSpark, MiniCPM-V-4.7-35B-A3B-DSpark
TopicLink
Code repositoryOpenBMB/MiniCPM-V
Online demoMiniCPM-V 4.7 Demo
On-device apps and downloadsMiniCPM-V-Apps downloads
API accessAPI guide

Developer Showcase

View all →
MiniCPM-V MultimodalClosing Guard: Closing-Time ChecksAn old phone and local small models check for hazards at closing timeMiniCPM-V MultimodalZhaojian: Find Your ParcelSnap the parcel shelf and a local agent finds your packageMiniCPM-V MultimodalMiniCPM-OCR for HermesLets agents know which parts of a document not to trustMiniCPM-V MultimodalTrailSnap Photo AlbumA local AI photo album and travel log that organizes photos and tripsMiniCPM TextMiniCPM-V MultimodalPaperReview: Handwritten Essay GradingReads and grades handwritten English essays line by line on a MacMiniCPM-V MultimodalPRTS: Vision Assistant for the BlindOffline obstacle guidance and scene description on iPhoneMiniCPM-V Multimodalesp32-intake: Snap-to-Count CaloriesSnap a meal to log calories; a round screen shows what is left todayMiniCPM-V MultimodalLifeLog: A Life Review from PhotosReads ten years of photos locally and turns them into a life reviewMiniCPM-V MultimodalCamThink On-Site InspectionEdge cameras paired with a vision LLM for on-site inspectionMiniCPM-V MultimodalTraceCell Verification LedgerTraces OCR output cell by cell into a sign-off-ready ledgerMiniCPM-V MultimodalESP32 Cat Water CounterRecognizes which cat is drinking and counts its visits each dayMiniCPM TextMiniCPM-V MultimodalMiniCPM Agent Gateway: Edge-Cloud RoutingLocal MiniCPM classifies each request so sensitive data stays on-deviceMiniCPM TextMiniCPM-V MultimodalLost & Found Desk: Small-Model Item ReturnMiniCPM-V captions items, MiniCPM5 guides claims, staff confirm every handoffMiniCPM TextMiniCPM-V MultimodalVoxCPM SpeechCoreAI Model Zoo: MiniCPM on iPhoneCore AI builds of MiniCPM5 and MiniCPM-V 4.6 running natively on iPhone and MacMiniCPM TextMiniCPM-V MultimodalViva Mais: Local WhatsApp CRM CopilotA travel-agency copilot that turns WhatsApp chats into a local-first CRMMiniCPM-V MultimodalAranya: Seeing Plants, Telling Their StoriesLoRA-tuned MiniCPM-V 4.6 identifies plants and diagnoses their healthMiniCPM TextMiniCPM-V MultimodalWhen a Catgirl Learns to Think, on Your PhoneWas this model made for catgirls? An on-device deployment testMiniCPM TextMiniCPM-V MultimodalMaking a 1B Model a Good Math AgentTeXada’s on-device MiniCPM practice and lessonsMiniCPM-V MultimodalReconciliation Workbench: OCR Tie-OutMiniCPM-V reads financial reports; a deterministic engine catches OCR digit errors