# Credits

How the WalterAI credit system works — plans, billing, and usage.

Source: https://docs.walterwrites.ai/credits

## How Credits Work

Most endpoints consume credits based on the **word count** of the input text.

```
1 credit = 1 word
```

Three services price differently: the [Plagiarism Checker](https://docs.walterwrites.ai/api-reference/plagiarism-checker.md) charges a **flat 2 credits per scan** regardless of text length, the [AI Voice Detector](https://docs.walterwrites.ai/api-reference/voice-detector.md) charges **10 credits per second of audio** (see [Voice Detection Pricing](#voice-detection-pricing) below), and the [Image Detector](https://docs.walterwrites.ai/api-reference/image-detector.md) charges a **flat 10 credits per image**.

Credits are one shared pool across all services.

| Service                                                 | Cost                           |
| ------------------------------------------------------- | ------------------------------ |
| [Humanizer](https://docs.walterwrites.ai/api-reference/humanizer.md)                   | 1 credit per word              |
| [AI Detector](https://docs.walterwrites.ai/api-reference/detector.md)                  | 1 credit per word              |
| [Plagiarism Checker](https://docs.walterwrites.ai/api-reference/plagiarism-checker.md) | Flat 2 credits per scan        |
| [Grammar Checker](https://docs.walterwrites.ai/api-reference/grammar-checker.md)       | 1 credit per word              |
| [AI Voice Detector](https://docs.walterwrites.ai/api-reference/voice-detector.md)      | 10 credits per second of audio |
| [Image Detector](https://docs.walterwrites.ai/api-reference/image-detector.md)         | Flat 10 credits per image      |

Word-based charges use a script-aware count (whitespace-separated words; one word per character for CJK scripts). Failed requests are refunded automatically.

## Voice Detection Pricing

The [AI Voice Detector](https://docs.walterwrites.ai/api-reference/voice-detector.md) charges credits based on the audio's duration:

```
credits = ceil(duration_in_seconds) × 10
```

The duration is rounded **up** to the whole second, with a minimum of 1 second (10 credits). At the maximum length of 10 minutes, a scan costs **6,000 credits**. The exact amount is returned as `credits_used` in every successful response.

## Checking Your Balance

Successful responses include a `credits_remaining` field showing your current balance after the request. The [Image Detector](https://docs.walterwrites.ai/api-reference/image-detector.md) returns `credits_charged`, the amount deducted.

```json
{
  "status": "success",
  "result": "...",
  "credits_remaining": 1482
}
```

## Plans

| Plan | Credits / month | Price / month |
| ---- | --------------- | ------------- |
| 300K | 300,000         | $49           |
| 1M   | 1,000,000       | $129          |
| 2M   | 2,000,000       | $229          |
| 5M   | 5,000,000       | $479          |
| 12M  | 12,000,000      | $899          |
| 25M  | 25,000,000      | $1,699        |

Credits reset monthly on your billing cycle. Unused credits do not roll over.

## Free Trial

New accounts start with a free trial — no credit card required.

* **2,000 credits** included.
* **5 days** to use them.
* Once the trial expires or credits run out, upgrade to a paid plan to continue using the API.

## Insufficient Credits

If your credit balance is lower than the word count of the submitted text, the request is rejected with `403`:

```json
{
  "error": "Insufficient credits",
  "code": "insufficient_credits",
  "details": {
    "credits": 50,
    "required": 120
  }
}
```

## Credits Exhausted (Paid Plan)

If your monthly credits are fully used, requests return `403` until the next billing cycle:

```json
{
  "error": "Credits exhausted. Credits reset on next billing cycle.",
  "code": "credits_exhausted",
  "details": {
    "plan": "1M",
    "credits": 0
  }
}
```

## Trial Expired

If your trial period has ended, requests return `403`:

```json
{
  "error": "Trial expired, please subscribe",
  "code": "trial_expired"
}
```
