Mayson Monorepo Documentation
    Preparing search index...

    Function calculateOverage

    • Calculates the overage amount based on usage

      Parameters

      • totalUsageCost: number

        Total AI usage cost in dollars

      • includedCredits: number

        Included credits for the plan in dollars

      Returns number

      Overage amount in dollars (0 if within included credits)