Quantization Calculator
quantization-calculatorUse when a user is planning to quantize an LLM to fit on smaller hardware. Given parameter count and precision transition, returns VRAM requirement, speedup estimate, and approximate quality delta.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params_billions": 8
},
"name": "quantization-calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_size | No | Serving batch size (default 1) | |
| precision_to | No | Target precision (default int4) | |
| precision_from | No | Starting precision (default bf16) | |
| kv_cache_tokens | No | Max KV cache tokens (default 8192) | |
| params_billions | Yes | Model parameter count in billions |