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.
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.
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 = 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 = 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.
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.