# Credit Management Overview

The **ratl.ai Credit** helps manage your access to different features by using credits. Each time you perform certain actions, credits are deducted from your balance. This system ensures fair use of resources while allowing you to upgrade or add more credits as needed.

***

### Key Benefits

* **Simple and Fair Usage** – Credits ensure you only pay for the features you use.
* **Flexible Upgrades** – Easily add more credits or switch to a higher plan if needed.
* **Transparency** – Get clear feedback when credits run low or are depleted.

***

### How It Works

#### Credit Allocation

* When you create an account, you start with **750 credits**.
* Your initial plan is set to **hobby**.
* Credits are used when you perform actions like generating tests, running simulations, or using advanced features.

#### Credit Usage

* Each action uses **1 credit**.
* If you run out of credits, the action won't proceed, and you'll receive a message prompting you to add more.
* Some advanced features may require more credits per action.

***

### Actions That Use Credits

#### Functional Testing

* **Generating a test suite**
* **Adding test cases under a test suite**

#### End-to-End (E2E) Testing

* **Generating a flow**
* **Adding a flow**
* **Modifying a flow**
* **Generating code for the flow**
* **Modifying the generated code**
* **Running the flow**

#### Load and Performance Testing

* **Generating a simulation**
* **Modifying simulation code**
* **Running a simulation**

***

### Managing Your Credits

#### Viewing Your Credits

* Your current credit balance is displayed at the top of the screen.
* You can check your credits any time.

#### Adding More Credits

* Go to the **Settings** page.
* Click on **Profile**.
* Provide a brief description of why you need additional credits and click **Request Credits**.

***

### What Happens When Credits Run Out?

* If you don't have enough credits to perform an action:
  * A message will pop up, letting you know that you're out of credits.
  * You can either **Request credits** or **upgrade your plan**.
  * The action will remain available once your credits are replenished.

***

### Plan Upgrades

* The default **hobby plan** comes with limited credits.
* Upgrading to a **paid plan** gives you more credits and access to additional features.
* You can upgrade your plan anytime through the **Settings** section.

***

### Limitations to Keep in Mind

* Credits are assigned to specific types of actions.
* Even if you have credits left, some actions may still be blocked if the credits for that feature are used up.
* If this happens, check the feature-specific credit balance or upgrade your plan.

***

### Post-Action Results

* Successful actions will deduct credits automatically.
* If an action fails due to insufficient credits, you’ll be notified immediately.
* After replenishing credits, actions can be retried without issue.


---

# 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.ratl.ai/guide/credits/overview.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.
