You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Usage: add a month-to-date (MTD) period to usage statistics
#32432
For API-based (pay-per-token) usage there is no month-to-date view. I want to know how much I have spent since the start of the current month — in tokens and/or dollars — but the Usage page does not aggregate that.
Request
Add an MTD (month-to-date) period to the usage statistics: cumulative tokens and estimated cost from the 1st of the current month until now, per provider and overall.
A more flexible variant: make it a monthly period with a configurable reset date, so the window matches the provider's billing cycle, which does not always start on the 1st.
Motivation
API billing is monthly, so monthly spend is the number that matters for budgeting. Subscription limits reset weekly and are already surfaced, but for API usage I currently have to add up daily values by hand to know where I stand in the month.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
For API-based (pay-per-token) usage there is no month-to-date view. I want to know how much I have spent since the start of the current month — in tokens and/or dollars — but the Usage page does not aggregate that.
Request
Add an MTD (month-to-date) period to the usage statistics: cumulative tokens and estimated cost from the 1st of the current month until now, per provider and overall.
A more flexible variant: make it a monthly period with a configurable reset date, so the window matches the provider's billing cycle, which does not always start on the 1st.
Motivation
API billing is monthly, so monthly spend is the number that matters for budgeting. Subscription limits reset weekly and are already surfaced, but for API usage I currently have to add up daily values by hand to know where I stand in the month.
All reactions