How Cost Tracker computes cost.

No black boxes. Every number on your dashboard comes from your snapshots and a simple, transparent formula — here they are.

Daily run rate
rate = slope(cumulative_credits, day)

A linear regression over your recent snapshots. The slope is credits per day; recent snapshots weigh more than older ones.

Monthly forecast (credits)
forecast = rate × 30

Multiplies the daily rate by 30 days. If you haven't logged a snapshot in a while, we still use the last known slope until you add more data.

Post-publish credits
post = latest_cumulative − baseline_at_publish

When you mark a project published, we snapshot the credit total. Anything after that counts as run cost, not build cost.

Cost to date (USD)
cost = post × usd_per_credit + api_since_publish

Post-publish credits times your USD-per-credit rate, plus any monthly attached-API fees prorated across the published window.

Worked example

A published project logs snapshots for 30 days. Cumulative credits climb from 120 to 442. Cost Tracker fits the slope, forecasts month two, and separates run cost from build cost.

Daily run rate
≈ 11 cr/day
Forecast / mo
≈ 330 cr
USD per credit
$0.05
Forecast USD
$16.50

Frequently asked