lmstudio_benchmark
Measure a loaded model’s tokens per second, time to first token, and prompt size by running fixed prompts at temperature 0 to compare settings.
Instructions
Measure real speed of a loaded model: tokens per second, time to first token, prompt size. Runs fixed prompts at temperature 0. Use to compare settings.
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": {
"identifier": "<identifier>"
},
"name": "lmstudio_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | No | Repetitions (default 3). | |
| prompt | No | Custom prompt (default: a fixed explanatory task). | |
| identifier | Yes | Loaded model identifier (see lmstudio_list_loaded). | |
| max_tokens | No | Tokens to generate per run (default 256). |