AXERA-TECH / MiniCPM4-0.5B

huggingface.co
Total runs: 35
24-hour runs: 0
7-day runs: 2
30-day runs: 3
Model's Last Updated: November 28 2025
text-generation

Introduction of MiniCPM4-0.5B

Model Details of MiniCPM4-0.5B

MiniCPM4-0.5B-Int8

This version of MiniCPM4-0.5B has been converted to run on the Axera NPU using w8a16 quantization.

This model has been optimized with the following LoRA:

Compatible with Pulsar2 version: 4.1(Not released yet)

Convert tools links:

For those who are interested in model conversion, you can try to export axmodel through the original repo : https://huggingface.co/openbmb/MiniCPM4-0.5B

Pulsar2 Link, How to Convert LLM from Huggingface to axmodel

AXera NPU LLM Runtime

Support Platform
Chips w8a16 w4a16
AX650 36 tokens/sec TBD
AX630C 12 tokens/sec TBD
How to use

Download all files from this repository to the device

root@ax650:/mnt/qtang/llm-test/minicpm4-0.5b-ctx# tree -L 1
.
|-- main_ax650
|-- main_axcl_aarch64
|-- main_axcl_x86
|-- minicpm4-0.5b-int8-ctx-ax650
|-- minicpm4_tokenizer
|-- minicpm4_tokenizer_uid.py
|-- post_config.json
|-- run_minicpm4_0.5b_int8_ctx_ax650.sh
`-- run_minicpm4_0.5b_int8_ctx_axcl_x86.sh
2 directories, 7 files
Start the Tokenizer service

Install requirement

pip install transformers jinja2
root@ax650:/mnt/qtang/llm-test/minicpm4-0.5b-ctx# python3 minicpm4_tokenizer_uid.py
Server running at http://0.0.0.0:12345
Inference with AX650 Host, such as M4N-Dock(爱芯派Pro) or AX650N DEMO Board

Open another terminal and run run_minicpm4_0.5b_int8_ctx_ax650.sh

root@ax650:/mnt/qtang/llm-test/minicpm4-0.5b-ctx# ./run_minicpm4_0.5b_int8_ctx_ax650.sh
[I][                            Init][ 110]: LLM init start
[I][                            Init][  34]: connect http://127.0.0.1:12345 ok
[I][                            Init][  57]: uid: c779ded0-ff14-4877-869b-1aacc948f2d8
bos_id: 1, eos_id: 73440
100% | ████████████████████████████████ |  27 /  27 [2.53s<2.53s, 10.67 count/s] init post axmodel ok,remain_cmm(4244 MB)
[I][                            Init][ 188]: max_token_len : 1023
[I][                            Init][ 193]: kv_cache_size : 128, kv_cache_num: 1023
[I][                            Init][ 201]: prefill_token_num : 128
[I][                            Init][ 205]: grp: 1, prefill_max_token_num : 1
[I][                            Init][ 205]: grp: 2, prefill_max_token_num : 128
[I][                            Init][ 205]: grp: 3, prefill_max_token_num : 512
[I][                            Init][ 209]: prefill_max_token_num : 512
[I][                     load_config][ 282]: load config:
{
    "enable_repetition_penalty": false,
    "enable_temperature": false,
    "enable_top_k_sampling": true,
    "enable_top_p_sampling": false,
    "penalty_window": 20,
    "repetition_penalty": 1.2,
    "temperature": 0.9,
    "top_k": 1,
    "top_p": 0.8
}

[I][                            Init][ 218]: LLM init ok
Type "q" to exit, Ctrl+c to stop current running
[I][          GenerateKVCachePrefill][ 271]: input token num : 25, prefill_split_num : 1 prefill_grpid : 2
[I][          GenerateKVCachePrefill][ 308]: input_num_token:25
[I][                            main][ 230]: precompute_len: 25
[I][                            main][ 231]: system_prompt: You are MiniCPM4, created by ModelBest. You are a helpful assistant.
prompt >> 你是谁?
[I][                      SetKVCache][ 531]: prefill_grpid:2 kv_cache_num:128 precompute_len:25 input_num_token:12
[I][                      SetKVCache][ 534]: current prefill_max_token_num:384
[I][                             Run][ 660]: input token num : 12, prefill_split_num : 1
[I][                             Run][ 686]: input_num_token:12
[I][                             Run][ 829]: ttft: 147.65 ms
你好,我是MiniCPM系列模型,由面壁智能和OpenBMB开源社区开发。详细信息请访问https://github.com/OpenBMB/

[N][                             Run][ 943]: hit eos,avg 35.75 token/s

[I][                      GetKVCache][ 500]: precompute_len:162, remaining:350
prompt >> 9.9与9.11
[I][                      SetKVCache][ 531]: prefill_grpid:3 kv_cache_num:512 precompute_len:162 input_num_token:17
[I][                      SetKVCache][ 534]: current prefill_max_token_num:256
[I][                             Run][ 660]: input token num : 17, prefill_split_num : 1
[I][                             Run][ 686]: input_num_token:17
[I][                             Run][ 829]: ttft: 274.38 ms
9.9比9.11大。

[N][                             Run][ 943]: hit eos,avg 35.44 token/s

[I][                      GetKVCache][ 500]: precompute_len:189, remaining:323
prompt >> q
root@ax650:/mnt/qtang/llm-test/minicpm4-0.5b-ctx#

Runs of AXERA-TECH MiniCPM4-0.5B on huggingface.co

35
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
3
30-day runs

More Information About MiniCPM4-0.5B huggingface.co Model

More MiniCPM4-0.5B license Visit here:

https://choosealicense.com/licenses/mit

MiniCPM4-0.5B huggingface.co

MiniCPM4-0.5B huggingface.co is an AI model on huggingface.co that provides MiniCPM4-0.5B's model effect (), which can be used instantly with this AXERA-TECH MiniCPM4-0.5B model. huggingface.co supports a free trial of the MiniCPM4-0.5B model, and also provides paid use of the MiniCPM4-0.5B. Support call MiniCPM4-0.5B model through api, including Node.js, Python, http.

AXERA-TECH MiniCPM4-0.5B online free

MiniCPM4-0.5B huggingface.co is an online trial and call api platform, which integrates MiniCPM4-0.5B's modeling effects, including api services, and provides a free online trial of MiniCPM4-0.5B, you can try MiniCPM4-0.5B online for free by clicking the link below.

AXERA-TECH MiniCPM4-0.5B online free url in huggingface.co:

https://huggingface.co/AXERA-TECH/MiniCPM4-0.5B

MiniCPM4-0.5B install

MiniCPM4-0.5B is an open source model from GitHub that offers a free installation service, and any user can find MiniCPM4-0.5B on GitHub to install. At the same time, huggingface.co provides the effect of MiniCPM4-0.5B install, users can directly use MiniCPM4-0.5B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MiniCPM4-0.5B install url in huggingface.co:

https://huggingface.co/AXERA-TECH/MiniCPM4-0.5B

Url of MiniCPM4-0.5B

MiniCPM4-0.5B huggingface.co Url

Provider of MiniCPM4-0.5B huggingface.co

AXERA-TECH
ORGANIZATIONS

Other API from AXERA-TECH

huggingface.co

Total runs: 921
Run Growth: 921
Growth Rate: 100.00%
Updated:September 24 2026
huggingface.co

Total runs: 120
Run Growth: 50
Growth Rate: 41.67%
Updated:October 08 2026
huggingface.co

Total runs: 63
Run Growth: 53
Growth Rate: 84.13%
Updated:January 08 2026
huggingface.co

Total runs: 63
Run Growth: 22
Growth Rate: 34.92%
Updated:October 12 2026
huggingface.co

Total runs: 53
Run Growth: 26
Growth Rate: 49.06%
Updated:October 12 2026
huggingface.co

Total runs: 49
Run Growth: 14
Growth Rate: 28.57%
Updated:October 12 2026
huggingface.co

Total runs: 38
Run Growth: 11
Growth Rate: 28.95%
Updated:May 07 2026
huggingface.co

Total runs: 33
Run Growth: 2
Growth Rate: 6.06%
Updated:August 14 2026
huggingface.co

Total runs: 33
Run Growth: 5
Growth Rate: 15.15%
Updated:October 12 2026
huggingface.co

Total runs: 29
Run Growth: 7
Growth Rate: 24.14%
Updated:July 31 2026
huggingface.co

Total runs: 28
Run Growth: 19
Growth Rate: 67.86%
Updated:May 15 2026
huggingface.co

Total runs: 26
Run Growth: -5
Growth Rate: -19.23%
Updated:January 30 2026
huggingface.co

Total runs: 24
Run Growth: -4
Growth Rate: -16.67%
Updated:January 15 2026
huggingface.co

Total runs: 23
Run Growth: 14
Growth Rate: 60.87%
Updated:October 03 2026
huggingface.co

Total runs: 23
Run Growth: 7
Growth Rate: 30.43%
Updated:November 02 2025
huggingface.co

Total runs: 22
Run Growth: -31
Growth Rate: -140.91%
Updated:September 08 2026
huggingface.co

Total runs: 22
Run Growth: 7
Growth Rate: 31.82%
Updated:September 24 2025
huggingface.co

Total runs: 21
Run Growth: 13
Growth Rate: 61.90%
Updated:December 30 2025