Skip to content
AI Architect Academy

Production agent systems · stage 06 of 09

Cost model

What one unit of work costs and what stops the bill when it runs away.

The module

Lesson, exercise and rubric

Open the repository in a coding agent and run /module 06 for a Socratic session over this stage.

What you leave behind · json

Cost model

Required sections:

  • unitOfWork
  • tokensPerUnit
  • costPerUnit
  • ceiling
  • runawayGuard

May appear on a public portfolio once redacted: remove negotiated vendor rates.

The eval · eval:cost-model-has-ceiling

Cost has a ceiling and a guard

  1. unit-economicsCost is expressed per unit of work, not per month in aggregate. Checked by: unitOfWork and costPerUnit are both present and numeric where applicable.
  2. runaway-guardA mechanism stops spend when the ceiling is hit. Checked by: runawayGuard names an enforcing mechanism, not an alert alone.

Every check must pass. There is no partial credit and no override.

Evidence that counts

Proof has to exist outside your own claim.

At least 1 of: a commit or file a third party can open; a recorded, reproducible eval run. Evidence older than 365 days is stale and does not count.