Replicate Algolia’s pay-as-you-go pricing model with Lago.
Model | Search API |
---|---|
Monthly price | $1.50 / 1,000 requests |
Free usage (each month) | 10,000 requests |
Set up Lago
Create billable metrics
aggregation_type
to sum_agg
to sum all request volumesfield_name
to search_requests_volume
for Search API trackingrecurring
to false
for metered billingCreate a plan
amount_cents
to 0
since there is no subscription feecharges
to use package
pricing model with Algolia’s ratesfree_units
of 10,000 requests per month includedCreate a customer
Create a subscription
code
.Ingest usage via events
code
to match your billable metric codesearch_requests_volume
property with the number of requestsMonitor current usage