Replicate BigQuery’s pay-as-you-go pricing model and offer free upfront credits with Lago.
Plan | Cost per volume of data scanned |
---|---|
On-Demand pricing | $6.25 per TiB (a measure of compute capacity) |
Set up Lago
Create a billable metric
aggregation_type
to sum_agg
to sum all data processedfield_name
to data_processed_volume
for tracking usagerecurring
to false
for metered billingCreate a plan
amount_cents
to 0
since there is no subscription feegraduated
charge model with BigQuery’s $6.25 per TiB rateCreate a customer
Create a wallet with free credits
expiration_at
to 90 days from now for the trial periodcode
.Ingest usage via events
code
external_subscription_id
properties
Monitor current usage