# Resource packages

> Buy traffic packages and request packages, and understand what they offset, the offset order, validity, and expiry and cancellation rules.

A resource package is prepaid traffic or request counts, suited to projects with steady usage. It takes effect automatically after purchase and offsets usage automatically at settlement. It doesn't need to be bound to a bucket or domain.

Entry point: **Billing › Resource packages (费用 › 资源包)**, at <https://console.bitiful.com/billing/resource>.

## Buy

### Check your balance

Resource packages are paid for from your account balance. If the balance is insufficient, you see "当前余额不足，请前往充值" (insufficient balance, please top up), so [top up](https://docs.bitiful.com/en/prices/handbook/recharge.md) first.

### Choose a specification

Click **Buy resource package (购买资源包)** in the upper-right corner and choose the type, validity, and specification. The **Order amount (订单金额)** updates as you choose, and when there's a discount it shows the amount saved.

### Confirm the purchase

Click **Buy (购买)**. After you see "购买成功" (purchase successful), the amount is charged and the package takes effect immediately.

| Option                                                        | Choices                                                                                                                                                  |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Resource package scope (资源包范围)**                            | **Mainland China (中国内地)**                                                                                                                                |
| **Resource package type (资源包类型)**                             | **CDN egress traffic package (CDN 出口流量包)**, **S4 egress traffic package (S4 出口流量包)**, **S4 request package (S4 请求包)**, **CDN request package (CDN 请求包)** |
| **Validity (有效期)**                                            | **3 months (3个月)**, **6 months (6个月)**, **12 months (12个月)**                                                                                             |
| **Resource package specification (资源包规格)** (traffic packages) | **1T**, **10T**, **50T**, **200T**                                                                                                                       |
| **Resource package specification** (request packages)         | **100 million (1亿)**, **500 million (5亿)**, **1 billion (10亿)**                                                                                          |

Prices follow the **Order amount** shown in the purchase window. Specifications are converted in powers of 1000, and 1T = 1000 GB.

> **Warning**
>
> No resource package can be refunded after a successful purchase. There's no second confirmation after you click **Buy**, so check the type and specification first.

## What they can offset

| Type                           | Charge items offset                               |
| ------------------------------ | ------------------------------------------------- |
| **CDN egress traffic package** | CDN domestic egress traffic                       |
| **S4 egress traffic package**  | S4 egress traffic (excluding CDN origin fetch)    |
| **S4 request package**         | S4 request count, CDN domestic origin fetch count |
| **CDN request package**        | CDN domestic request count                        |

**What they can't offset:** storage charges, certificate charges, CDN international traffic, CDN international requests, and origin fetch traffic. Traffic packages and request packages also can't offset each other.

## Offset rules

- **Free quota first, then resource packages, then balance.** Usage covered by the free quota doesn't consume resource packages.
- **The one that expires first is used first.** When you have several packages of the same type, they offset in order of expiry time, earliest first.
- **Settled once an hour.** It's in sync with the bill, and **Last settlement time (最后一次结算时间)** shows the time of the most recent offset.
- **No minimum billing unit.** Whatever you use is offset.
- **Counts toward tiers.** Usage offset by resource packages still counts toward the month's tiered price accumulation.
- **Overage is billed by usage.** After a resource package is used up or expires, billing automatically switches to pay-as-you-go from your balance. Keep your balance sufficient.

## Validity

Validity starts the moment the purchase succeeds, and 1 month is always counted as 31 days.

| Choice    | Actual days |
| --------- | ----------- |
| 3 months  | 93 days     |
| 6 months  | 186 days    |
| 12 months | 372 days    |

After expiry, any unused quota is void. It can't be extended and isn't returned to your balance. Resource packages don't renew automatically, so buy again as needed before they expire. Old and new packages can be in effect at the same time.

## View usage

| Column                                                 | Description                                                                                                                                                           |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Resource package type**                              | One of the four types                                                                                                                                                 |
| **Usage (使用情况)**                                       | The progress bar shows the remaining percentage, with the amount used and the total below it                                                                          |
| **Status (状态)**                                        | **In effect (已生效)**, **Expired (已过期)**, **Not yet in effect (未生效)**. A package whose quota is used up but hasn't expired still shows **In effect**, with 0% remaining |
| **Validity**                                           | The number of months chosen at purchase                                                                                                                               |
| **Effective time (生效时间)** / **Expiration time (到期时间)** | The start and end times                                                                                                                                               |
| **Last settlement time**                               | The time of the most recent offset. Shows `-` if there has been none                                                                                                  |

Click the refresh icon in the upper-right corner to update the list. Purchase records are in **Charges › Resource package charges**. See [Charges](https://docs.bitiful.com/en/prices/handbook/bills.md).

## Quota reminders

When a resource package has less than 20% and less than 10% remaining, one SMS is sent each time to your registered phone number. If several packages trigger at once, only one message is sent. There's no SMS reminder for the expiration time, so keep an eye on it yourself.

## FAQ

<details>
<summary>I bought the wrong type. Can I exchange it?</summary>

No. It can't be exchanged or refunded.

</details>

<details>
<summary>I bought a CDN traffic package. Why am I still being charged?</summary>

First check which charge item is being charged in the bill. CDN international traffic, CDN origin fetch traffic, request counts, and storage aren't covered by the CDN egress traffic package.

</details>

<details>
<summary>Can a resource package be assigned to a specific bucket or domain?</summary>

No. Resource packages apply to the whole account.

</details>

<details>
<summary>Can I buy a resource package when my balance is overdue?</summary>

No. Top up until the balance is positive first.

</details>

<details>
<summary>Can a newly bought resource package offset charges already deducted?</summary>

No. Charges that have already been settled aren't refunded. At each hourly settlement, the resource packages in effect at that moment offset the previous hour's usage.

</details>
