From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject:

BitCPM4-1B

Date: 2026-11-15Commit: 70d989cSigned: 2DC28CC7B26A283B ✓

Text generation model with 1.4B parameters. Safetensors weights, 2.73 GB in all. Published by openbmb under Apache-2.0.

1.4B params2.73GBBitCPM4-1Bsafetensorspermissive
FactsParams1.4BSize2.73 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get openbmb/BitCPM4-1B
# manifest sha256 43ce07942a41… · 2.73 GB · 12 files
$ fw verify ./BitCPM4-1B openbmb/BitCPM4-1B
From sourceHosted (signed)openbmb/BitCPM4-1BLast check: 2026-11-15 03:51 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
2.73 GB
Weights
2.72 GB (safetensors)
Parameters
1.4B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
openbmb
Added
2026-11-15
Section
alt.freeweights.minicpm
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:51 UTCpassed

Model card

From the publisher at commit 70d989c. Shown as plain text with links; images open at the publisher.

Image: image

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. Image: 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}
}

Files

12 files Β· 2.73 GBWeights 2.72 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.11 KB59f570653434475258dec87ed0f8ac8a117316f2a61c720b42d77c24e80b68a8
added_tokens.json216 B4760fcbf90bc193f33827ffe02f2e7ba1af1ec43644cc02ac22fdd611f6cca15
config.json2.40 KB82674b39230a83350d1a278783ea685d351338ef6492417553600403edcb480e
configuration_minicpm.py9.66 KB1e289912fdc0608ccad3983f4ff8b381ec8f161f45c85be4d694f92f17596b0a
generation_config.json182 B83595cf3b045d7ed16593ae399b0e3c13fe45640a4bec3a1cd371b057a6a98b7
model.safetensors2.72 GB27373900973c2bc9b1b14ab6f6d6ad04bdee6a8fd4b82bee5fe80f022dec170f
modeling_minicpm.py119 KB2ce8dd80aaacf1a1629bd9dbbac70afbfbe1c2388feaf540f235ac96e30738bb
special_tokens_map.json630 B9ec9d6f07cb0e436598bf29b4d97c6355434c08fdbe9c264e6926907f3751c7e
tokenizer.json6.70 MBadf7208af154a5ca065d2eda4e5419e02aac58c2c00627874748b75ec6769094
tokenizer.model1.18 MBbb74d51116831c3bf65db812c553f94ab0c88dcf97a5bbb37e3504f6d359c530
tokenizer_config.json2.83 KB8bef75d59004eb0e62db89e97090d4736b14fd6c4a0282370c28833be1e83051
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
70d989c497 pinned now2026-11-15 03:51 UTC12 files Β· 2.73 GB

Use it

$ fw get openbmb/BitCPM4-1B
# manifest sha256 43ce07942a41… · 2.73 GB · 12 files
$ fw verify ./BitCPM4-1B openbmb/BitCPM4-1B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/openbmb/BitCPM4-1B.json --dir ./BitCPM4-1B $ python3 fw.py verify ./BitCPM4-1B ./openbmb__BitCPM4-1B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/BitCPM4-1B --revision 70d989c4972efa636e8a2211975515d188e000b0 --local-dir ./BitCPM4-1B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("openbmb/BitCPM4-1B", revision="70d989c4972efa636e8a2211975515d188e000b0") model = AutoModelForCausalLM.from_pretrained("openbmb/BitCPM4-1B", revision="70d989c4972efa636e8a2211975515d188e000b0", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve openbmb/BitCPM4-1B --revision 70d989c4972efa636e8a2211975515d188e000b0

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
59f570653434475258dec87ed0f8ac8a117316f2a61c720b42d77c24e80b68a8
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject: BitCPM4-1BDate: 2026-11-15Commit: 70d989cSigned: 2DC28CC7B26A283B ✓
Upstream
openbmb/BitCPM4-1B
Pinned commit
70d989c4972efa636e8a2211975515d188e000b0
Manifest
BitCPM4-1B.json Β· .minisig
Manifest sha256
43ce07942a41aa57f8a903befa4ea314ef58a2d9da152f2ac1597cf7352fe3af
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:51 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/openbmb/BitCPM4-1B.json $ curl -O https://freeweights.allternit.com/manifests/openbmb/BitCPM4-1B.json.minisig $ minisign -Vm BitCPM4-1B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/BitCPM4-1B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. BitCPM4-1B.json. Provenance. Takedown history: none.
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Explore-GGUF
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report-GGUF
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-0.5B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-1B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-3B-gguf