Check AI Spending Against Budget
rai_budget_checkCheck AI spending against monthly budget limits to prevent overruns. Returns consumption percentage, alert status, team and model breakdowns, and projected month-end spend.
Instructions
Evaluate current AI spending against monthly budget limits. Returns consumption percentage, alert status, per-team and per-model breakdown, and projected month-end spend. Used by LLMOps Engineers and Finance to prevent budget overruns.
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": {
"total_spent_usd": "<total_spent_usd>"
},
"name": "rai_budget_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_elapsed | No | ||
| days_in_month | No | ||
| team_breakdown | No | team_name → USD spent | |
| model_breakdown | No | model_name → USD spent | |
| total_spent_usd | Yes | ||
| monthly_limit_usd | No | ||
| alert_threshold_pct | No |