Billing Modes in MANTA
MANTA provides flexible billing modes to accommodate different organizational needs and user scenarios. Each billing mode offers unique features and capabilities, allowing you to choose the approach that best fits your use case.
What is a Billing Mode?
A billing mode determines how users are charged for their usage of MANTA. Whether you want to offer unrestricted free access, implement pay-as-you-go pricing, subscription-based plans, or a hybrid approach, MANTA supports multiple billing models to suit your requirements.
Available Billing Modes
MANTA supports five distinct billing modes:
✅ None
Provides fully unrestricted access to all features without any usage tracking or billing. Ideal for development, testing, or organizations that do not require usage monitoring.
🆓 Free
Offers fully unrestricted access similar to None mode, but with token tracking enabled. Perfect for monitoring usage metrics without implementing billing restrictions.
🪙 Per Token Only
Implements a pay-as-you-go model where users are charged daily based on their token consumption. Users must provide payment information and invoices are generated automatically.
📅 Subscription Only
Limits access to predefined subscription plans. Users must select a plan to gain access, with billing occurring on a monthly or annual basis according to their subscription period.
⚙️ Hybrid
Combines Per Token and Subscription billing modes, allowing users to opt into subscription plans while also supporting pay-as-you-go billing for flexible usage patterns.
Configuring Your Billing Mode
To set your desired billing mode, add the following environment variable to your .env file:
BILLING_MODE=<BILLING_MODE>
Replace <BILLING_MODE> with one of these values:
NONEFREEPER_TOKEN_ONLYSUBSCRIPTION_ONLYHYBRID
Global Billing Configuration
Billing Cycle Timezone
Billing cycles are calculated based on a configurable timezone to accommodate users across different regions. Set the timezone using:
BILLING_CYCLE_TIMEZONE=<BILLING_CYCLE_TIMEZONE>
Global Currency
You can set a single currency for all billing operations in your MANTA instance:
GLOBAL_CURRENCY=<GLOBAL_CURRENCY>
Currently supported currencies are: USD, EUR, GBP, and CAD. Zero-decimal currencies are not supported at this time.