# Pricing and Billing

This topic describes how MemSQL Cloud is priced and billed. If you have any questions about MemSQL Cloud pricing or billing, please contact us at info@memsql.com.

# Understanding Unit Pricing

Pricing for MemSQL Cloud is based on hourly resource usage per cluster. Standard accounts are charged at the on-demand hourly rate, but discounts are available for accounts with an annual subscription.

Many different cluster sizes are available to meet the requirements of your workload, and each size is comprised of one or more MemSQL Cloud Units. A MemSQL Cloud Unit represents a fixed amount of storage resources, namely 2TB of disk storage.

To understand the relationship between cluster sizes and their corresponding number of units, consider the table below:

Cluster Size | Number Of Units | Storage |
---|---|---|

Small (S) | 1 | 2TB of storage |

Medium (M) | 2 | 4TB of storage |

Large (L) | 4 | 8TB of storage |

Extra Large Plus (XL+) | Contact Us | Contact Us |

For any cluster size XL or larger, please contact us for more information.

# MemSQL Cloud Unit Pricing

MemSQL Cloud Units are priced in two ways:

- On-demand, where you pay for hourly usage at a standard rate
- Annual subscription, where you pay up-front for a year of usage at a discounted rate

The following table shows the relationship between the number of units and on-demand or subscription pricing:

Number of Units | On-Demand Per-Unit Price | Annual Subscription Per-Unit Price |
---|---|---|

1 | $3/hr. | $2.50/hr. |

2 | $3/hr. | $2.40/hr. |

4 | $3/hr. | $2.25/hr. |

8+ | $3/hr | Contact Us |

## Hourly On-Demand Pricing

MemSQL Cloud Units may be purchased at an hourly on-demand price. This option is ideal when you only need a cluster for a short period of time or if you want to temporarily augment your existing subscription. On-demand pricing scales linearly, and each unit costs $3 per hour.

## Annual Subscription Pricing

MemSQL Cloud Units can be purchased via an annual subscription, which differs from standard on-demand pricing and provides a few additional benefits. First, an annual subscription reserves units at a discounted price in yearlong increments, and you are billed up front based on the number of reserved units. Pricing for annual subscriptions is based on tiers, where the per-unit cost is reduced as the number of reserved units increases. Refer to the pricing table at the top of this section for a comparison.

A subscription can be added to an account at any time and a single account may have multiple subscriptions. This pricing model gives you the flexibility to subscribe additional units as your needs change. You can also mix and match subscription and on-demand units, allowing you to augment your annual subscription with on-demand units as necessary. For more information on pricing for annual subscriptions, please see MemSQL Cloud Pricing page or contact us at info@memsql.com.

# Data Transfer

Data transfers into and out of MemSQL Cloud is billed at standard Amazon Web Services (AWS) data transfer rates. Because MemSQL Cloud clusters run in their own AWS Virtual Private Cloud (VPC), your billing invoice will show standard AWS data transfer charges for data transfers over JDBC/ODBC to your MemSQL cluster endpoint. For more information about AWS data transfer rates, see the Amazon EC2 pricing page.

# Annual Subscription Examples

The following examples demonstrate how MemSQL Units accrue charges based on various hourly and annual subscription scenarios.

## Example 1: Hourly On-Demand

You have a 4 unit on-demand cluster running for 1 month. In addition, for 5 days of the month, you create another 2 unit on-demand cluster. The total bill for the month would be calculated as follows:
`($3/unit * 24 hours * 5 days * 4 units) + ($3 * 24 hours * 30 days * 4 units) = $1,440 + $8,640`

, for a monthly total of **$10,080**.

## Example 2: Annual Subscription

You have an annual subscription with a 1 unit cluster. You receive a discounted rate, reducing the hourly rate to a sample discount of $2.50 per unit. The yearly up-front cost would be calculated as follows: `$2.50/unit * 24 hours * 365 days * 1 unit`

, for a total of **$21,900**, or the equivalent of **$1,825** a month.

## Example 3: Annual Subscription with Changes

You have an annual subscription but change your usage patterns over the course of a year. First, you have an annual subscription for a 4 unit cluster at the discounted rate. The yearly up-front cost would be calculated as follows: `$2.25/Unit * 24 hours * 365 days * 4 units`

, for a yearly total of **$78,840**, or the equivalent of **$6,570** a month.

You create a 2 unit cluster for 6 months. You then shut down that cluster and create a new 4 unit cluster for 6 months.

In this scenario, you are billed up-front at the discounted rate for 4 units. Your charges remain the same for the duration of the 12 month period because the number of units you have in the cluster is less than or equal to the number of units you paid for up front.

## Example 4: Annual Subscription and Hourly On-Demand

You have an annual subscription and use on-demand units as necessary. The annual subscription is for a 2 unit cluster at a discounted rate. The yearly up-front cost would be calculated as follows: `$2.40/unit * 24 hours * 365 days * 2 Units`

, for a yearly total of **$42,048**, or the equivalent of **$3,504** a month. You then create a 2 unit cluster and run it for the next 12 months.

In addition, you create a 4 unit cluster and run it for a month. At the end of the month you will get billed for the 4 unit cluster at the on-demand price. The additional units will be billed as follows: `$3 * 24 hours * 30 days * 4 units`

, for a total of **$8,640**.