ukaf

What the agents spent and what shipped

Export list price$40.70
Export billed$32.80
List per feature$9.28
Features3

The export has 12 events. List price is $40.702400. The invoice (on-demand only; Included and Free bill as zero) is $32.800000. 3 features account for $27.852000 list and $31.200000 billed. Overhead is $12.850400 list and $1.600000 billed. Feature totals plus overhead equal the export.

Stages that add up

List-price spend builds from planning through fixes. Add overhead to reach the full export total.

Planning / spec · $0.000000$0.00Development · $26.532000$26.53Testing / CI · $0.000000$0.00Deploy + acceptance · $0.000000$0.00Fixes · $1.320000$1.32Overhead / unattributed · $12.850400$12.85Total · $40.702400$40.70
Planning / specDevelopmentTesting / CIDeploy + acceptanceFixesOverhead / unattributedTotal
StageList priceBilled
Planning / spec$0.000000$0.000000
Development$26.532000$28.800000
Testing / CI$0.000000$0.000000
Deploy + acceptance$0.000000$0.000000
Fixes$1.320000$2.400000
Overhead / unattributed$12.850400$1.600000
Total$40.702400$32.800000
Features + Overhead / unattributed
FeatureList priceBilled
northwind/widgets#18$10.140000$7.300000
northwind/widgets#19$0.152000$0.000000
northwind/widgets#21$17.560000$23.900000
Overhead / unattributed$12.850400$1.600000
Total$40.702400$32.800000

Overhead / unattributed · 6 Events · 25361400 Tokens

What does each size of change cost?

The tier is the higher of the two gates. Hand-written lines are additions plus deletions on files that are not lockfiles or generated. S: under 50 lines and at most 3 files. M: 50–299 lines or 4–10 files. L: 300–999 lines or 11–30 files. XL: 1000 lines or more, or 31 files or more.

S
1 Features · 16 SLOCList price $0.15 · Billed $0.00
$0.15List per feature
M
1 Features · 260 SLOCList price $10.14 · Billed $7.30
$10.14List per feature
L
0 Features · 0 SLOCList price $0.00 · Billed $0.00
—List per feature
XL
1 Features · 1710 SLOCList price $17.56 · Billed $23.90
$17.56List per feature
Cost by complexity
TierFeaturesSLOCList / 100 SLOCList priceBilled
S116$0.950000$0.152000$0.000000
M1260$3.900000$10.140000$7.300000
L00—$0.000000$0.000000
XL11710$1.026900$17.560000$23.900000
Features$27.852000$31.200000
Overhead / unattributed$12.850400$1.600000
Total$40.702400$32.800000

What drove the priciest day?

Daily list-price spend on dates with usage (UTC).

2026-11-18 · List price$16.24
Billed$21.50
Fast at list price$16.24
2026-11-01 · $10.00500011-012026-11-03 · $0.0000002026-11-03 · Fast $10.14000011-032026-11-10 · $0.1520002026-11-10 · Fast $0.25200011-102026-11-12 · $0.06480011-122026-11-18 · $0.0000002026-11-18 · Fast $16.24000011-182026-11-20 · $0.0000002026-11-20 · Fast $1.32000011-202026-11-25 · $0.02640011-252026-11-30 · $2.50220011-30

Other list-price spend · Fast · Median active day $1.91

Daily spend details
UTCList priceBilledFast
2026-11-01$10.005000$0.000000$0.000000
2026-11-03$10.140000$7.300000$10.140000
2026-11-10$0.404000$0.250000$0.252000
2026-11-12$0.064800$0.800000$0.000000
2026-11-18$16.240000$21.500000$16.240000
2026-11-20$1.320000$2.400000$1.320000
2026-11-25$0.026400$0.550000$0.000000
2026-11-30$2.502200$0.000000$0.000000

What to change

Turn off Fast mode for cloud agents (model picker: Fast = off) and rerun those jobs at the standard rate.

Evidence. 69% of list cost was Fast (grok-4.7-high-fast), 6 events, list $27.95 of $40.70. On-demand billed on those rows was $31.45. Fast list price on the rate card is the published fast rate; the counterfactual re-prices the same tokens at the matching non-fast model.

