# spore · Budget enforcement

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [spore](https://ai-agents-review.com/runtime/spore.md)
- Column: [Budget enforcement](https://ai-agents-review.com/column/budget-enforcement.md) (Execution controls)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/spore/budget-enforcement

## Rationale

Mandatory limits; broker refuses calls once tree spend reaches hard cost; settlement of dispatched calls stated

## Rubric criteria for this column

- 0: No limits of any unit, and no usage reporting
- 1: Usage or cost reported only, **or** only coarse safety caps (retry counts, iteration ceilings ≥1000, wall-clock timeouts ≥ hours)
- 2: An enforced work limit (turns/steps/iterations at a practical default) **or** a $/token limit checked after each step, per run
- 3: A $ or token limit checked **before** the model call (admission) for a run, **or** a post-step $ limit covering descendants
- 4: Pre-call admission across the whole delegation tree, with stated settlement of in-flight calls

## Review finding

Built in and mandatory: each definition declares soft/hard pairs for rounds, $ cost and wall time. The model broker refuses new calls (HTTP 402) once settled tree spend reaches hard cost. This is admission that covers descendants; dispatched calls finish and are billed, so spend can overshoot. Per turn only; no cumulative per-user $ cap. Prices come from mohdel [D]. [X149][X150][X151][X152][X153][X154][X155][X156]

## Evidence cited by the mark

- [X150] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/model.rs#L222-L241 — broker refuses new calls (402) when tree spend >= hard cost — [S]
- [X151] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/model.rs#L11-L13 — dispatched calls run to end and are billed — [S]
- [X149] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/definition/src/lib.rs#L836-L845 — definitions must declare rounds/cost/wall limits — [S]

## Evidence also cited by the review finding

- [X152] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/loop.js#L111-L119 — loop soft/hard checks before rounds — [S]
- [X153] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/main.rs#L969-L979 — runner hard wall with kill after grace — [S]
- [X154] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/main.rs#L711-L717 — only per-turn cost.hard passed to Model::new — [S]
- [X155] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/model.rs#L510-L523 — cost taken from mohdel done event (pricing in mohdel 4.11.0) — [S]
- [X156] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/billing.js#L1-L10 — unmetered models labelled not metered — [S]

## Grading record

- Grader A (default / best): 4 / 4
- Grader B (default / best): 4 / 4
