ADR-0004: No built-in model price table in v0.1¶
- Status: Accepted; amended by ADR-0005 (provider-reported cost)
- Date: 2026-11-30
Context¶
Budget caps need a cost per call. Provider prices change often, differ by platform, and a wrong number silently breaks the cost cap.
Decision¶
- Users give prices in agent config:
price: {input_per_mtok: 2.0, output_per_mtok: 10.0}(USD per million tokens). - Agents on the local machine cost 0 by default.
- Otherwise cost is unknown (
null): the run log carries a warning and a token cap (limits.max_tokens, default 200000) applies instead of the dollar cap.
Consequences¶
No stale prices in the package. Users comparing hosted models should set price for accurate cost columns. A maintained, dated price table can be added later as an opt-in plugin.