Predictika · AI Spend Gate
Northgate Analytics runs AI agents and an AI gateway across four cost centers. Before any model call, routing change, budget change or credit purchase goes through, it is sent to Predictika's AI Spend Gate. It checks the request against the budgets at every level it is charged to, the models approved for each class of data, the quality each task needs, who is allowed to change what, and the credit-pack terms. A heuristic or an agent can propose; the validator confirms the proposal stays inside what the customer declared.
Illustrative only. Northgate Analytics is a fictional customer. The policy numbers on this page are examples that each customer would set for itself. No part of this is financial or procurement advice.
This model covers five specific actions, not AI spend management in general:
model_call and route_call, gated by the computed cost, the budget at every level it is charged to (agent or person, task, application, cost center), model status, access level, data class, region and the quality the task needs.set_actor_budget and set_task_budget, gated by who may make the change, the totals above it, the amount already spent and the size of the jump.buy_credits, gated by the price after volume discount, the minimum term, the need for a base pack before an add-on, and a finance sign-off line.The eight scenarios on this page are a sample. It does not meter or attribute usage, build the ledger or produce analytics; it checks one request at a time against the figures it is given.
Most of what decides these cases is not in the request: the month-to-date spend at each level, the models approved for each class of data and region, the quality each task needs, the department's budget and what is already assigned inside it.
The validator is given that snapshot with each call and judges the request against it. If the records are wrong, the answer follows. A request is only checked if the gateway or agent calls the validator before acting.
8 scenarios in 4 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Before acting, the agent must call Recorded run
What this means
General statements about gateway limits and purchase forms, not about any named product. We rest this on public descriptions of how such controls work.
Every finding the validator returned across all 38 test runs, with the wording it used. Each finding is reported and none stops the others, so one violation can never hide another. A block means the agent must not do this; a review means a person must sign off first.
The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.
The agent's request. Routing this 150 million token contract job from Frontier-L to Fast-S brings it down to $300.
Verdict: Blocked.
The agent's request. Routing this 150 million token contract job from Frontier-L to the EU-region Balanced-M brings it down to $2,700.
Verdict: Allowed.
The agent's request. I'm running the monorepo refactor on the frontier model: 60 million tokens for $3,600.
Verdict: Blocked.
The agent's request. I'm running the monorepo refactor on the balanced model: 60 million tokens for $900.
Verdict: Allowed.
The agent's request. I'm raising the analytics agent's monthly budget to $30,000.
Verdict: Blocked.
The agent's request. I'm raising the analytics agent's monthly budget to $28,000.
Verdict: Allowed.
The agent's request. I'm buying 4 Scale credit packs for $64,000 on a 6-month term.
Verdict: Blocked.
The agent's request. I'm buying 4 Scale credit packs for $64,000 on a 12-month term.
Verdict: Needs approval.
The text of the narrated walkthrough, step by step.