API Usage / Balance mismatch

Hi,
Am I missing something here with how API usage is tracked?
I have added approximately $110 worth of credits within the last month. My total spend for this period is logged as approx. $36, but my remaining credits is < $30, whereas I believe it should be ~$70
I did not have a negative balance at any point and based on all tracking I have done the total spend looks accurate.
On a day-to-day tracking this mismatch it looks suspiciously like my remaining credits are decreasing by 2x as much as I believe they should be.

Am I misunderstanding the ‘total spend’ or missing something else altogether?

Thanks

Here’s how you can give more examination to what is going on.

First, look at the actual payments you’ve made individually, and how much of each is remaining:

https://platform.openai.com/settings/organization/billing/credit-grants

You will see credit grant lines like:

1: (available) $30.38/$50.00
2: (available) $0.00/$20.00
3: (expired) $0.00/$20.00

In my example,

  • item one is you paying $50, of which $30.38 remains for use ($19.62 was consumed).
  • Item two is a payment that has been completely consumed by usage, no balance remains.
  • Item three is expired by being over 1 year since purchase, and any unused balanced you had is wiped so you see $0.00 instead of the amount OpenAI took from you. That makes it hard to see how much usage had been funded by it.

The total of the available amounts should be shown on the “overview” page accurately.

Then you only need to audit your usage, which can be via the daily usage bars for recent consumption, or you can dive deeper. You can see if the usage and cost is unexpected, and then group by project to see who’s using the credits.

Many thanks
In credit grants I see something like:

  1. (Available) $26.13 / $57.00
  2. (Available) $0.00 / $41.68
  3. (Available) $0.00 / $11.50

$26.13 matches what is left in my credit balance.

This implies I have spent $84.05

However it does not match my usage which is logged under total spend as $42.03 (exactly half of what appears to have been deducted which is highly suspicious)

I only have one project/organization, one api key, and if I (roughly) total the costs on the API breakdown (either by service or daily spend), they match the total spend figure.

Keep in mind - the usage only shows the most recent 30 days. You may have to awkwardly select past months in the usage UI by the correct day period to see other usage from previous months, and keep track of the period of days. You could have consumed credits over many months.

If you ultimately discover unaccountable discrepancy, you can compile your info reporting error in the system, and send it off with your org ID to support@openai.com, as they won’t be able to discuss individual accounts on this forum.

1 Like

Thanks, yes I’ve selected the correct time frame to ensure it covers all months and includes all usage. There is nothing to explain the discrepancy between actual usage and credits remaining.
I’ll try the support email then, as I’m increasingly confident this is an actual issue.

Thanks!

To note: it is not possible to select any one view in the usage UI that “covers all months”. You can pick a range over a month in the calendar, but then you simply get a slider below the usage bars that can move a window over seeing the total of one month at a time (and goes super-slow).

Yes, I noticed that. Found it more useful to Export to CSV which produced one file for each month. Adding up the totals for each gave me the $42 figure

Maybe you already tried this too, but in the legacy cost dashboard it lists all your costs, unlike the new one where you need to select the project.

https://platform.openai.com/settings/organization/usage/legacy

In the same page, there is also an activity dashboard, on which the exported csv is also more detailed, including possible legacy key usage and some project that you may be missing or even deleted.

Thanks. That is actually a more useful view! Although the numbers end up the same. Usage is still half of what is being spent from my credit balance.