Evidence record / pi-coding-agent
A dated record of one change, kept so the writing that cites it can be checked. Compiled from the sources listed below by the research run, not written for reading. The judgment lives in the issues that cite it, below.
2026-10-24-pi-coding-agent-main-separates-openrouter-reported-total-cost-from-catalog-estimates
Main separates OpenRouter reported total cost from catalog estimates. usage.cost.totalFromProvider identifies reported billing totals. OpenRouter Chat Completions and Anthropic Messages can use valid provider accounting for the total, including OpenRouter charges and upstream inference charges for bring-your-own-key requests. Cost components remain catalog estimates and need not sum to the total; absent or invalid accounting falls back to estimates. Missing provenance fields mean estimated, and an aggregate is provider-reported only when both parts are.
Channel: main-unreleased. Half: capability. Date: 2026-10-22.
Operator consequence: Preserve the supplied total and its provenance in dashboards and exports instead of rebuilding it from estimated components. Treat this as a pending accounting-contract improvement, not a reduction in workload cost or a 1.4.0 feature.
Receipt
Finding metadata
Run: 2026-10-24-weekly-digest-2026-10-13_2026-10-24-frontier-v0
Finding ID: 2026-10-24-pi-coding-agent-main-separates-openrouter-reported-total-cost-from-catalog-estimates
Profile citations
- Pi Coding Agent / claim / pending-provider-cost-provenance
Source links
Primary links, including exact changelog lines when available.
- commit2026-10-24-pi-coding-agent-main-separates-openrouter-reported-total-cost-from-catalog-estimatesgithub.com/earendil-works/pi/commit/7c22a93d0ed02092142fa63823e63d76aa4e2406commit2026-10-24-pi-coding-agent-main-separates-openrouter-reported-total-cost-from-catalog-estimatesgithub.com/earendil-works/pi/commit/cae8d69e572e038d584c881efd1818e40571fb7c
Versioned source: run artifact