Get LLM Model Stats
get_llm_model_statsGet detailed performance statistics for a specific LLM model.
Instructions
Get detailed performance statistics for a specific LLM model.
Analyzes request count, latency percentiles (p50, p95, p99), token usage statistics, error rates, and finish reason distributions.
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_name": "<model_name>"
},
"name": "get_llm_model_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum traces to analyze (default: 1000, capped by MAX_TRACES_PER_QUERY / --max-traces-per-query) | |
| end_time | No | End time in ISO 8601 format | |
| model_name | Yes | Model name to analyze (e.g., "gpt-4", "claude-3-opus", "gpt-3.5-turbo") | |
| start_time | No | Start time in ISO 8601 format (e.g., 2024-01-01T00:00:00Z) | |
| service_name | No | Filter by service name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |