plan_hybrid_moe_split
Compute exact GPU VRAM and system RAM split plans for dense or Mixture-of-Experts LLM deployment, including KV-cache math and ready-to-run llama.cpp flags.
Instructions
Compute an exact Dense or Mixture-of-Experts (--n-cpu-moe) GPU VRAM + System DDR5 RAM execution plan with separated GPU App Budget vs Physical VRAM (including OS/DWM reserve) ledgers, GQA KV-cache math, and ready-to-run llama.cpp flags.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_hybrid_moe_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quant | No | Weight quantization format (e.g. 'q4_k_m', 'iq3_m', 'q8_0'). | q4_k_m |
| is_moe | No | ||
| preset | No | Built-in model preset (ignored only when custom `total_params_b` is supplied). | qwen3-35b-a3b |
| ram_gib | No | Total host System RAM in GiB (e.g. 64.0). | |
| head_dim | No | ||
| kv_quant | No | Optional explicit KV-cache quantization override ('f16', 'bf16', 'q8_0', 'q4_0'). | |
| vram_gib | No | Total physical GPU VRAM in GiB (e.g. 16.0). | |
| num_layers | No | ||
| num_kv_heads | No | ||
| context_tokens | No | Context window length in tokens (e.g. 32768). | |
| total_params_b | No | ||
| active_params_b | No | ||
| os_headroom_gib | No | OS / Desktop Window Manager (DWM) VRAM reserve in GiB (default 1.25 GiB). | |
| routed_expert_fraction | No |