diff --git a/controller/billing.go b/controller/billing.go index ac99e887..ef72a62a 100644 --- a/controller/billing.go +++ b/controller/billing.go @@ -49,7 +49,7 @@ func GetUsage(c *gin.Context) { } amount := float64(quota) if common.DisplayInCurrencyEnabled { - amount /= common.QuotaPerUnit + amount = amount / 1000 * common.QuotaPerUnit } usage := OpenAIUsageResponse{ Object: "list",