Skip to main content
Cloud cost per active user is a quick way to track if your infrastructure is scaling the way it should. For example, if cloud spend rises by 30% but your active users increase by 50%, your cost per user is actually going down, your efficiency is improving. But if user count stays flat and costs still go up 30%, something’s off and worth a closer look. To really see what’s happening, always link your spend to a core business metric. This is your .
CostsUsersCost / 1k usersVerdict
+30%+50%Scaling well
+30%+30%Flat, no gain, no loss
+30%+10%Drifting, investigate
The right metric is the one that correlates most closely with your cloud spend: when it goes up, costs should go up proportionally. If they don’t, you’ve found a problem worth investigating. Start by asking: what does my infrastructure actually serve?
  • SaaS / Product: DAU or MAU.
  • E-commerce: orders processed.
  • Fintech: transactions processed.
  • API platform: API requests.
  • Marketing: campaigns or emails sent.
  • Ad tech: impressions served or ad revenue.
  • Data / Analytics: queries or pipelines executed.
  • Streaming / Gaming: hours streamed or concurrent players.
Don’t stop at the global ratio. Break it down per team, per region, or per workflow step. A healthy global number can hide that one team or one region is drifting badly.
This guide walks through the setup with active users from Amplitude, a hands-on example of tracking unit economics. The same approach works with any metric you can push to Costory’s Metric Connector.

What you’ll get

  • A chart that overlays production costs with active users and cost per thousand users. Divergences are visible at a glance.
  • Recurring Slack reports showing cost and user trends side by side, without spreadsheet work.
  • An alert that fires when your cost per thousand active users crosses a threshold you define.

Prerequisites

  • Amplitude API credentials: API key + secret from Amplitude > Settings > Projects > [Your Project] > General. Used by the Metric Connector to pull daily active users into Costory.
  • A production cost filter: a where clause in the that isolates prod workloads. Exclude R&D, staging, and marketplace purchases, as they distort the unit cost calculation.

How to track cloud cost per active user

1

Import active users from Amplitude

Open the Metric Connector, enter your API key and secret.Set the aggregation to Average. You want the typical user count over the period, not a peak or a sum.
A metric can include one or more group-by dimensions (e.g., region, plan tier, team). When you add a group-by, Costory imports the metric broken down by that dimension, so you can later compute cost per thousand users per segment instead of only at the global level.
Once imported, go to Data Sources > Metrics. You’ll see “Daily Active Users” listed with an Active status. Click the chart icon on that row to open the metric in the . Your active users are loaded as query a.
Metrics datasources page, opening Daily Active Users in the Advanced Explorer
Not using Amplitude? Import from CSV, Google Sheets, Datadog, BigQuery, or S3 Parquet. Full list: Usage & Metrics Providers.
2

Build the cost per thousand users formula

Your active users are already loaded as query a. Add a Cost query as query b, filtered to production, for example Environment in Production. Then add a formula b / (a / 1000) to get cost per thousand users. Dividing by 1,000 gives a more readable number than cost per individual user.
Keep the cost scope tight. If you include non-production spend (R&D, staging, marketplace), the ratio will fluctuate for reasons unrelated to user-facing efficiency.
Advanced Explorer adding a Cost query filtered to production, then defining the formula b / (a / 1000) for cost per thousand active users
3

Save as a view and schedule to Slack

Save as a (e.g., “Production Cost per Thousand Users”) and schedule weekly or monthly delivery to Slack.
Saving the Production Cost per Thousand Users view and scheduling a recurring Slack report
4

Set an alert for efficiency regressions

Click the bell icon on the same view. Set a threshold on cost per thousand users. Costory notifies you when the ratio crosses it, so you catch efficiency regressions before they compound.
Setting an alert threshold on cost per thousand users

FAQ

Pick the metric that correlates most closely with your cloud spend. For most SaaS products, that’s daily or monthly active users. For e-commerce it may be orders processed, for API platforms it’s API requests, and for data platforms it’s queries executed. If the metric goes up and costs go up proportionally, you’ve found the right one.
Yes. Costory’s Metric Connector supports CSV, Google Sheets, Datadog, BigQuery, S3 Parquet, and more. See Usage & Metrics Providers for the full list.
Costory syncs Amplitude data daily. The metric updates automatically so your cost-per-user ratio stays current without manual intervention.
Use Average for user counts. It gives you the typical user count over the period rather than a peak or cumulative total. Use Sum for volume-based metrics like API requests or transactions processed.

Next steps

Slack Reports

Send weekly or monthly cost reports to your team channels.

Explore cost drivers

Drill into cost spikes and validate trends across services.

Improve tagging

Clean up labels and boost attribution accuracy.
Last modified on March 18, 2026