Text / openbmb

MiniCPM5 1B

MiniCPM5 1B from openbmb. Source-based hardware guidance from its published configuration.

EstimatedRepository opened May 21, 2026Source checked 9/24/2026Version: 87179e5c
LOCALRENTED GPUOPEN WEIGHTS

At a glance

Parameters
1.08B
Architecture
llama
Context length
131,072
License
apache-2.0
Software
SGLang, vLLM, Transformers, llama.cpp, SGLang, vLLM
View the model source
MY HARDWARE

Will it run on your machine?

Save your machine to see a personalized rating and its reasoning.

Add my hardware

Ways to run it

SGLang · Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

python -m sglang.launch_server --model-path openbmb/MiniCPM5-1B --port 30000
Official instructions

vLLM · Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

vllm serve openbmb/MiniCPM5-1B --port 8000
Official instructions

Transformers · See official guide

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

from transformers import AutoModelForCausalLM, AutoTokenizer model_id = "openbmb/MiniCPM5-1B" tokenizer = AutoTokenizer.from_pretrained(model_id) model = AutoModelForCausalLM.from_pretrained( model_id, torch_dtype="auto", device_map="auto", ) messages = [{"role": "user", "content": "Who are you? Please briefly introduce yourself."}] inputs = tokenizer.apply_chat_template( messages, tokenize=True, add_generation_prompt=True, enable_thinking=False, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=128) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Official instructions

llama.cpp · Windows, macOS, Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

llama-server -m MiniCPM5-2B-F16.gguf -a MiniCPM5-2B --port 8080 -ngl 99 -c 8192 --jinja
Official instructions

SGLang · Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

python -m sglang.launch_server --model-path openbmb/MiniCPM5-2B --port 30000
Official instructions

vLLM · Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

vllm serve openbmb/MiniCPM5-2B --port 8000
Official instructions

Explore its uses

SAFETENSORSTEXT-GENERATION

Keep exploring