Custom Credit Consumption Formulas
We’re excited to introduce Custom Credit Consumption Formulas, giving you full control over how usage of metered features translates into credit burn - so your pricing can better reflect real customer value.
🆕 What’s New
- Define custom formulas that convert event data into credit deductions
- Use event dimensions (e.g., token count, number of files, duration) as formula parameters
- Apply different formulas per feature
- Get real-time credit deduction with full audit-trail visibility in the credit ledger
- Works seamlessly with all existing credit-based pricing models
💡 Why This Matters
- Dynamic credit calculation - Use event dimensions to determine the credit cost of each action - perfect for scenarios where usage isn't uniform. For example:
A summary action that processes X documents, Y emails, and Z images, where processing of each document, email and image costs a, b, and c credits respectively:
→ credits = (a × X) + (b × Y) + (c × Z)
A prototyping action using multiple LLMs under the hood, where consumed credits reflect a premium for each LLM model:
→ credits = (1.1 × Model1_Tokens) + (1.5 × Model2_Tokens) + (5 × Model3_Tokens)
- Flexibility - Define burn rates that accurately model your product’s complexity and value.
- Operational simplicity - Stigg handles real-time enforcement, credit tracking, audit logs, and metering—so you only focus on designing the right pricing formula.
🤔 Who This Is For
- Product teams offering AI, data processing, media, or any metered services that need granular usage-to-credit mapping
- Engineering teams wanting an easy, maintainable way to enforce complex credit-consumption logic at scale
🛠 How to Get Started
- Go to your plan’s price configuration in Stigg
- Under Credit Consumption, select the metered feature you want to configure
- Choose Advanced calculation mode
- Enter your formula using mathematical operators and event dimensions
- Use the credit ledger and reporting dashboards to validate and refine your formula