# Usage and limits

> See which plans include AI, how usage is counted, what happens at the monthly limit and how your workspace data is handled.

Source: https://docs.deerapp.co/en/ai/usage/

AI usage is measured in tokens and shared by the whole workspace. This page explains what each plan includes, where to see your usage, what workspace owners and admins can control, and what happens when the limit is reached.

## AI on each plan

| Plan | AI and AI agents | Knowledge base | Monthly AI tokens |
| --- | --- | --- | --- |
| **Free** | Not included | Not included | None |
| **Plus** | Not included | Not included | None |
| **Pro** | Included | Included | 50,000 per workspace by default |

The 50,000 tokens are an allowance for the whole workspace each month, not for each seat. Deer can set a different allowance for a workspace.

On Free or Plus, opening AI shows **AI is available on Pro** with a **View plans** button. Every other part of the workspace keeps working, including **Files**. For prices and seats, see [Billing](https://docs.deerapp.co/en/admin/billing/).

## How usage is counted

A token is a small piece of text, often part of a word. AI models read tokens in and write tokens out, and both count.

- **What counts.** The input and output tokens that the AI model provider reports for every AI request in your workspace, from every member and every agent.
- **One request, several calls.** A single request can take several model calls: reading records, taking actions, and a final check of the answer before it is published. Each call counts.
- **Files count when AI reads them.** Text from attached files and the passages AI reads from the knowledge base count as input. So do images AI looks at.
- **What does not count.** Indexing your documents for the [knowledge base](https://docs.deerapp.co/en/ai/knowledge_base/). Usage is not estimated for requests where the provider reports none.
- **The month.** Usage resets with each calendar month in UTC, at 00:00 UTC on the 1st.

## See your usage

Open **Settings** and choose **AI control and usage**. Every member can see this page.

| Item | What it shows |
| --- | --- |
| **Recorded usage since** | The start of the current month, in UTC. |
| **Input tokens** | Tokens AI read this month. |
| **Output tokens** | Tokens AI wrote this month. |
| **Model requests** | Calls made to the AI model. |
| **AI runs** | Requests people made to AI or an agent. |
| **Effective monthly token limit** | The limit that applies now, or **Unlimited**. |

A warning appears when usage reaches the alert threshold: **Usage reached this workspace's alert threshold.** At the limit it reads **The workspace reached its monthly token limit.**

Deer checks Pro eligibility when you use AI. If the workspace moves to Free, requests and indexing pause until it returns to Pro. See [What happens if a payment is missed](https://docs.deerapp.co/en/admin/billing/#missed-payments).

## Workspace controls

Workspace owners and admins can change these settings in **AI control and usage**.

#### Set a token limit
Under **Workspace controls**, enter a **Monthly token limit (0 for no limit)**. If Deer also sets a limit for your workspace, the lower of the two applies. Entering 0 removes only your workspace's own limit.

#### Set the alert
Enter an **Alert threshold (%)**. It starts at 80%.

#### Pause AI if needed
Turn on **Pause AI in this workspace** to stop all AI requests for everyone.

#### Choose the approval rule
Under **Action approvals**, turn on **Require approval for AI write actions** if you want every create or edit by AI to wait for the requester's approval. See [Approvals and trust](https://docs.deerapp.co/en/ai/approvals/).

#### Save
Select **Save controls**.

## What happens at the limit

When the workspace reaches its monthly token limit:

- **New requests are refused.** AI shows **This workspace reached its monthly AI token limit. Contact a workspace admin to review it.**
- **Your messages still arrive.** If you mention AI or an agent in a channel or direct message, the message is posted for everyone, but AI does not reply and you see a notice.
- **Running requests stop.** A request already in progress stops at its next step. Anything it finished stays done.
- **Indexing waits.** New and changed documents queue up and are indexed once AI is available again.

AI becomes available again at the start of the next UTC month, or as soon as the limit is raised. A workspace admin can raise or remove the workspace's own limit. If the limit you reached is the one Deer set, [contact support](https://docs.deerapp.co/en/resources/support/).

> [!NOTE]
> The limit relies on the usage the provider reports after each call, so a request that is already running can finish a step that takes the workspace slightly past the limit.

When AI is paused, people see **An administrator paused AI for this workspace.** instead, and nothing runs until it is turned back on.

## Privacy of workspace data

- **AI sees only what you can see.** Your requests run with your permissions. In channels and direct messages, AI uses only what everyone in the conversation can open. See [Permissions are respected](https://docs.deerapp.co/en/ai/knowledge_base/#permissions).
- **What leaves Deer.** To answer, Deer sends your request, the relevant conversation, and the records, passages and attachments AI needs to its AI model provider. The keys that connect to the provider stay on Deer's servers and never reach your browser.
- **Private conversations stay private.** Only you can see your conversations with AI and with each agent.
- **Removed people leave no AI history behind.** When a member is removed from the workspace or deletes their account, their private AI conversations and the working data of their requests are erased. AI replies already posted in shared channels stay, still marked as AI.
- **Deleted sources stay deleted.** Deleting a file removes it from the index, and answers that relied on it are hidden.
- **Deleting a workspace deletes its AI data.** Conversations, requests, approvals and the index go with it.

For how Deer stores and protects workspace data in general, see [Data and privacy](https://docs.deerapp.co/en/admin/data_and_privacy/).
