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

# How AI Credits Work in Alvys

> What AI credits are, the separate allowances for chat and Insights and for Foundry, where to see your usage, and what happens when an allowance runs out.

> [!NOTE]
>
> AI credits measure how much your company uses the AI features in Alvys. Your plan includes a number of AI credits for each billing period, and the count starts over when the period resets. Users with access to the **Plan & Billing** page can see how many your company has used.

## Overview

Every time someone uses an AI feature in Alvys, the work the AI does is counted in AI credits. That includes asking the Alvys chat a question, asking Alvys Insights about your data, and running a Foundry workflow that has an Alvys Intelligence step. A request that needs more work from the AI uses more credits than a quick one.

Your company has two separate AI credit allowances:

* **Chat and Insights.** The Alvys chat and Alvys Insights share one allowance.
* **Foundry.** Alvys Intelligence steps in your Foundry workflows use their own allowance.

The two allowances never share usage. Running out of one does not affect the other, and each one can reset on a different date.

## Before You Start

Required role to view AI credit usage: Admin, Partner Admin, or Support, with the **Billing** permission. If you do not see **Plan & Billing** in **Settings**, your account does not have the required access.

## Steps

**1. Open Plan & Billing**

Go to **Settings** and select **Plan & Billing**.

**2. Check your usage for each billing period**

On the **Invoices** tab, each billing period shows usage meters. **Insights AI credits** covers chat and Insights, and **Foundry AI credits** covers Foundry. Each meter shows how much your company has used of what your plan includes.

**3. See where the credits went**

Open the **Usage** tab and select **AI Credits**. The **Foundry Credits** and **Insights Credits** cards chart your usage over the period, and you can break it down by source, model, automation (Foundry), or user (Insights).

Foundry users can also check the **Usage limits** card on the Foundry **Overview** page. Its **AI credits** meter shows how much of the Foundry allowance is used and when it resets.

## What Happens When an Allowance Runs Out

### Chat and Insights

When your company uses all of its chat and Insights AI credits for the billing period, the chat stops answering new questions and shows this message:

> Your company has used all of its chat and Insights AI credits for this billing period. They reset on \[date]. Ask a billing admin if your team needs more.

The reset date appears when Alvys knows it.

Chat and Insights start answering again when the billing period resets.

### Foundry

When your company uses all of its Foundry AI credits for the billing period, workflows that contain an Alvys Intelligence step stop starting new runs until the period resets. This covers scheduled runs, runs started by a webhook, test runs, and retries. Running out of AI credits does not stop workflows without an Alvys Intelligence step.

In the Foundry builder, a refused AI step shows **Plan limit reached** with this message:

> This AI step did not run. Your organization has used all AI credits in its plan for this billing period. Ask your Alvys admin to upgrade the plan or turn on overage.

## Overage for Foundry

Your company can let Foundry's Alvys Intelligence steps keep running past the plan's allowance by setting an overage budget. Credits used past the allowance are billed as overage, up to the budget you set.

1. Go to **Settings** > **Plan & Billing** and open the **Usage** tab.
2. Select **AI Credits**, then click the edit (pencil) icon, **Edit overage budget**.
3. Set the **Foundry credit budget**, then click **Save**.

When overage spend reaches the budget, Alvys Intelligence steps stop until the next billing period, as if overage were off. Lowering the budget below what has already been spent pauses Foundry AI usage for the rest of the billing cycle; overage already used in the period is still billed.

Chat and Insights do not have an overage option. They pause until the billing period resets.

> [!TIP]
>
> If the edit icon is unavailable, overage cannot be turned on for your account. For example, overage is not available during a free trial or without an active subscription. Contact your Alvys representative if you need more AI credits.

## FAQs

**Q: Does using Insights take credits away from Foundry?**

**A:** No. Chat and Insights use one allowance, and Foundry uses another. Usage in one never counts against the other.

**Q: Do my workflows stop when Foundry runs out of AI credits?**

**A:** Only workflows that contain an Alvys Intelligence step stop starting new runs. Running out of AI credits does not stop workflows without one.

**Q: When do AI credits reset?**

**A:** At the start of each billing period. The **Plan & Billing** page shows when each allowance resets.

## Go Deeper

* [How to Manage Your Alvys Subscription](https://docs.alvys.com/en/help/administration/how-to-manage-your-alvys-subscription.md)
* [Alvys Insights - Getting Started](https://docs.alvys.com/en/help/insights/alvys-insights-getting-started.md)
