Get API key inference usage
get_api_key_inference_usageRetrieve exact paid AI usage for an inference API key, including daily and monthly spend, request/token totals, spend limits, remaining spend, and notification preferences. Read-only.
Instructions
Get exact paid VPSnet AI usage for this inference API key: committed and currently reserved spend for the UTC day and month, request and token totals by public VPSnet model profile, configured spend limits, remaining spend, and notification preferences. API-key callers can inspect only the same key that authenticated the MCP connection, and this server needs a management key: a management key has no inference usage of its own and an inference key is refused on every account route, so read inference usage in the VPSnet panel. Internal provider model names are never returned. This is read-only and does not change limits, notifications, or billing.
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": {
"id": "<id>"
},
"name": "get_api_key_inference_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Inference API key ID from list_api_keys (the calling key's own ID) |