openbmb / BitCPM4-1B

huggingface.co
Total runs: 134
24-hour runs: 4
7-day runs: 4
30-day runs: 91
Model's Last Updated: June 11 2025
text-generation

Introduction of BitCPM4-1B

Model Details of BitCPM4-1B

GitHub Repo | Technical Report

👋 Join us on Discord and WeChat

What's New
  • [2025.06.06] MiniCPM4 series are released! This model achieves ultimate efficiency improvements while maintaining optimal performance at the same scale! It can achieve over 5x generation acceleration on typical end-side chips! You can find technical report here .🔥🔥🔥
MiniCPM4 Series

MiniCPM4 series are highly efficient large language models (LLMs) designed explicitly for end-side devices, which achieves this efficiency through systematic innovation in four key dimensions: model architecture, training data, training algorithms, and inference systems.

  • MiniCPM4-8B : The flagship of MiniCPM4, with 8B parameters, trained on 8T tokens.
  • MiniCPM4-0.5B : The small version of MiniCPM4, with 0.5B parameters, trained on 1T tokens.
  • MiniCPM4-8B-Eagle-FRSpec : Eagle head for FRSpec, accelerating speculative inference for MiniCPM4-8B.
  • MiniCPM4-8B-Eagle-FRSpec-QAT-cpmcu : Eagle head trained with QAT for FRSpec, efficiently integrate speculation and quantization to achieve ultra acceleration for MiniCPM4-8B.
  • MiniCPM4-8B-Eagle-vLLM : Eagle head in vLLM format, accelerating speculative inference for MiniCPM4-8B.
  • MiniCPM4-8B-marlin-Eagle-vLLM : Quantized Eagle head for vLLM format, accelerating speculative inference for MiniCPM4-8B.
  • BitCPM4-0.5B : Extreme ternary quantization applied to MiniCPM4-0.5B compresses model parameters into ternary values, achieving a 90% reduction in bit width.
  • BitCPM4-1B : Extreme ternary quantization applied to MiniCPM3-1B compresses model parameters into ternary values, achieving a 90% reduction in bit width. ( <-- you are here )
  • MiniCPM4-Survey : Based on MiniCPM4-8B, accepts users' quiries as input and autonomously generate trustworthy, long-form survey papers.
  • MiniCPM4-MCP : Based on MiniCPM4-8B, accepts users' queries and available MCP tools as input and autonomously calls relevant MCP tools to satisfy users' requirements.
Introduction

BitCPM4 are ternary quantized models derived from the MiniCPM series models through quantization-aware training (QAT), achieving significant improvements in both training efficiency and model parameter efficiency.

  • Improvements of the training method
    • Searching hyperparameters with a wind-tunnel on a small model.
    • Using a two-stage training method: training in high-precision first and then QAT, making the best of the trained high-precision models and significantly reducing the computational resources required for the QAT phase.
  • High parameter efficiency
    • Achieving comparable performance to full-precision models of similar parameter models with a bit width of only 1.58 bits, demonstrating high parameter efficiency.
Usage
Inference with Transformers

BitCPM4's parameters are stored in a fake-quantized format, which supports direct inference within the Huggingface framework.

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

path = "openbmb/BitCPM4-1B"
device = "cuda"

tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(path, torch_dtype=torch.bfloat16, device_map=device, trust_remote_code=True)

messages = [
    {"role": "user", "content": "推荐5个北京的景点。"},
]
model_inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True).to(device)

model_outputs = model.generate(
    model_inputs,
    max_new_tokens=1024,
    top_p=0.7,
    temperature=0.7
)

output_token_ids = [
    model_outputs[i][len(model_inputs[i]):] for i in range(len(model_inputs))
]

responses = tokenizer.batch_decode(output_token_ids, skip_special_tokens=True)[0]
print(responses)
Evaluation Results

BitCPM4's performance is comparable with other full-precision models in same model size. Benchmark of BitCPM

Statement
  • As a language model, MiniCPM generates content by learning from a vast amount of text.
  • However, it does not possess the ability to comprehend or express personal opinions or value judgments.
  • Any content generated by MiniCPM does not represent the viewpoints or positions of the model developers.
  • Therefore, when using content generated by MiniCPM, users should take full responsibility for evaluating and verifying it on their own.
LICENSE
  • This repository and MiniCPM models are released under the Apache-2.0 License.
Citation
  • Please cite our paper if you find our work valuable.
@article{minicpm4,
  title={{MiniCPM4}: Ultra-Efficient LLMs on End Devices},
  author={MiniCPM Team},
  year={2025}
}

Runs of openbmb BitCPM4-1B on huggingface.co

134
Total runs
4
24-hour runs
5
3-day runs
4
7-day runs
91
30-day runs

More Information About BitCPM4-1B huggingface.co Model

More BitCPM4-1B license Visit here:

https://choosealicense.com/licenses/apache-2.0

BitCPM4-1B huggingface.co

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

BitCPM4-1B huggingface.co Url

https://huggingface.co/openbmb/BitCPM4-1B

openbmb BitCPM4-1B online free

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

openbmb BitCPM4-1B online free url in huggingface.co:

https://huggingface.co/openbmb/BitCPM4-1B

BitCPM4-1B install

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

BitCPM4-1B install url in huggingface.co:

https://huggingface.co/openbmb/BitCPM4-1B

Url of BitCPM4-1B

BitCPM4-1B huggingface.co Url

Provider of BitCPM4-1B huggingface.co

openbmb
ORGANIZATIONS

Other API from openbmb

huggingface.co

Total runs: 200.2K
Run Growth: 91.4K
Growth Rate: 45.63%
Updated:October 05 2025
huggingface.co

Total runs: 134.8K
Run Growth: -3.0K
Growth Rate: -2.19%
Updated:March 10 2026
huggingface.co

Total runs: 117.8K
Run Growth: 4.9K
Growth Rate: 4.17%
Updated:September 15 2025
huggingface.co

Total runs: 112.2K
Run Growth: 89.6K
Growth Rate: 79.87%
Updated:May 10 2026
huggingface.co

Total runs: 106.9K
Run Growth: -45.2K
Growth Rate: -42.32%
Updated:June 13 2025
huggingface.co

Total runs: 25.5K
Run Growth: 411
Growth Rate: 1.61%
Updated:October 24 2025
huggingface.co

Total runs: 20.0K
Run Growth: 1.8K
Growth Rate: 8.78%
Updated:October 24 2025
huggingface.co

Total runs: 19.9K
Run Growth: 406
Growth Rate: 2.04%
Updated:January 15 2025
huggingface.co

Total runs: 13.1K
Run Growth: 8.4K
Growth Rate: 64.02%
Updated:June 02 2023
huggingface.co

Total runs: 11.5K
Run Growth: 10.4K
Growth Rate: 90.57%
Updated:May 07 2026
huggingface.co

Total runs: 7.7K
Run Growth: -4.1K
Growth Rate: -52.99%
Updated:February 27 2025
huggingface.co

Total runs: 6.5K
Run Growth: 523
Growth Rate: 8.06%
Updated:January 14 2026
huggingface.co

Total runs: 5.4K
Run Growth: 5.4K
Growth Rate: 99.14%
Updated:June 10 2025
huggingface.co

Total runs: 5.2K
Run Growth: 3.7K
Growth Rate: 70.38%
Updated:October 20 2025
huggingface.co

Total runs: 4.8K
Run Growth: 2.7K
Growth Rate: 56.92%
Updated:November 04 2024
huggingface.co

Total runs: 1.7K
Run Growth: 1.7K
Growth Rate: 96.08%
Updated:August 12 2023
huggingface.co

Total runs: 1.4K
Run Growth: 79
Growth Rate: 5.80%
Updated:January 15 2025
huggingface.co

Total runs: 1.0K
Run Growth: 153
Growth Rate: 14.93%
Updated:September 19 2025
huggingface.co

Total runs: 891
Run Growth: 76
Growth Rate: 8.53%
Updated:June 27 2023
huggingface.co

Total runs: 847
Run Growth: 48
Growth Rate: 5.67%
Updated:August 24 2023
huggingface.co

Total runs: 436
Run Growth: 372
Growth Rate: 85.32%
Updated:February 12 2026
huggingface.co

Total runs: 416
Run Growth: -75
Growth Rate: -18.03%
Updated:October 14 2023
huggingface.co

Total runs: 373
Run Growth: 203
Growth Rate: 55.92%
Updated:June 14 2025
huggingface.co

Total runs: 351
Run Growth: -108
Growth Rate: -32.93%
Updated:May 14 2024
huggingface.co

Total runs: 187
Run Growth: 104
Growth Rate: 55.61%
Updated:February 21 2024
huggingface.co

Total runs: 179
Run Growth: 112
Growth Rate: 62.57%
Updated:October 14 2025
huggingface.co

Total runs: 169
Run Growth: -1.4K
Growth Rate: -847.59%
Updated:April 08 2024
huggingface.co

Total runs: 154
Run Growth: 24
Growth Rate: 15.58%
Updated:February 21 2024
huggingface.co

Total runs: 148
Run Growth: 19
Growth Rate: 12.84%
Updated:April 16 2024
huggingface.co

Total runs: 139
Run Growth: 72
Growth Rate: 51.80%
Updated:February 21 2024
huggingface.co

Total runs: 133
Run Growth: 62
Growth Rate: 46.62%
Updated:February 21 2024