
OpenMeter vs Stigg (2026): One Platform or a Runtime Layer?
OpenMeter vs Stigg, compared on metering, entitlements, credits, and billing connection. See how each is hosted and when each one fits your AI product.
Learn how prorated billing works, calculate mid-cycle charges and credits, and understand plan changes, cancellations, and AI credit adjustments.
An enterprise customer moves to a bigger plan midway through their billing cycle. Finance approves the payment, and their developers immediately start running more AI workloads.
A few requests later, they hit the same usage ceiling as before. The invoice says one thing; the application is enforcing another.
Prorated billing determines what the customer owes for the remaining period. The implementation also needs to account for when their new allowances take effect.
Prorated billing is a method of charging customers for the portion of a billing period they use. It adjusts subscription charges when a customer signs up, changes plans, or cancels partway through a cycle.
For example, a customer using half of a $100 monthly subscription would owe $50 for that portion, assuming a simple daily calculation over a 30-day billing period.
Proration also works in reverse. When customers leave a higher-priced plan before the cycle ends, the unused portion can become a credit or refund, depending on the billing agreement.
Prorated billing is calculated by dividing the full plan price by the number of days in the billing cycle, then multiplying by the days covered.
The basic daily-rate formula is:
Prorated charge = (Plan price ÷ Days in cycle) × Days used
For a $90 monthly plan used for 10 days in a 30-day cycle:
($90 ÷ 30) × 10 = $30
The customer owes $30 for those 10 days.
When a customer changes plans, the calculation includes a credit for the unused portion of the old plan and a charge for the remaining portion of the new plan.
A customer upgrades from a $120 monthly plan to a $240 monthly plan after using 10 days of a 30-day billing cycle.
With 20 days remaining, the billing system calculates 2 adjustments:
The net adjustment is $80. Depending on the billing settings, the provider can collect it during the upgrade or include it on the next invoice.
The example uses daily proration. Some billing providers, including Stripe, calculate adjustments using more precise timestamps. The exact amount depends on when the plan change takes effect.
Prorated billing applies when a subscription service starts, changes, or ends between renewal dates. The following scenarios account for the adjustments customers encounter most often.
A customer joins a $100 monthly plan with 10 days remaining in a 30-day cycle.
The prorated charge is:
[
1001030=33.33
]
The customer pays $33.33 for the first partial period, followed by $100 at the next renewal.
The calculation assumes the subscription uses an existing billing date. A product that starts a fresh monthly cycle on signup would bill the full period.
An upgrade from $120 to $240 with 20 days remaining produces an $80 net adjustment, as shown in the earlier example.
The billing provider calculates both line items. The application also has to apply whatever access and allowance changes the new plan includes.
The timing of those changes belongs in the subscription policy. The upgrade and downgrade flow determines how the product responds when the plan takes effect.
A customer switches from a $240 monthly plan to a $120 plan halfway through a 30-day cycle.
The unused portion of the old plan is worth $120, and the remaining 15 days on the new plan cost $60. That means the difference is a $60 credit.
Depending on the agreement and billing provider, that credit can reduce a future invoice or be refunded.
A customer cancels a $90 subscription after 18 days of a 30-day cycle, leaving 12 unused days.
If the contract permits a prorated refund:
[
901230=36
]
The customer receives $36 in unused subscription value.
A service may continue providing access through the end of the paid period without issuing a refund.
Prorated billing helps subscription businesses charge for the service period customers receive. It also gives customers more flexibility to change their subscriptions between renewals.
The main benefits include:
Proration adds invoice calculations and policy decisions. Products with usage allowances also need to coordinate billing adjustments with the access customers receive.
Prorated billing is one way to manage a subscription change during an active billing period. Full-period charges, changes at renewal, and deferred invoicing handle the timing and payment differently.
Deferred invoicing and deferred plan changes work differently.
With deferred invoicing, customers can access their upgraded plan immediately while the prorated charge appears on their next invoice. A deferred plan change keeps the current subscription active until the scheduled date.
Stripe supports both immediate and deferred proration adjustments, depending on the subscription settings.
Prorated billing works differently for AI products because mid-cycle plan changes affect subscription charges, credit balances, and usage limits, all of which need to reflect the customer's new plan.
For example, upgrading an AI agent platform may give a customer more tokens, additional credits, access to premium models, or higher agent budgets.
The billing provider calculates the prorated charge, while the application's entitlement management system controls which features and usage allowances the customer can access.
A successful payment doesn't update those allowances on its own. The application needs to apply the new entitlements when the plan change takes effect, so customers can use the resources they've paid for.
A customer upgrades from a plan with 50,000 monthly credits to one with 200,000 credits.
The subscription adjustment has a clear monetary calculation. The credit allocation depends on the product's rules, including what happens to the existing balance.
These policies produce different balances, even when the customer pays the same prorated subscription charge.
Prepaid credits introduce additional rules for grant dates, expiry, rollover, and credit consumption.
The billing adjustment and credit grant should follow the same effective plan-change policy, with enough transaction history to reconcile both records.
Entitlement changes need a clear effective time so customers receive the correct feature access, token limits, and credit allowances when their plan changes.
Upgrades may require new limits before the next AI request, while downgrades can take effect immediately or at renewal.
For enterprise AI products, the same rules apply to budgets allocated across users, agents, and departments.
Proration only applies to the fixed subscription fee. Usage billed in arrears, like overage tokens, isn’t prorated in Stripe. The application also needs to calculate how the plan change affects the customer's credits.
Consider a customer upgrading after 12 days of a 30-day billing cycle:
The subscription adjustment works out as follows:
The customer owes $120 for the upgrade if the provider collects the adjustment immediately.
Credit allocation requires a separate calculation. If the product grants a prorated share of the new plan's monthly credits, the customer receives:
200,000 × (18 ÷ 30) = 120,000 credits
The application must also account for unused credits from the old plan. Depending on the policy, those credits may remain available, expire, or be adjusted.
The 120,000-credit grant isn't necessarily the customer's final balance. Existing grants and prior consumption still matter, which is why AI credit infrastructure needs rules for expiry, burn order, and balance adjustments.
Billing and product access fall out of sync when the billing adjustment and the entitlement update happen at different times.
A mid-cycle upgrade requires 2 updates:
If payment succeeds but the entitlement update fails, customers may remain on their old limits.
This is the customer from the top of this article who paid for the bigger plan but is still on the old limits. If access changes before payment is confirmed, they may receive resources they haven’t paid for.
An AI request may still be running when a customer changes plans. The application needs a consistent rule for which plan's allowances apply.
One approach is to associate each request with the entitlement version or credit reservation active when it began. Subsequent requests use the new plan once the change takes effect.
Retries, delayed webhooks, and partial failures can create mismatches between billing and entitlement records.
Idempotent processing and retry mechanisms help prevent duplicate charges or credit grants. Linking each adjustment to its subscription change also gives engineering and finance a record to reconcile when something fails.
Implementing prorated billing for AI products requires clear plan-change policies, coordinated billing and entitlement updates, and traceable credit adjustments.
Start with the rules governing when changes take effect and how the remaining subscription period is valued.
Decisions include:
The policies belong in the subscription and credit data models so the application applies them across customers and contract periods.
A plan-change workflow should record the requested change, its effective time, and the status of both required updates.
Billing providers handle the monetary adjustment. The entitlement layer applies the access and usage allowances associated with the new plan.
Use idempotency keys and retry-safe processing, so duplicate events don't create repeated charges or grants.
The workflow also needs recovery behavior when payment succeeds but provisioning fails, or when an attempted change never reaches its required payment state.
The entitlement layer resolves feature access, usage limits, and credit allocations from the active plan and applicable overrides.
When a change takes effect, runtime checks need access to the new effective allowances.
For products using credit wallets, grant changes should follow the configured proration policy while preserving the transaction history.
A mid-cycle invoice should show how the adjustment was calculated.
Include the unused old-plan credit, the new-plan charge, and the resulting balance. Record the effective dates behind those amounts.
Customers can then reconcile the charge with their subscription history, and support can investigate disputes without reconstructing the calculation from application logs.
Prepaid AI credits can involve paid grants, promotional balances, expiry dates, and adjustments.
An append-only ledger records grants, deductions, expirations, and corrections, which gives finance the records it needs for revenue recognition and reconciliation.
Finance determines the accounting treatment based on the contract and applicable standards. Engineering supplies the event and transaction records required to support those decisions.
A mid-cycle upgrade should update the customer's credits, usage limits, and feature access when the new plan takes effect. If billing and entitlements fall out of sync, customers can end up paying for resources they still can't use.
Stigg is the usage runtime for AI products, enforcing entitlements, credits, usage limits, and spend governance in the request path. It works alongside billing providers like Stripe and Zuora, which continue handling charges and payments.
Stigg supports prorated plan changes through:
Your billing provider calculates what the customer owes. Stigg applies the credits and access rules associated with the new plan.
The Stigg documentation walks through connecting your billing provider, configuring entitlements, and managing credit grants for mid-cycle plan changes. If you’d rather work through how plan changes should hit your own stack, talk to a human on the Stigg team.
Prorated means divided in proportion to the amount of time or service used. In billing, a customer who uses half of a monthly subscription may pay half the monthly price, depending on the agreed billing policy.
You calculate a prorated bill by dividing the full-period price by the days in the billing cycle and multiplying by the days covered. A $90 monthly plan used for 10 days of a 30-day period costs $30.
You can avoid prorated charges by scheduling subscription changes for the next renewal date or choosing a provider's non-prorated billing option. Changing plans during an active billing cycle may create adjustments under the provider's policy.
A mid-cycle downgrade can generate a credit for the unused portion of the higher-priced plan, adjusted for the time remaining on the lower-priced plan. The provider may apply the credit to a future invoice or issue a refund under the contract's terms.
The main difference between prorated billing and deferred billing is what each term describes. Proration determines the charge for a partial period, while deferred invoicing postpones collection. A subscription change can be prorated and invoiced at renewal.
Prorated billing for AI credits adjusts the subscription charge while a separate credit policy determines the updated allocation. The application may preserve existing grants, issue a prorated top-up, or recalculate the available balance according to the contract.