01. Reserve the maximum cost before the call
- Chose
- Every model call reserves the highest possible cost before it starts. A task with nothing left to reserve stops and waits for an administrator.
- Over
- Metering spend after the response comes back.
- Because
- A call's cost is only known once it finishes, and by then the money is gone. Metering afterwards detects an overrun, it does not prevent one. Reserving the maximum up front makes passing the limit structurally impossible rather than a matter of vigilance.
- Price I pay
- The budget is under-used. A task can be stopped with real balance left, because the reservation assumed the worst case and the actual response cost less.