MI

MiniCPM4 8B

MiniCPMGGUF by openbmbUpdated 2025-06-13
Download on Hugging Face
Parameters8.19B
Context32K
Layers32
Architectureminicpm
Smallest quant5.0 GB
Quick answer

MiniCPM4 8B needs about 5.7 GB of memory at Q4_K_M (a 5.0 GB file) with an 8K context window, so it fits on a 6 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 1.1 GB.

MiniCPM4 8B – an efficient 8B LLM for edge devices

MiniCPM4 8B is a 8.19B parameter model trained on 8T tokens. It supports a 32768 token context window and is released under the Apache-2.0 license. The GGUF version is optimized for low‑memory inference.

Good at

  • Large context 32768 tokens
  • Fast generation on edge hardware
  • Efficient 8B parameter size

Limits

  • Requires ~5.7 GB VRAM at 8k context
  • Apache-2.0 license limits commercial use without attribution
  • No vision or multimodal support

Best for

  • Edge inference on 8‑GB GPUs
  • Chatbot deployments with limited memory
  • Rapid prototyping of large‑context applications

Who it’s for. Developers building lightweight LLM solutions for devices with modest GPU resources. The model is suitable for applications that need a large context window without the overhead of larger models.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M5.0 GB 5.7 GB
Fits Get file →

The Q4_K_M quantization file is 4.97 GB and requires about 5.7 GB VRAM at 8k context. This is suitable for systems with 8 GB or more VRAM. For tighter budgets, a higher‑compression quant may be needed, but it is not provided in the current file list.

What GPU do you need for MiniCPM4 8B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: the best quant that fits is Q4_K_M (5.0 GB file, about 5.7 GB in use).

Which MiniCPM4 8B quant should you choose?

Q4_K_M is the usual starting point for MiniCPM4 8B: it balances file size and quality well. Here it is a 5.0 GB file.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureminicpm
Parameters8.19B
Layers32
Trained context32,768 tokens
KV cache (fp16)32 KB per token

Source

Quantized byopenbmb
FamilyMiniCPM
Licenseapache-2.0
Downloads (HF)890
Last updated2025-06-13

Frequently asked questions about MiniCPM4 8B

How much VRAM does MiniCPM4 8B need?

About 5.7 GB at Q4_K_M with an 8K context window. That is the 5.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run MiniCPM4 8B on an 8 GB GPU?

Yes, with Q4_K_M: the 5.0 GB file needs about 5.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of MiniCPM4 8B GGUF?

It depends on the quant: Q4_K_M is 5.0 GB.

What context length does MiniCPM4 8B support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 0.3 GB at 8K and 1.1 GB at 32K.

Where can I download MiniCPM4 8B GGUF?

The files are on Hugging Face in the openbmb/MiniCPM4-8B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does MiniCPM4 8B use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run MiniCPM4 8B on 8 GB VRAM?

Yes, the Q4_K_M quantization requires about 5.7 GB VRAM at 8k context, which fits within an 8 GB GPU.

Is MiniCPM4 8B suitable for vision tasks?

No, the model only supports text and does not include vision capabilities.

Similar models

Browse all →

More from openbmb

All by openbmb →

More MiniCPM models

All MiniCPM →

Other small models

All small models →