Open-weight model
MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS
by FlagRelease FlagRelease/MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS
MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS is an open-weight model from FlagRelease, released under Apache License 2.0. It has 1.6B parameters and a 262,144-token context. At 16-bit it needs about 3.7 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.
ModelBest, together with OpenBMB, has open-sourced MiniCPM-V4.7, a next-generation on-device multimodal large model, releasing two variants at once: 1B and 35B-A3B (MoE).
Runs On
What it takes to serve MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS (1.6B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 3.1 GB | 3.7 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 1.6 GB | 1.9 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 0.8 GB | 0.9 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 22, 2026.
MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS on every accelerator the SAVRN Index prices, at every precision
Model Card
By FlagRelease, published under apache-2.0, revision 6c38ad62ae42.
ModelBest, together with OpenBMB, has open-sourced MiniCPM-V4.7, a next-generation on-device multimodal large model, releasing two variants at once: 1B and 35B-A3B (MoE). Based on the FlagOS unified multi-chip software stack, the Zhongzhi FlagOS community completed day-0 cross-chip adaptation covering 12 platforms: T-Head, NVIDIA, Huawei Ascend, Hygon, Kunlunxin, MetaX, Moore Threads, Tsingmicro, Iluvatar CoreX, Sunrise, Mac (M5 Pro), and CIX P1. Model images are now available on ModelScope and HuggingFace simultaneously. This adaptation extends both model variants to ARM edge CPU platforms, enabling viable deployment of multimodal understanding on both data-center and end-user devices. The…
Read FlagRelease's full model card
Introduction
ModelBest, together with OpenBMB, has open-sourced MiniCPM-V4.7, a next-generation on-device multimodal large model, releasing two variants at once: 1B and 35B-A3B (MoE). Based on the FlagOS unified multi-chip software stack, the Zhongzhi FlagOS community completed day-0 cross-chip adaptation covering 12 platforms: T-Head, NVIDIA, Huawei Ascend, Hygon, Kunlunxin, MetaX, Moore Threads, Tsingmicro, Iluvatar CoreX, Sunrise, Mac (M5 Pro), and CIX P1. Model images are now available on ModelScope and HuggingFace simultaneously. This adaptation extends both model variants to ARM edge CPU platforms, enabling viable deployment of multimodal understanding on both data-center and end-user devices. The 1B version has an actual parameter count of approximately 1.3B. Despite its extremely small footprint, it delivers top-tier performance within its size class and performs strongly on tasks including general vision, OCR, chart reasoning, and video understanding, bringing multimodal capabilities to more everyday devices and usage scenarios. The model retains the early-compression-within-ViT technique and 4×/16× visual token compression, and supports DSpark speculative decoding to balance visual detail and inference efficiency. In official Instruct-mode evaluations, the 35B-A3B and 1B models achieved higher overall scores than Qwen3.6-35B-A3B and Qwen3.5-0.8B respectively, with shorter inference time.
Integrated Deployment
- Out-of-the-box inference scripts with pre-configured hardware and software parameters
- Released FlagOS-T-Head container image supporting deployment within minutes
Consistency Validation
- Rigorously evaluated through benchmark testing: Performance and results from the FlagOS software stack are compared against native stacks on multiple public.
Evaluation Results
Benchmark Result
| Metrics | MiniCPM-V-4.7-1B-Nvidia-Origin | MiniCPM-V-4.7-1B-T-Head-FlagOS |
|---|---|---|
| Math_500 | 71.20 | 71.60 |
| MMLU_Pro | 45.86 | 45.71 |
| # User Guide | ||
| Environment Setup |
| Item | Version |
|---|---|
| Docker Version | Docker version 29.7.2 |
| Operating System | 24.04.2 LTS |
Operation Steps
Download FlagOS Image
docker pull harbor.baai.ac.cn/flagrelease-public/minicpmv4.7-1b-pp001-gems5.3.5-tree0.6.2-cxnone-plugin0.3.0-vllm0.24.0-cp312-pt210-hggc130-x64-2.1.1-rbd225:202610151047
Download Open-source Model Weights
pip install modelscope
modelscope download --model FlagRelease/MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS --local_dir /data/MiniCPM-V-4.7-1B
Start the Container
sudo docker run --privileged -dit \
-e HOST_HOSTNAME=$(hostname) \
--network=host \
--device=/dev/infiniband \
--ipc=host \
--device=/dev/alixpu_ctl \
--device=/dev/alixpu \
--ulimit memlock=-1 \
--ulimit stack=67108864 \
--init \
-v /data:/data \
-v /mnt:/mnt \
-w /mnt/nfs/users/jinghao \
--name minicpmV4.7-1b \
harbor.baai.ac.cn/flagrelease-public/minicpmv4.7-1b-pp001-gems5.3.5-tree0.6.2-cxnone-plugin0.3.0-vllm0.24.0-cp312-pt210-hggc130-x64-2.1.1-rbd225:202610151047
docker exec -it minicpmV4.7-1b /bin/bash
Start the Server
export VLLM_FL_FLAGOS_BLACKLIST=nonzero_numpy,index,index_put_,_index_put_impl_,mm
vllm serve /data/MiniCPM-V-4.7-1B \
--host 0.0.0.0 --port 8000 \
--served-model-name minicpm-v-4.7-1b\
--trust-remote-code \
--enable-prefix-caching \
--compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE"}'
Service Invocation
Invocation Script
curl http://127.0.0.1:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"messages": [{"role": "user", "content": "请给我介绍一下GPQA"}],
"max_tokens": 128
}'
AnythingLLM Integration Guide
1. Download & Install
- Visit the official site: https://anythingllm.com/
- Choose the appropriate version for your OS (Windows/macOS/Linux)
- Follow the installation wizard to complete the setup
2. Configuration
- Launch AnythingLLM
- Open settings (bottom left, fourth tab)
- Configure core LLM parameters
- Click "Save Settings" to apply changes
3. Model Interaction
- After model loading is complete:
- Click "New Conversation"
- Enter your question (e.g., "Explain the basics of quantum computing")
- Click the send button to get a response
Technical Overview
FlagOS is a fully open-source system software stack designed to unify the "model–system–chip" layers and foster an open, collaborative ecosystem. It enables a "develop once, run anywhere" workflow across diverse AI accelerators, unlocking hardware performance, eliminating fragmentation among vendor-specific software stacks, and substantially lowering the cost of porting and maintaining AI workloads. With core technologies such as the FlagScale, together with vllm-plugin-fl, distributed training/inference framework, FlagGems universal operator library, FlagCX communication library, and FlagTree unified compiler, the FlagRelease platform leverages the FlagOS stack to automatically produce and release various combinations of . This enables efficient and automated model migration across diverse chips, opening a new chapter for large model deployment and application.
FlagGems
FlagGems is a high-performance, generic operator libraryimplemented in Triton language. It is built on a collection of backend-neutralkernels that aims to accelerate LLM (Large-Language Models) training and inference across diverse hardware platforms.
FlagTree
FlagTree is an open source, unified compiler for multipleAI chips project dedicated to developing a diverse ecosystem of AI chip compilers and related tooling platforms, thereby fostering and strengthening the upstream and downstream Triton ecosystem. Currently in its initial phase, the project aims to maintain compatibility with existing adaptation solutions while unifying the codebase to rapidly implement single-repository multi-backend support. Forupstream model users, it provides unified compilation capabilities across multiple backends; for downstream chip manufacturers, it offers examples of Triton ecosystem integration.
FlagScale and vllm-plugin-fl
Flagscale is a comprehensive toolkit designed to supportthe entire lifecycle of large models. It builds on the strengths of several prominent open-source projects, including Megatron-LM and vLLM, to provide a robust, end-to-end solution for managing and scaling large models. vllm-plugin-fl is a vLLM plugin built on the FlagOS unified multi-chip backend, to help flagscale support multi-chip on vllm framework.
FlagCX
FlagCX is a scalable and adaptive cross-chip communication library. It serves as a platform where developers, researchers, and AI engineers can collaborate on various projects, contribute to the development of cutting-edge AI solutions, and share their work with the global community.
FlagEval Evaluation Framework
FlagEval is a comprehensive evaluation system and open platform for large models launched in 2023. It aims to establish scientific, fair, and open benchmarks, methodologies, and tools to help researchers assess model and training algorithm performance. It features: - Multi-dimensional Evaluation: Supports 800+ modelevaluations across NLP, CV, Audio, and Multimodal fields,covering 20+ downstream tasks including language understanding and image-text generation. - Industry-Grade Use Cases: Has completed horizonta1 evaluations of mainstream large models, providing authoritative benchmarks for chip-model performance validation.
Contributing
We warmly welcome global developers to join us:
- Submit Issues to report problems
- Create Pull Requests to contribute code
- Improve technical documentation
- Expand hardware adaptation support
License
The model weights are derived from OpenBMB/MiniCPM-V-4.7-1B and are open‑sourced under the Apache License 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
Configuration
- Architecture
- MiniCPMV4_7ForConditionalGeneration
- Context length (tokens)
- 262,144
- Layers
- 24
- Hidden size
- 1,024
- Feed-forward size
- 3,584
- Attention heads
- 8
- Key/value heads
- 2
- Head dimension
- 256
- Vocabulary size
- 248,094
- Model type
- minicpmv4_7
Identity and Version
- Repository
- FlagRelease/MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS
- Publisher
- FlagRelease
- Task
- Not stated by the source
- Modality
- Other
- Library
- Not stated by the source
- Parameters
- 1.6B parameters
- Languages
- zh, en
- Revision
- 6c38ad62ae4275ab1b282fcf29c24729b8c34bca
- First published
- 2026-10-10
- Last updated
- 2026-10-15
Files and Weights
17 files, 3.1 GB in total. The weights are 1 file totalling 3.1 GB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model.safetensors | Weights | 3.1 GB | 8c4921ac8318 |
| config.json | Configuration | 2.8 KB | — |
| configuration_minicpmv4_7.py | Configuration | 6.6 KB | — |
| generation_config.json | Configuration | 132 B | — |
| image_processing_minicpmv4_7.py | Configuration | 11.8 KB | — |
| image_processing_pil_minicpmv4_7.py | Configuration | 10.7 KB | — |
| modeling_minicpmv4_7.py | Configuration | 48.7 KB | — |
| mrope_minicpmv4_7.py | Configuration | 27.2 KB | — |
| preprocessor_config.json | Configuration | 436 B | — |
| processing_minicpmv4_7.py | Configuration | 13.5 KB | — |
| processor_config.json | Configuration | 135 B | — |
| video_processing_minicpmv4_7.py | Configuration | 22.6 KB | — |
| README.md | Documentation | 8.5 KB | — |
| chat_template.jinja | Other | 7.2 KB | — |
| .gitattributes | Repository | 1.6 KB | — |
| tokenizer.json | Tokenizer | 20.0 MB | 33861e37bb95 |
| tokenizer_config.json | Tokenizer | 8.9 KB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 3.1 GB
Released by FlagRelease through its official repository on Hugging Face. Read the license.
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 3.1 GB |
| 16-bit | 3.1 GB |
| 8-bit | 1.6 GB |
| 4-bit | 0.8 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS
How much GPU memory does MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS need?
About 3.7 GB at 16-bit and 0.9 GB at 4-bit: the weights (1.6B parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS commercially?
Yes. MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is MiniCPM-V-4.7-1B-BF16-zhenwu-FlagOS's context length?
262,144 tokens, from the maximum position embeddings in its published configuration.