FIXED-SCOPE IMPLEMENTATION · £75

Stop over-budget model calls before they start.

I add one application-side budget gate to an authorized Node.js/TypeScript or Python codebase: reserve modeled spend before the call, reconcile returned usage afterward, and take the agreed non-AI path when the remaining allowance is insufficient.

No account required · no payment before scope · no credentials in the enquiry

DELIVERABLE

A working spend boundary,
not another dashboard.

The implementation stores accounting metadata, not prompts or outputs. Provider-reported usage closes each reservation; failures and retries remain visible instead of disappearing from the total.

01

Reserve

Bound request input and maximum output, price the declared provider/model, and atomically reserve that modeled exposure against one agreed user or tenant window.

02

Reconcile

Record returned input, cached-input, output, and reasoning usage where exposed; settle the reservation and preserve failed or retried calls in the ledger.

03

Refuse safely

Stop an insufficient-budget request before the provider call and route it to the codebase's agreed fallback, with tests proving the provider adapter was not invoked.

INCLUDED

Reviewable acceptance checks.

  • One authorized Node.js/TypeScript or Python repository and one existing model-request path
  • One user or tenant identity dimension and one agreed calendar or rolling budget window
  • Transactional reservation and reconciliation using the codebase's existing shared store
  • Explicit handling for provider errors, missing usage, retries, and abandoned reservations
  • Focused tests, handoff notes, and one revision inside the written scope
BOUNDARIES

Application control, honestly labeled.

  • No claim that modeled spend exactly equals the provider invoice
  • No absolute cap when unbounded input, tools, parallel calls, or an unshared store remain
  • No new database cluster, billing system, admin dashboard, or provider credits
  • No credentials, private source, prompts, outputs, or customer data in the initial enquiry
  • No work begins until the store, concurrency boundary, fallback, tests, and payment timing are agreed
PROCESS

Prove the boundary before requesting payment.

01

Send public context

Share the public repository or product URL, stack, provider path, existing persistence layer, desired budget window, and fallback. Keep secrets and private data out of the enquiry.

02

Agree the failure model

The written scope states how reservations expire, which concurrent callers share the counter, what missing usage means, and how an over-budget request degrades.

03

Review executable evidence

You receive a focused branch or pull request, automated no-call and reconciliation tests, handoff notes, and one revision within the agreed boundary.

START WITH NO SECRETS

Describe the call path and budget boundary.

Suitable enquiries receive a written scope before any payment request. Need reporting rather than enforcement? See the attribution setup →