g1t/services/billing/migrations/0025_run_tier.sql
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Auto model routing: the cheapest tier that can do each piece of work, a retry goes up a tier, and each run records its tier | 1 | -- The tier g1t routed a run to on its hosted models, small or large, so |
| 2 | -- what the model cost can be read per tier. Null on a workspace's own | |
| 3 | -- provider, and for runs from before routing by tier. | |
| 4 | ALTER TABLE runs ADD COLUMN tier TEXT; |