Impact. Saves about $15.75/month billed and $14.00/month of list price.

Stop on-demand runs that are not attached to a pull request (set their on-demand cap to $0, or run them only inside the included pool).

Evidence. 3 on-demand events with no pull request billed $1.60 (5% of billed). Models: grok-4.7-high-fast, grok-bot-automation.

Impact. Saves about $1.60/month billed if those runs stop.

Block merge while required CI is red, and name an owner who reverts a bad production deploy the same day.

Evidence. 1 of 3 shipped changes failed (33%): northwind/widgets#21. Median time to restore, which is the fixes stage, was 7h 0m 0s.

Impact. Holding the failure rate at 15% would avoid about 231 minutes/month of restore time at this deploy rate (successful production deployments).

Cache the dependency install in CI and skip jobs that already passed on the same SHA. Start with northwind/widgets#21, where testing was 8h 0m 0s.

Evidence. Median testing stage is 2h 0m 0s and that is 67% of median lead time (3h 0m 0s, which is testing + deploy) across 3 features.

Impact. A 30% shorter testing stage is about 36 minutes per feature, 108 minutes/month at this feature rate.

Delivery (DORA)

Lead time is the median of (testing + deploy) across shipped changes. Time to restore is the median fixes stage on failed changes. Neither number is a second timeline beside the stages above.

0.70deploys / weeksuccessful production deployments
3h 0m 0slead time
33%change failure rate (1/3)
7h 0m 0stime to restore

Explore the report details

The same total, split by model
ModelPriced asEventsList priceBilled
grok-4.7-high-fastgrok-4.7-fast6$27.952000$31.450000
grok-bot-defaultgrok-4.72$12.507200$0.000000
grok-4.7grok-4.71$0.152000$0.000000
grok-bot-automationgrok-4.72$0.091200$1.350000
jev-1.14.0default1$0.000000$0.000000
Total12$40.702400$32.800000
Reconciliation
  • OK list price: features + overhead = export — $40.702400 == $40.702400
  • OK billed cost: features + overhead = export — $32.800000 == $32.800000
  • OK tokens: features + overhead = export — 50278400 == 50278400
  • OK events: features + overhead = export — 12 == 12
  • OK list price by model = export — $40.702400 == $40.702400
  • OK billed cost by model = export — $32.800000 == $32.800000
  • OK tokens by model = export — 50278400 == 50278400
  • OK events by model = export — 12 == 12
  • OK northwind/widgets#18 stage list = feature list — $10.140000 == $10.140000
  • OK northwind/widgets#18 stage billed = feature billed — $7.300000 == $7.300000
  • OK northwind/widgets#18 stage tokens = feature tokens — 9215000 == 9215000
  • OK northwind/widgets#18 stage events = feature events — 2 == 2
  • OK northwind/widgets#18 stage durations = feature duration — 36000000000 == 36000000000
  • OK northwind/widgets#18 DORA lead time = testing + deploy — 10800000000 == 10800000000
  • OK northwind/widgets#18 stages are the five consecutive names — planning → development → testing → deploy → fixes
  • OK northwind/widgets#19 stage list = feature list — $0.152000 == $0.152000
  • OK northwind/widgets#19 stage billed = feature billed — $0.000000 == $0.000000
  • OK northwind/widgets#19 stage tokens = feature tokens — 222000 == 222000
  • OK northwind/widgets#19 stage events = feature events — 1 == 1
  • OK northwind/widgets#19 stage durations = feature duration — 6000000000 == 6000000000
  • OK northwind/widgets#19 DORA lead time = testing + deploy — 2400000000 == 2400000000
  • OK northwind/widgets#19 stages are the five consecutive names — planning → development → testing → deploy → fixes
  • OK northwind/widgets#21 stage list = feature list — $17.560000 == $17.560000
  • OK northwind/widgets#21 stage billed = feature billed — $23.900000 == $23.900000
  • OK northwind/widgets#21 stage tokens = feature tokens — 15480000 == 15480000
  • OK northwind/widgets#21 stage events = feature events — 3 == 3
  • OK northwind/widgets#21 stage durations = feature duration — 172800000000 == 172800000000
  • OK northwind/widgets#21 DORA lead time = testing + deploy — 46800000000 == 46800000000
  • OK northwind/widgets#21 stages are the five consecutive names — planning → development → testing → deploy → fixes
  • OK list price by tier + overhead = export — $40.702400 == $40.702400
  • OK billed cost by tier + overhead = export — $32.800000 == $32.800000
  • OK every shipped lead time is testing + deploy — median lead time 10800000000 µs over 3 changes
