模型硬件需求
model_requirements查询部署某个模型需要的硬件配置:指定量化下的权重大小、最小/推荐显存、证据等级与出处,以及各张显卡的 fits/tight/no 判定与租价。数据可能过期,响应里会给出 data_updated 与 stale。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "model_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | 模型 id 或别名 | |
| quant | No | 量化档,如 Q4_K_M;省略则用推荐档 | |
| context_tokens | No | 默认 4096 |