mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
Professional plan: billing by active hour
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8591 Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com> GitOrigin-RevId: 88d023af9d8f2ac949ec897854b7e0cd61662282
This commit is contained in:
parent
6621dc6adb
commit
2e6250f349
@ -137,19 +137,31 @@ a premium database, **you are billed only once for a premium database no matter
|
|||||||
add**.
|
add**.
|
||||||
|
|
||||||
| Database Type | Rate |
|
| Database Type | Rate |
|
||||||
| ------------------ | -------- |
|
| ------------------ | --------------- |
|
||||||
| Generic Postgres | $1.50/hr |
|
| Generic Postgres | $1.50/active-hr |
|
||||||
| Snowflake | $3.00/hr |
|
| Snowflake | $3.00/active-hr |
|
||||||
| BigQuery | $3.00/hr |
|
| BigQuery | $3.00/active-hr |
|
||||||
| Athena | $3.00/hr |
|
| Athena | $3.00/active-hr |
|
||||||
| MSSQL | $3.00/hr |
|
| MSSQL | $3.00/active-hr |
|
||||||
| CockroachDB | $3.00/hr |
|
| CockroachDB | $3.00/active-hr |
|
||||||
| Google AlloyDB | $3.00/hr |
|
| Google AlloyDB | $3.00/active-hr |
|
||||||
| Citus / Hyperscale | $3.00/hr |
|
| Citus / Hyperscale | $3.00/active-hr |
|
||||||
|
|
||||||
|
:::info Active-hr
|
||||||
|
|
||||||
|
An hour is considered an active hour when an activity is attributed to a Project during that hour. A few examples of
|
||||||
|
activity are:
|
||||||
|
|
||||||
|
- any GraphQL, REST, Metadata API request
|
||||||
|
- an active subscription
|
||||||
|
- an open websocket connection
|
||||||
|
- an event-triggered activity
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
:::info Projects without databases
|
:::info Projects without databases
|
||||||
|
|
||||||
A Project without a connected database is billed at $1.50/hr.
|
A Project without a connected database is billed at $1.50/active-hr.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -162,18 +174,17 @@ You will be billed based on this volume of data which passes through your Projec
|
|||||||
|
|
||||||
#### Example Calculation
|
#### Example Calculation
|
||||||
|
|
||||||
Assuming thirty days in the month, you start with one Project with a Postgres data connector for the first twenty-one
|
Assuming thirty days in the month, you start with one Project with a Postgres data connector for the first twenty days
|
||||||
days of the Project:
|
of the Project and add Snowflake data connector for the remaining 10 days.
|
||||||
|
|
||||||
`21 days * 24 hrs/day * $1.50/hr = $756`
|
Assuming your Project is active for 8 hrs a day
|
||||||
|
|
||||||
On the twenty-second day, you decide to add the Snowflake data connector and leave it connected until the end of the
|
`20 days * 8 hrs/day * $1.50/hr = $240`
|
||||||
month:
|
|
||||||
|
|
||||||
`9 days * 24hrs/day * $3.00/hr = $648`
|
`10 days * 8 hrs/day * $3.00/hr = $240`
|
||||||
|
|
||||||
Let's assume the data passthrough for the entire month is 1000 GB:
|
Let's assume the data passthrough for the entire month is 100 GB:
|
||||||
|
|
||||||
`1000 GB * $0.13/GB = $130 Total`
|
`100 GB * $0.13/GB = $13 Total`
|
||||||
|
|
||||||
The total cost for the month is $1534.
|
The total cost for the month is $493.
|
||||||
|
Loading…
Reference in New Issue
Block a user