> ## Documentation Index
> Fetch the complete documentation index at: https://hercules.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Credits

> AI credits power the Hercules AI Agent when building your app. Plans include monthly AI credits. Buy more anytime.

AI credits power the Hercules AI Agent. You use AI credits every time you talk to Hercules AI Agent. Your subscription plan includes a monthly AI credit allocation. You can buy more at anytime.

<div className="screenshot purple">
  <img src="https://mintcdn.com/zeus-0f6dadbf/tAWHbUn7o_g-PBoL/images/billing/buy-credits-expanded.png?fit=max&auto=format&n=tAWHbUn7o_g-PBoL&q=85&s=cf5ca4375b3361d98afd9854ff70225f" alt="AI credits and billing" width="995" height="440" data-path="images/billing/buy-credits-expanded.png" />
</div>

### How do I get more AI credits?

Get more AI credits by increasing your plan's monthly AI credit allocation. Your subscription plan (such as Pro or Business) stays the same, so you keep all of its features. You only pay for the extra AI credits.

<Steps>
  <Step title="Click 'Buy credits'">
    Click "Buy credits" in the top right corner of Hercules

    <div className="screenshot sunset">
      <img src="https://mintcdn.com/zeus-0f6dadbf/7eWJEwbP_giUPdo6/images/billing/buy-credits-button.png?fit=max&auto=format&n=7eWJEwbP_giUPdo6&q=85&s=4fd12609faa9debe7a1386fcc8c75965" alt="AI credit selector" style={{ maxWidth: "300px" }} width="256" height="65" data-path="images/billing/buy-credits-button.png" />
    </div>
  </Step>

  <Step title="Pick your desired number of AI credits">
    Select the amount of AI credits you want to purchase

    <div className="screenshot mint">
      <img src="https://mintcdn.com/zeus-0f6dadbf/EatDeuv0b2MkYD4M/images/billing/credit-selector.png?fit=max&auto=format&n=EatDeuv0b2MkYD4M&q=85&s=db0ec703f67747a11c6357f992b6237e" alt="AI credit selector" style={{ maxWidth: "300px" }} width="612" height="552" data-path="images/billing/credit-selector.png" />
    </div>
  </Step>

  <Step title="Review your purchase">
    Review your purchase in the checkout and complete the transaction
  </Step>
</Steps>

### How do AI credit increases work?

You can increase your monthly AI credit allocation while staying on the same subscription plan (such as Pro or Business). When you increase:

* You pay only the **prorated difference** between your current and new AI credit allocation
* You immediately receive the **prorated AI credit difference**, not the full amount
  * These AI credits are valid for **28 days** from the grant date
* Your billing cycle does **not** reset

### How does AI credit auto-billing work?

AI credit auto-billing can move your subscription to the next monthly AI credit tier before a
running agent reaches a zero balance. Configure it from **Billing → AI Usage**.

* Auto-billing is available on paid plans with multiple AI credit tiers and a saved payment method
* The default threshold is **10 remaining credits**
* You can choose a whole-number threshold from **1 to 100 credits**
* Hercules upgrades one tier at a time and charges the prorated difference
* Auto-billing pauses while a subscription downgrade is scheduled
* If an automatic upgrade fails, Hercules keeps auto-billing enabled and retries after one hour
* When you reach the highest available tier, auto-billing stays enabled but cannot upgrade again

### Are bug fixes free?

Yes! Hercules fixes uncaught exceptions for free! All Hercules AI Agent runs started by clicking the **Fix the bugs** button in the bottom right of the App Builder will be done for free. Other bug fixes and error resolution still cost AI credits.

### Additional FAQ

<AccordionGroup>
  <Accordion title="How many AI credits will it take to build my app?">
    Every app is different so we cannot provide estimates. We recommend building your app in small
    increments and monitoring your AI credit usage as you go. This is the best way to understand how
    AI credits work for your specific use case.
  </Accordion>

  <Accordion title="What are bonus AI credits?">
    Some plans include one-time bonus AI credits on top of the base allocation. These are marked in
    the UI when applicable.
  </Accordion>

  <Accordion title="How do I view my AI usage?">
    Go to **Billing → AI Usage** to see:

    * Current AI credit balance
    * Usage breakdown by category
    * Invoice history

    <div className="screenshot mint">
      <img src="https://mintcdn.com/zeus-0f6dadbf/K8_RCaEW__ZwN5hW/images/billing/ai-usage.png?fit=max&auto=format&n=K8_RCaEW__ZwN5hW&q=85&s=0a3accca9039b4fa88803e29ee845aba" alt="AI usage breakdown" width="2452" height="1092" data-path="images/billing/ai-usage.png" />
    </div>
  </Accordion>

  <Accordion title="Can I get a refund for AI credits?">
    We rarely give refunds for AI credits. AI credits cost us real money to provide (we pay AI model
    providers like OpenAI and Anthropic). We charge for AI credits to cover our costs and keep
    Hercules sustainable. We are always happy to help you resolve issues and reduce AI credit usage.
    We occasionally offer additional AI credit grants. Click **Support & feedback** with details and
    we will do our best to help.
  </Accordion>

  <Accordion title="What happens if I run out of AI credits?">
    Your app will stay hosted and published. You will not be able to use Hercules AI until you
    purchase more AI credits or wait for more AI credits to be granted at the start of your next
    billing cycle.
  </Accordion>
</AccordionGroup>
