Prices every request the way the provider bills it. Refuses the one that would cross your line.
| turn 1 | $2.02 |
| turn 2 | $4.05 |
| turn 3 | $6.07 |
| turn 4 | $8.10 |
| turn 5 | blocked |
| paid, 5 turns | $8.10 |
| same run, cached | $0.90 |
| overpaid | 9× |
The expensive failure is silent: status 200, normal output, cache reads billed on every replay. The provider never calls it an error.
receipt 656236f2d1e990f1… · chain intact
Million-token contexts are table stakes, so the whole cached prefix goes back on every call. Cache reads dominate an agent bill — and they are billed even when that text is truncated before the model reads it.
Every layer in the chain can assume prompt caching works while the actual agent stack misses it. Nothing in the stack reports that. One documented case: $37,901.73, of which $35.6k was uncached input.
Email after the money is gone is not a safety mechanism. Neither are credits, nor a dashboard you check on Mondays. The only control that holds at 4am is a refusal.
| model | in / M | out / M | cache read | note |
|---|---|---|---|---|
| claude-haiku-5-5 | 0.10 | 0.50 | 0.01~ | cheapest Anthropic |
| deepseek-v4-pro | 1.32 | 3.96 | 0.13~ | peak / off-peak billing |
| gpt-6-1-sol | 2.00 | 10.00 | 0.20~ | cost leader, 1.05M ctx |
| claude-opus-5-5 | 4.00 | 20.00 | 0.40~ | agentic coding, 1M ctx |
| gemini-3-8-flash | 0.75 | 3.75 | 0.08~ | doubles 2027-01-01 |
| gpt-6-astra | 10.00 | 50.00 | 1.00~ | frontier, 1.05M ctx |
~ derived from the vendor convention (0.1× read, 1.25× write), not confirmed.
governer prices --refresh pulls 459 models live, 313 with vendor-confirmed cache pricing.
governer proxy --limit 5OpenAI-compatible shim; refuses past $5, passes your own key throughgoverner check usage.json --limit 20true cost of a log, and where a $20 cap would have stopped itgoverner boxsimulated agent in a virtual wallet, no API keygoverner prices --upcomingannounced price changesgoverner verify spend.jsonlis the ledger intactPer-agent and per-day caps via X-Governer-Agent.
--dry-run books the real spend and refuses nothing, so you can watch before you enforce.