How billing works for Telnyx Storage

Telnyx Storage follows a usage based pricing model, which means that you will only pay for what you use. Usage categories and pricing are as follows:

Usage Category Pricing
Storage $0.006 gigabyte-month, per month
Class A Operations $0.50 per 1 million requests, per month
Class B Operations $0.04 per 1 million requests, per month
Egress fees Free

In addition, Telnyx Storage offers a generous free tier for you to test out the product risk free. This includes:

Usage Category Free Tier
Storage up to 10 gigabyte-months, per month
Class A Operations up to 1 million requests, per month
Class B Operations up to 10 million requests, per month

How Telnyx bills for storage

To determine the cost of storage Telnyx considers not only the amount of data that you are storing, but also the time that you store the data for.

A simple way to think about it:

  • If you store 100 gigabytes of data for 1 month, you will be billed for 100 gigabyte-months of usage
  • If you store 100 gigabytes of data for 15 days, you will be billed for 50 gigabyte-months of usage
  • If you store 100 gigabytes of data for 3 days, you will be billed for 10 gigabyte-months of usage.

How Telnyx bills for operations

Telnyx will keep a record of every API operation that you make. At the end of the month, we will aggregate all of the requests made, subtract the free tier, and charge you accordingly.

For example, let's make a few assumptions:

  • You make 100,000 Class A operations every day for an entire month.
  • You make 100,000 Class B operations every day for an entire month.
  • There are 30 days in a given month.

Now let's figure out how much these operations will cost you.

To calculate the cost of the Class A operations:

Copy
Copied
(billable Class A operations) * (price per 1 million Class A operations) = Total Cost

((100,000 Class A operations per day) * (30 days per month) - (1 million free Class A operations)) * ($0.50 per 1 million requests) = Total Cost

(3 million Class A operations made in a month - 1 million free Class A operations per month) * * ($0.50 per 1 million Class A operations) = Total Cost

(2 million billable Class A operations) * ($0.50 per 1 million Class A Operations) = Total Cost

Total Cost = $1.00

Note: After pasting the above content, Kindly check and remove any new line added

To calculate the cost of the Class B Operations:

Copy
Copied
(billable Class B operations) * (price per 1 million Class B operations) = Total Cost

((100,000 Class B operations per day) * (30 days per month) - (10 million free Class B operations)) * ($0.04 per 1 million requests) = Total Cost

(3 million Class B operations made in a month - 10 million free Class B operations per month) * ($0.04 per 1 million Class B operations) = Total Cost

(0 billable Class B operations) * ($0.04 per 1 million Class B Operations) = Total Cost

Total Cost = $0

Note: After pasting the above content, Kindly check and remove any new line added

In the example above, the user did not make enough Class B operations to exceed the free tier that month. Therefore, they had 0 billable Class B operations, and were not charged for those operations. However, they did exceed the free tier for Class A operations, and were charged acccordingly for their usage.

Operation type classification

We define requests as Class A and Class B operations based on the following table:

Operation Type General commands Specific API commands that we currently support
Class A Operations PUT, LIST, COPY, POST PutObject, ListObjectsV2, ListBuckets
Class B Operations GET, HEAD GetObject, HeadBucket, HeadObject
Free Operations DELETE (and CreateBucket) DeleteBucket, DeleteObject, DeleteObjects, CreateBucket