---
title: "Metering and usage"
---

Metering is how you tell the cloud how much a buyer consumed, so the cloud bills
them for pay-as-you-go pricing. If any of your plans charge by consumption, you
report usage; if your plans are purely flat-fee, you do not. This page explains
what metering is, when you need it, and how it flows to each cloud.

"Usage / metering" and "dimension" are defined in the
[glossary](/concepts/glossary#core-objects).

## When you need metering

You report usage when a plan has a usage component:

- **Usage-based** plans.
- **Flat fee with usage** plans (Microsoft, Google Cloud).
- An AWS **contract** plan with **additional usage** dimensions charged outside
  the committed amount.

You do **not** report usage for purely flat-fee or per-user plans. In the
product, the subscription's **Usage** tab only appears when metering is supported
for that plan.

## Dimensions and metrics

Usage is always reported against a named unit the cloud recognizes:

| Cloud | What you define | Notes |
|---|---|---|
| **AWS** | Usage **dimensions** with an **API name** | The API name is what the SaaS `BatchMeterUsage` call receives. Not available for AMI or Professional Services. Contract plans allow up to 24 additional usage dimensions. |
| **Microsoft** | A **marketplace metering service dimension** (ID, unit of measure, price per unit, included quantities) | Not available on Per User plans or managed apps. A free trial cannot be combined with custom meter dimensions. |
| **Google Cloud** | A **metric** (Metric ID, Reporting Unit) with usage fees and tiers | Metric ID and Reporting Unit cannot be changed once set, and a metric cannot be disabled once it has been used to post usage. |

You set these up on the plan before you can report usage against a subscription.

## How usage flows to each cloud

::::tabs
:::tab[AWS Marketplace]
Usage posts to AWS as SaaS metering records against the dimension API names on
the plan. You can record usage on the subscription's **Usage** tab, bulk-upload a
CSV, or post through the API. Each record shows a status of Success or Failed.
:::
:::tab[Microsoft Marketplace]
Usage posts as usage events against the plan's metering dimension. Usage can be
recorded only while the subscription is in an active state (Subscribed, or a
change in progress or failed). Per-user plans and managed apps do not meter.
:::
:::tab[Google Cloud Marketplace]
Usage is staged and then reported to Google on a background schedule — metered
usage typically appears on Google **within about an hour**. GCP usage rows show
Success, Failed, Pending or InProgress. Google Cloud batch upload has no tiered
option.
:::
::::

## Ways to report usage

- **In the product** — the subscription **Usage** tab (**Record New Usage**), or
  the **Usage → Upload** screen for a CSV batch.
- **From your application** — the metering API.
- **Tiered usage posting rules** — optional per-tenant rules that transform raw
  units into billed quantities (Fixed, Discount or Adjusted).

See [Report usage](/subscriptions/report-usage) for the in-product steps and the
[metering API guide](/developers/metering) to post from your application.

:::tip[What happens next]
After you post AWS or Microsoft usage, the record is sent to the cloud and its
status updates to Success or Failed. Google Cloud usage is reported by a hourly
background job, so it appears on Google within about an hour. A "Usage posted" or
"Usage posting failed" notification can be sent. See
[How SaaSify keeps data in sync](/concepts/how-sync-works).
:::

:::note
SaaSify's usage figures for Google Cloud are an estimate and may differ from
Google's own customer usage reports.
:::

## Related
::::cards
:::card[Report usage]{href="/subscriptions/report-usage"}
Upload, history, API and tiered rules.
:::
:::card[Metering guide (API)]{href="/developers/metering"}
Post usage from your application.
:::
:::card[Pricing models]{href="/concepts/pricing-models"}
Which plans need metering.
:::
:::card[Cross-cloud glossary]{href="/concepts/glossary"}
Definitions and the per-cloud term map.
:::
::::
