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

# Credits

> Add, track, and manage your Runcrate credits.

export const RuncrateStyles = () => {
  if (typeof document !== 'undefined' && !document.getElementById('runcrate-overrides')) {
    const s = document.createElement('style');
    s.id = 'runcrate-overrides';
    s.textContent = `
      /* Match Runcrate's rounding scale (--radius: 0.75rem) */
      .rounded-sm { border-radius: 0.5rem !important; }   /* 8px */
      .rounded-md { border-radius: 0.625rem !important; } /* 10px */
      .rounded-lg { border-radius: 0.75rem !important; }  /* 12px */
      .rounded-l-sm { border-top-left-radius: 0.5rem !important; border-bottom-left-radius: 0.5rem !important; }
      .rounded-r-sm { border-top-right-radius: 0.5rem !important; border-bottom-right-radius: 0.5rem !important; }
      .rounded-l-md { border-top-left-radius: 0.625rem !important; border-bottom-left-radius: 0.625rem !important; }
      .rounded-r-md { border-top-right-radius: 0.625rem !important; border-bottom-right-radius: 0.625rem !important; }
      .rounded-l-lg { border-top-left-radius: 0.75rem !important; border-bottom-left-radius: 0.75rem !important; }
      .rounded-r-lg { border-top-right-radius: 0.75rem !important; border-bottom-right-radius: 0.75rem !important; }

      /* Cards: never pure white in light mode */
      .card { background-color: #fcfcfc !important; border-radius: 0.75rem !important; }
      html.dark .card { background-color: #141414 !important; }

      /* Docs hero box */
      .rc-hero { background-color: #fcfcfc; border: 1px solid #e0e0e0; }
      html.dark .rc-hero { background-color: #141414; border-color: #242424; }
      html.dark .rc-hero h1 { color: #f5f5f5; }

      /* Runcrate scrollbar — thin, transparent track, hide-until-hover thumb */
      ::-webkit-scrollbar { width: 6px; height: 6px; background-color: transparent; }
      ::-webkit-scrollbar-track { background-color: transparent; }
      ::-webkit-scrollbar-thumb { background-color: rgba(155, 155, 155, 0.5); border-radius: 10px; transition: opacity 0.3s ease; opacity: 0; }
      ::-webkit-scrollbar-thumb:hover { background-color: rgba(155, 155, 155, 0.7); }
      *:hover::-webkit-scrollbar-thumb,
      *:focus::-webkit-scrollbar-thumb,
      *:active::-webkit-scrollbar-thumb { opacity: 1; }
      * { scrollbar-width: thin; scrollbar-color: rgba(155, 155, 155, 0.5) transparent; }
    `;
    document.head.appendChild(s);
  }
  return null;
};

<RuncrateStyles />

Runcrate credits are the currency used to pay for all platform resources. **1 credit = \$1 USD**.

## Adding Credits

<Steps>
  <Step title="Go to Billing">
    Navigate to **Dashboard → Billing**.
  </Step>

  <Step title="Click Add Credits">
    Click the **Add Credits** button.
  </Step>

  <Step title="Enter Amount">
    Enter the dollar amount you want to add (minimum \$5).
  </Step>

  <Step title="Select Payment Method">
    Choose an existing payment method or add a new one.
  </Step>

  <Step title="Confirm">
    Click **Confirm** to complete the top-up. Credits are added to your balance immediately.
  </Step>
</Steps>

## Credit Balance

The billing dashboard displays:

| Metric              | Description                                                             |
| ------------------- | ----------------------------------------------------------------------- |
| **Current Balance** | Total credits available in this workspace                               |
| **Burn Rate**       | How many credits per hour your running resources consume                |
| **Hours Remaining** | Estimated time until your balance reaches zero at the current burn rate |

## Transaction Types

| Type              | Description                                         | Amount Color |
| ----------------- | --------------------------------------------------- | ------------ |
| **Deposit**       | Manual credit top-up                                | Green (+)    |
| **Usage**         | Hourly deductions for instances, API calls, storage | Red (-)      |
| **Auto-Recharge** | Automatic top-up triggered by low balance           | Green (+)    |

## Transaction History

The transaction table shows all billing activity for your workspace:

| Column          | Description                                       |
| --------------- | ------------------------------------------------- |
| **Date**        | When the transaction occurred                     |
| **Description** | What the charge or deposit was for                |
| **Invoice**     | Link to the Stripe invoice (for deposits)         |
| **Amount**      | Credit amount (green for deposits, red for usage) |
| **Status**      | Transaction status badge                          |

### Status Badges

| Status           | Meaning                                                    |
| ---------------- | ---------------------------------------------------------- |
| **Completed**    | Transaction processed successfully                         |
| **Pending**      | Payment is being processed                                 |
| **Failed**       | Payment failed — check your payment method                 |
| **Accumulating** | Usage charges being tallied for the current billing period |

## Zero Balance

<Warning>
  When your credit balance reaches **zero**, all running instances will be **terminated automatically** to prevent debt. Storage volumes are not immediately deleted, but will stop being accessible.

  Enable [auto-recharge](/billing/auto-recharge) to avoid unexpected termination.
</Warning>

## Tips

* **Monitor your burn rate** to estimate how long your credits will last
* **Set up auto-recharge** for uninterrupted workloads
* **Check transaction history** regularly to understand your spending patterns
* Credits are **non-refundable** once used for resource consumption
