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.
| Agents as a team: lifecycle, merge queue, billing and a new shell | 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", | |
| 3 | "name": "g1t-billing", | |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", | |
| 5 | "compatibility_date": "2026-09-26", | |
| 6 | // Runs next to its database: a request makes several queries in turn, | |
| 7 | // and each would otherwise cross the distance to it. | |
| 8 | "placement": { "mode": "smart" }, | |
| 9 | "main": "build/index.js", | |
| 10 | "build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" }, | |
| 11 | // Reached only through service bindings. | |
| 12 | "workers_dev": false, | |
| 13 | "d1_databases": [ | |
| 14 | { | |
| 15 | "binding": "DB", | |
| 16 | "database_name": "g1t-billing", | |
| 17 | "database_id": "695a6979-fd07-4850-bc97-904a6b4b7a04", | |
| 18 | "migrations_dir": "migrations" | |
| 19 | } | |
| 20 | ], | |
| 21 | "vars": { | |
| 22 | // What is added to a run's cost, in percent. It pays the card | |
| 23 | // processor's fee and the sandbox the agent ran in. | |
| Integrations: your own model provider, alerts that open issues, tickets agents read | 24 | "MARGIN_PERCENT": "20", |
| 25 | // What a run on a workspace's own model provider is charged, in | |
| 26 | // millionths of a dollar: the sandbox and the orchestration around | |
| 27 | // it, with the model paid for at the provider. $0.10. | |
| Free while g1t is being built out; agents can check out their own forks | 28 | "ORCHESTRATION_FEE_MICROS": "100000", |
| 29 | // While g1t is being built out, workspaces pay nothing: runs are | |
| 30 | // recorded with what they cost, and nothing is charged. Set to | |
| 31 | // "false" when pricing starts. | |
| A free allowance on g1t's models, so anyone can try its agents | 32 | "FREE_WHILE_BUILDING": "true", |
| 33 | // A free allowance on g1t's hosted models, so people can try g1t's | |
| 34 | // agents without a key of their own: each workspace may use this | |
| 35 | // much model cost ($1), out of one pool for everyone ($40), until | |
| 36 | // the end of finalist judging (2026-10-22, 11:59 PM Pacific). Any | |
| 37 | // of them empty turns it off. | |
| 38 | "TRIAL_WORKSPACE_MICROS": "1000000", | |
| 39 | "TRIAL_TOTAL_MICROS": "40000000", | |
| Paid features: a workspace turns on Deployments with a monthly plan | 40 | "TRIAL_UNTIL": "2026-10-23T06:59:59Z", |
| 41 | // The Deployments plan's monthly price, in cents. Turning the | |
| 42 | // feature on starts it; FREE_WHILE_BUILDING does not cover it. | |
| 43 | "DEPLOYMENTS_MONTHLY_CENTS": "500" | |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 44 | }, |
| 45 | // Secret: STRIPE_SECRET_KEY. Without it nothing is charged and the | |
| 46 | // runner decides who may start agents some other way. | |
| 47 | "observability": { "enabled": true } | |
| 48 | } |