{
  "hf_id": "openbmb/MiniCPM5-15B-A2.5B",
  "meta": {
    "title": "MiniCPM5-15B-A2.5B",
    "slug": "minicpm5-15b-a2.5b",
    "provider": "MiniCPM (OpenBMB)",
    "description": "A 15B-parameter mixture-of-experts language model with about 2.5B active non-embedding parameters per token.",
    "date_added": "2026-12-01",
    "date_updated": "2026-12-01",
    "tasks": [
      "text"
    ],
    "related_recipes": [
      "openbmb/MiniCPM5-2B",
      "openbmb/MiniCPM5-1B"
    ]
  },
  "recommended_command": {
    "hardware": "h200",
    "strategy": "single_node_tp",
    "variant": "default",
    "hub": "huggingface",
    "checkpoint_url": "https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B",
    "node_count": 1,
    "deploy_type": "single_node",
    "env": {},
    "docker_image": null,
    "command": "vllm serve openbmb/MiniCPM5-15B-A2.5B \\\n  --dtype bfloat16 \\\n  --max-model-len 32768 \\\n  --tensor-parallel-size 1",
    "argv": [
      "vllm",
      "serve",
      "openbmb/MiniCPM5-15B-A2.5B",
      "--dtype",
      "bfloat16",
      "--max-model-len",
      "32768",
      "--tensor-parallel-size",
      "1"
    ],
    "docker_command": null,
    "docker_argv": null,
    "strategy_spec": {
      "name": "single_node_tp",
      "deploy_type": "single_node",
      "display_name": "Tensor Parallel",
      "short_label": "TP",
      "orientation": "latency",
      "description": "Single-node tensor parallel. Splits the model across all local GPUs. TP size is set to the GPU count at deploy time. The simplest multi-GPU strategy — works for all model architectures.\n",
      "hardware_match": {
        "min_gpus": 1,
        "max_gpus": 8,
        "multi_node": false
      },
      "vllm_args": [],
      "parallel_flag": "--tensor-parallel-size"
    },
    "hardware_profile": {
      "brand": "NVIDIA",
      "generation": "hopper",
      "compute_arch": "sm90",
      "display_name": "H200",
      "description": "NVIDIA H200 SXM 141 GB HBM3e · 8-GPU HGX node",
      "gpu_count": 8,
      "vram_gb": 1128,
      "multi_node": false
    },
    "alternatives": {
      "single_node_tep": "/openbmb/MiniCPM5-15B-A2.5B/strategies/single_node_tep.json",
      "kv_store_centralized_mooncake": "/openbmb/MiniCPM5-15B-A2.5B/strategies/kv_store_centralized_mooncake.json",
      "kv_store_distributed_mooncake": "/openbmb/MiniCPM5-15B-A2.5B/strategies/kv_store_distributed_mooncake.json"
    },
    "by_hardware": {
      "h200": "/openbmb/MiniCPM5-15B-A2.5B/hw/h200.json",
      "h100": "/openbmb/MiniCPM5-15B-A2.5B/hw/h100.json",
      "b200": "/openbmb/MiniCPM5-15B-A2.5B/hw/b200.json",
      "gb200": "/openbmb/MiniCPM5-15B-A2.5B/hw/gb200.json",
      "b300": "/openbmb/MiniCPM5-15B-A2.5B/hw/b300.json",
      "gb300": "/openbmb/MiniCPM5-15B-A2.5B/hw/gb300.json",
      "mi300x": "/openbmb/MiniCPM5-15B-A2.5B/hw/mi300x.json",
      "mi325x": "/openbmb/MiniCPM5-15B-A2.5B/hw/mi325x.json",
      "mi350x": "/openbmb/MiniCPM5-15B-A2.5B/hw/mi350x.json",
      "mi355x": "/openbmb/MiniCPM5-15B-A2.5B/hw/mi355x.json"
    }
  },
  "model": {
    "model_id": "openbmb/MiniCPM5-15B-A2.5B",
    "min_vllm_version": "0.36.0",
    "nightly_required": true,
    "architecture": "moe",
    "parameter_count": "15B",
    "active_parameters": "2.5B",
    "context_length": 524288,
    "base_args": [
      "--dtype",
      "bfloat16",
      "--max-model-len",
      "32768"
    ],
    "install": {
      "pip": {
        "command": "uv venv\nsource .venv/bin/activate\nuv pip install -U vllm --torch-backend=auto \\\n  --extra-index-url https://wheels.vllm.ai/nightly",
        "note": "vLLM 0.36.0 isn't released yet — nightly required. Nightly wheels are built for CUDA 13.2 (cu132) and need an NVIDIA driver that supports it."
      }
    }
  },
  "variants": {
    "default": {
      "precision": "bf16",
      "vram_minimum_gb": 36,
      "description": "BF16 weights."
    },
    "int4": {
      "model_id": "openbmb/MiniCPM5-15B-A2.5B-GPTQ",
      "precision": "int4",
      "vram_minimum_gb": 11,
      "description": "Asymmetric GPTQ weights packed in AWQ GEMM layout with group size 128.",
      "json": "/openbmb/MiniCPM5-15B-A2.5B-GPTQ.json"
    }
  },
  "features": {
    "tool_calling": {
      "description": "Parse XML tool calls with the built-in MiniCPM5 parser.",
      "args": [
        "--enable-auto-tool-choice",
        "--tool-call-parser",
        "minicpm5"
      ]
    },
    "spec_decoding": {
      "description": "Enable DSpark with OpenBMB's separate draft checkpoint.",
      "args": [
        "--speculative-config",
        "{\"method\":\"dspark\",\"model\":\"openbmb/MiniCPM5-15B-A2.5B-DSpark\",\"num_speculative_tokens\":7}"
      ]
    }
  },
  "opt_in_features": [
    "tool_calling",
    "spec_decoding"
  ],
  "guide": "## Overview\n\nMiniCPM5-15B-A2.5B is a Mixture-of-Experts language model from OpenBMB.\nThe [BF16 checkpoint](https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B)\nand [GPTQ INT4 checkpoint](https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B-GPTQ)\nuse the native vLLM model implementation. vLLM reads the quantization\nsettings from the INT4 checkpoint and selects the kernels for the hardware.\n\n## Context length and parallelism\n\nThe model configuration allows up to 524,288 tokens. This recipe sets a\n32,768-token limit as a starting point. The capacity available for longer\nrequests depends on GPU memory and concurrency. For tensor plus expert\nparallelism, the strategy uses all GPUs in the selected hardware profile.\nBF16 and INT4 were checked with expert parallelism on two and four\nNVIDIA H800 GPUs.\n\n## Tool calling\n\nTool Calling is off by default. Enable it for Chat Completions requests\nthat provide a `tools` list. The command builder adds\n`--enable-auto-tool-choice` and `--tool-call-parser minicpm5`. The built-in\nparser returns the model's XML tool calls as structured `tool_calls`.\n\n## References\n\n- [BF16 model card](https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B)\n- [GPTQ INT4 model card](https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B-GPTQ)\n- [DSpark draft checkpoint](https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B-DSpark)\n",
  "source": {
    "source": "vllm",
    "repo": "vllm-project/vllm",
    "ref": "main",
    "sha": "d98eaeac8a03e3e65c104a96ac6f4c74bfddc8bc",
    "path": "recipes/models/openbmb/MiniCPM5-15B-A2.5B.yaml",
    "edit_url": "https://github.com/vllm-project/vllm/edit/main/recipes/models/openbmb/MiniCPM5-15B-A2.5B.yaml",
    "overlays": []
  }
}