# Credits Deduction

## 1. **Conditions for Credit Deductions**

Credits are deducted under the following conditions:

* **Container Usage:** Deductions occur while a container is running, based on the container's performance tier.
* **Storage Usage:** If a container's storage exceeds your plan's free limit, 0.018 credits are deducted per 1GB per hour.
  * **Free Plan:** Up to 5GB free
  * **Membership Plan:** Up to 15GB free
  * **Note:** Storage is billed regardless of **whether the container is running or stopped**.
* **Traffic Usage:** If monthly cumulative traffic exceeds 10GB, 8 credits are deducted for each additional 1GB.

***

## 2. Deduction Situations

Credits are deducted during the following specific scenarios:

#### **1. Container Stop**

When you stop a container, the following are calculated and deducted at once:

* **Time-based usage:** Credits for the container performance tier.
* **Advanced Feature:** Additional hourly credits for using [Code Supporter](/user-guide/arkain-ai/code-supporter.md).
* **Active usage:** Storage and traffic credits used during the session.

#### **2. Container Run**

When a container is started, you are deducted for the storage used while the container was in a stopped state.

#### **3. Monthly Deduction**

On the 1st of each month (UTC), billing is performed for all containers currently using resources.

#### **4. AI Features**

* **Arkain Snap:** Deductions occur based on AI usage during container creation.
* **Side Chat(Workspace):** Deductions occur based on the model and token usage per question.

#### **5. Change Plan**

If you change your plan, all currently accrued usage credits will be deducted immediately.

#### 6. Overused

If the required deduction exceeds your available credits, a final settlement is performed, and all running containers are stopped immediately.

{% hint style="warning" %}
For containers that use **credits for storage,** once credits are exhausted, the container is **automatically inactivation.** [Inactive Container](/user-guide/dashboard/container/inactive-container.md)
{% endhint %}

***

## 3. Credit Deduction Order

Credits are deducted in the following priority:

1. **Free Credits:** Deducted first (those with the shortest expiration date are deducted first).
2. **Purchased Credits:** Deducted only after all free credits are exhausted.

***

## 4. Low Credit Mail Notifications

To prevent service interruption, Arkain sends an automated alert when your balance is nearly exhausted.

* **Trigger:** Sent when your remaining credits allow for less than **1 hour** of usage.
* **Frequency:** This notification is sent only once per purchase cycle. You will not receive another alert until you top up your credits.
* **Settings:** You can enable or disable these alerts via the **\[Credit mail]** toggle on the **Billing page**.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arkain.io/credits-and-membership/credits/credits-deduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
