Prompt
How do I price API access by request volume?
Latest observation
A good way to price API access by request volume is to charge on usage tiers with clear overage pricing. The goal is to make pricing easy to understand, predictable for customers, and aligned with your infrastructure costs.
1) Start with your unit economics
First, estimate your cost per request:
- compute / serverless execution
- database reads/writes
- storage
- bandwidth
- third-party API calls
- logging/monitoring
- support overhead
Then add your target gross margin.
Formula:
- Price per request = cost per request × markup
- Or use tiered pricing to bundle volume discounts.
2) Use tiers, not a single flat per-request rate
Flat per-request pricing is simple, but tiers usually work better because they:
- reward larger customers with lower unit prices
- create a clear upgrade path
- protect you from low-volume customers generating high support cost
Example structure:
- Free: 1,000 requests/month
- Starter: 100,000 requests for $49/month
- Pro: 1,000,000 requests for $299/month
- Business: custom pricing / higher volumes
3) Add overage pricing
If customers exceed their included volume, charge an overage rate.
Example:
- Starter includes 100k requests
- Extra requests: $0.0008/request
This helps avoid hard cutoffs and makes revenue scalable.
4) Decide whether to bill on:
A. Raw requests
Simple and transparent. Best if most requests are similar in cost.
B. Weighted requests
Better if some endpoints are much more expensive than others.
Example:
- standard request = 1 unit
- search request = 2 units
- heavy analytics request = 10 units
This prevents high-cost endpoints from being abused.
C. Usage credits
Sell credits that different endpoints consume at different rates. Flexible, but more complex.
5) Keep pricing simple to understand
A customer should be able to answer in 10 seconds:
- How many requests are included?
- What happens when I exceed the limit?
- What do extra requests cost?
- Are all endpoints billed the same?
If not, simplify.
6) Match price to customer value, not just cost
If your API enables high business value, you can price above infrastructure cost. Consider:
- how critical the API is
- how much revenue customers earn from it
- alternatives in the market
- switching costs
- reliability / SLA / support
7) Common pricing models
Per-request only
- e.g. $0.001/request
- good for very simple usage
- can feel unpredictable
Subscription with included usage
- e.g. $99/month includes 250k requests
- most common
- predictable recurring revenue
Subscription + overage
- best balance of predictability and scalability
Prepaid credits
- good for self-serve APIs
- reduces billing complexity and credit risk
8) Example pricing table
Here’s a simple example:
| Plan | Monthly price | Included requests | Overages |
|---|---|---|---|
| Free | $0 | 10,000 | disabled |
| Starter | $29 | 100,000 | $0.0005/request |
| Growth | $99 | 500,000 | $0.0003/request |
| Scale | $399 | 2,500,000 | $0.00015/request |
9) Track usage precisely
You need reliable metering:
- log each request
- aggregate by account and billing period
- decide when to count retries, failed requests, webhooks, etc.
- expose a usage dashboard
- send alerts at 50%, 80%, 100% of quota
10) Test pricing with customers
Before locking pricing:
- talk to target users
- compare with competitor pricing
- offer early-access discounts
- watch conversion and churn
- adjust tier sizes based on actual usage patterns
Rule of thumb
If your API is self-serve and usage varies a lot, the best default is:
Monthly subscription + included request volume + overage charges
It’s usually the easiest to sell and manage.
If you want, I can also help you:
- design a pricing table for your specific API, or
- calculate a per-request price from your costs and target margin.