How the numbers were made
  • Included and Free rows have billed cost 0. Their list price still comes from the pricing table.
  • List price is rounded half-even to a micro-dollar on each event, then summed. The total is the sum of the rows, not a re-price of the totals.
  • Fast savings assume the invoice scales with list price: billed saving = billed × (list − non-fast list) / list, per event.
  • Bot and Auto skus with no published rate are priced as Grok 4.7 standard. See the pricing file.
  • The fixes stage is only time after acceptance (a revert, a restore, or a later commit). Rework before the first green CI stays inside testing.
  • DORA lead time equals the testing stage plus the deploy stage. It is not a separate overlapping window.
  • These model ids were missing from the pricing table and used the default rate: jev-1.14.0.
Features

northwind/widgets#18 Invoice export

tier M · 260 SLOC · ada

Invoice export (northwind/widgets#18) is a tier M change: 260 hand-written lines across 2 files (2005 lines in lockfiles or generated files are not counted). Planning ran 2h 0m 0s, development 5h 0m 0s, testing 2h 0m 0s, deploy and acceptance 1h 0m 0s, fixes 0s. Those five intervals meet end to end and add up to 10h 0m 0s.

StageDurationEventsList priceBilled
Planning / spec2h 0m 0s0$0.000000$0.000000
Development5h 0m 0s2$10.140000$7.300000
Testing / CI2h 0m 0s0$0.000000$0.000000
Deploy + acceptance1h 0m 0s0$0.000000$0.000000
Fixes0s0$0.000000$0.000000
Total10h 0m 0s2$10.140000$7.300000

Lead time = testing + deploy = 3h 0m 0s.

northwind/widgets#19 Fix the footer year

tier S · 16 SLOC · grace

Fix the footer year (northwind/widgets#19) is a tier S change: 16 hand-written lines across 1 files (0 lines in lockfiles or generated files are not counted). Planning ran 30m 0s, development 30m 0s, testing 20m 0s, deploy and acceptance 20m 0s, fixes 0s. Those five intervals meet end to end and add up to 1h 40m 0s.

StageDurationEventsList priceBilled
Planning / spec30m 0s0$0.000000$0.000000
Development30m 0s1$0.152000$0.000000
Testing / CI20m 0s0$0.000000$0.000000
Deploy + acceptance20m 0s0$0.000000$0.000000
Fixes0s0$0.000000$0.000000
Total1h 40m 0s1$0.152000$0.000000

Lead time = testing + deploy = 40m 0s.

northwind/widgets#21 Rewrite billing

tier XL · 1710 SLOC · ada · failed change

Rewrite billing (northwind/widgets#21) is a tier XL change: 1710 hand-written lines across 5 files (8020 lines in lockfiles or generated files are not counted). Planning ran 2h 0m 0s, development 1d 2h 0m 0s, testing 8h 0m 0s, deploy and acceptance 5h 0m 0s, fixes 7h 0m 0s. Those five intervals meet end to end and add up to 2d 0h 0m 0s.

StageDurationEventsList priceBilled
Planning / spec2h 0m 0s0$0.000000$0.000000
Development1d 2h 0m 0s2$16.240000$21.500000
Testing / CI8h 0m 0s0$0.000000$0.000000
Deploy + acceptance5h 0m 0s0$0.000000$0.000000
Fixes7h 0m 0s1$1.320000$2.400000
Total2d 0h 0m 0s3$17.560000$23.900000

Lead time = testing + deploy = 13h 0m 0s.