R
RunPod•2d ago
vuuw

Billing question

Hey, the math doesn't add up here... please check the images! How can I get the same amount through the API?
No description
No description
9 Replies
yhlong00000
yhlong00000•2d ago
I am wondering if it is related to the time zones. @nathaniel
nathaniel
nathaniel•2d ago
just to compare apples to apples, can you try setting grouping: gpuTypeId in the billing api request? I will see if there's a difference in the backend queries, it looks like there might be if so it'll be a quick fix try now @vuuw I found a difference thanks for reporting, I think that was it but lmk if numbers still don't agree hopefully you can see that the diskSpaceBilledGB is really in units of GB * time, and so is correct but isn't super informative
vuuw
vuuwOP•17h ago
Hey, thanks for checking this! I tried again and get this now:
No description
No description
vuuw
vuuwOP•17h ago
Is it correct to assume that amount should be same as what's shown in billing explorer?
nathaniel
nathaniel•17h ago
yeah, it should be the same get rid of all the filters though, they seem to be filled in with default values from the api testing site never mind I see only the two right ones are checked hmm yeah still looks wrong doesn't it. ok, bear with me. will check with my own billing data now and report back when they match / what the issue was ok, I think the fix from yesterday just didn't take. the service the queries are running on has some kinda weird ux for when your changes are actually published try now, the fix is actually there this time :Facepalm:
vuuw
vuuwOP•17h ago
Looks fixed now 😄
No description
vuuw
vuuwOP•17h ago
Thanks!
nathaniel
nathaniel•17h ago
great. sorry it took some stumbling around. hope the billing apis help you out
vuuw
vuuwOP•17h ago
No problem, thanks for the quick support!

Did you find this page helpful?