mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
92 lines
4.5 KiB
Plaintext
92 lines
4.5 KiB
Plaintext
---
|
|
id: 'manage-usage-custom-domains'
|
|
title: 'Manage Custom Domain usage'
|
|
---
|
|
|
|
## What you are charged for
|
|
|
|
You can configure a [custom domain](/docs/guides/platform/custom-domains) for a project by enabling the [Custom Domain add-on](/dashboard/project/_/settings/addons?panel=customDomain). You are charged for all custom domains configured across your projects.
|
|
|
|
<Admonition type="note">
|
|
|
|
Custom Domains are **not** covered by the [Spend Cap](/docs/guides/platform/cost-control#spend-cap).
|
|
|
|
</Admonition>
|
|
|
|
## How charges are calculated
|
|
|
|
Custom domains are charged by the hour, meaning you are charged for the exact number of hours that a custom domain is active. If a custom domain is active for part of an hour, you are still charged for the full hour.
|
|
|
|
### Example
|
|
|
|
Your billing cycle runs from January 1 to January 31. On January 10 at 4:30 PM, you activate a custom domain for your project. At the end of the billing cycle you are billed for 512 hours.
|
|
|
|
| Time Window | Custom Domain Activated | Hours Billed | Description |
|
|
| ------------------------------------------- | ----------------------- | ------------ | ------------------- |
|
|
| January 1, 00:00 AM - January 10, 4:00 PM | No | 0 | |
|
|
| January 10, 04:00 PM - January 10, 4:30 PM | No | 0 | |
|
|
| January 10, 04:30 PM - January 10, 5:00 PM | Yes | 1 | full hour is billed |
|
|
| January 10, 05:00 PM - January 31, 23:59 PM | Yes | 511 | |
|
|
|
|
### Usage on your invoice
|
|
|
|
Usage is shown as "Custom Domain Hours" on your invoice.
|
|
|
|
## Pricing
|
|
|
|
<Price price="0.0137" /> per hour (<Price price="10" /> per month).
|
|
|
|
## Billing examples
|
|
|
|
### One project
|
|
|
|
The project has a custom domain activated throughout the entire billing cycle.
|
|
|
|
| Line Item | Hours | Costs |
|
|
| ----------------------------- | ----- | ------------------------ |
|
|
| Pro Plan | - | <Price price="25" /> |
|
|
| Compute Hours Small Project 1 | 730 | <Price price="15" /> |
|
|
| Custom Domain Hours | 730 | <Price price="10" /> |
|
|
| **Subtotal** | | **<Price price="50" />** |
|
|
| Compute Credits | | -<Price price="10" /> |
|
|
| **Total** | | **<Price price="40" />** |
|
|
|
|
### Multiple projects
|
|
|
|
All projects have a custom domain activated throughout the entire billing cycle.
|
|
|
|
| Line Item | Hours | Costs |
|
|
| ----------------------------- | ----- | ------------------------ |
|
|
| Pro Plan | - | <Price price="25" /> |
|
|
| | | |
|
|
| Compute Hours Small Project 1 | 730 | <Price price="15" /> |
|
|
| Custom Domain Hours Project 1 | 730 | <Price price="10" /> |
|
|
| | | |
|
|
| Compute Hours Small Project 2 | 730 | <Price price="15" /> |
|
|
| Custom Domain Hours Project 2 | 730 | <Price price="10" /> |
|
|
| | | |
|
|
| **Subtotal** | | **<Price price="75" />** |
|
|
| Compute Credits | | -<Price price="10" /> |
|
|
| **Total** | | **<Price price="65" />** |
|
|
|
|
### Add-on disabled after a day
|
|
|
|
Project add-ons are billed in arrears based on how many hours you used them.
|
|
If you remove the custom domain add-on, you are no longer billed from the time of removal onward.
|
|
|
|
| Line Item | Hours | Costs |
|
|
| ----------------------------- | ----- | --------------------------- |
|
|
| Pro Plan | - | <Price price="25" /> |
|
|
| | | |
|
|
| Compute Hours Small Project 1 | 730 | <Price price="15" /> |
|
|
| Custom Domain Hours Project 1 | 24 | <Price price="0.33" /> |
|
|
| | | |
|
|
| **Subtotal** | | **<Price price="40.33" />** |
|
|
| Compute Credits | | -<Price price="10" /> |
|
|
| **Total** | | **<Price price="30.33" />** |
|
|
|
|
## Optimize usage
|
|
|
|
- Regularly check your projects and remove custom domains that are no longer needed
|
|
- Use free [Vanity subdomains](/docs/guides/platform/custom-domains#vanity-subdomains) where applicable
|