# Manage Monthly Active SSO Users usage

## What you are charged for

You are charged for the number of distinct users who log in or refresh their token during the billing cycle using a SAML 2.0 compatible identity provider (e.g. Google Workspace, Microsoft Active Directory). Each unique user is counted only once per billing cycle, regardless of how many times they authenticate. These users are referred to as "SSO MAUs".

### Example

Your billing cycle runs from January 1 to January 31. Although User-1 was signed in multiple times, they are counted as a single SSO MAU for this billing cycle.

1. **Sign User-1 in on January 3**

The SSO MAU count increases from 0 to 1.

```javascript
  const { data, error } = await supabase.auth.signInWithSSO({
  domain: 'company.com'
})

  if (data?.url) {
  // redirect User-1 to the identity provider's authentication flow
  window.location.href = data.url
}
```

2. **Sign User-1 out on January 4**

```javascript

const { error } = await supabase.auth.signOut()

```

3. **Sign User-1 in again on January 17**

The SSO MAU count remains 1.

```javascript
  const { data, error } = await supabase.auth.signInWithSSO({
  domain: 'company.com'
})

  if (data?.url) {
  // redirect User-1 to the identity provider's authentication flow
  window.location.href = data.url
}
```

## How charges are calculated

You are charged by SSO MAU.

### Usage on your invoice

Usage is shown as "Monthly Active SSO Users" on your invoice.

## Pricing

## Pricing

per SSO MAU. You are only charged for usage exceeding your subscription
plan's quota.

For a detailed breakdown of how charges are calculated, refer to [Manage Monthly Active SSO Users usage](/docs/guides/platform/manage-your-usage/monthly-active-users-sso).

The count resets at the start of each billing cycle.

| Plan       | Quota  | Over-Usage                          |
| ---------- | ------ | ----------------------------------- |
| Pro        | 50     |  per SSO MAU |
| Team       | 50     |  per SSO MAU |
| Enterprise | Custom | Custom                              |

## Billing examples

### Within quota

The organization's SSO MAU usage for the billing cycle is within the quota, so no charges apply.

| Line Item                | Units      | Costs                    |
| ------------------------ | ---------- | ------------------------ |
| Pro Plan                 | 1          |      |
| Compute Hours Micro      | 744 hours  |      |
| Monthly Active SSO Users | 37 SSO MAU |       |
| **Subtotal**             |            | **** |
| Compute Credits          |            | -    |
| **Total**                |            | **** |

### Exceeding quota

The organization's SSO MAU usage for the billing cycle exceeds the quota by 10, incurring charges for this additional usage.

| Line Item                | Units      | Costs                       |
| ------------------------ | ---------- | --------------------------- |
| Pro Plan                 | 1          |         |
| Compute Hours Micro      | 744 hours  |         |
| Monthly Active SSO Users | 60 SSO MAU |       |
| **Subtotal**             |            | **** |
| Compute Credits          |            | -       |
| **Total**                |            | **** |

## View usage

You can view Monthly Active SSO Users usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.

In the Monthly Active SSO Users section, you can see the usage for the selected time period.

## Exceeding Quotas

If you are on a paid plan and have [Spend Cap](/docs/guides/platform/cost-control#spend-cap) disabled or your organization is on Team Plan or above, you will pay for any overages.

When you are exceeding your quotas while being on a Free Plan or having [Spend Cap](/docs/guides/platform/cost-control#spend-cap) enabled, you will get a notification to your billing email address and put under a grace period. For more details, refer to our [Fair Use Policy](/docs/guides/platform/billing-faq#fair-use-policy).