> For the complete documentation index, see [llms.txt](https://docs.tabnine.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tabnine.com/main/administering-tabnine/managing-your-team/settings/agent-settings.md).

# Cost Control

{% hint style="info" %}
This page was formerly called "Agent Settings," being changed with v6.3.0. The "Agent Features" section on the page was moved and given its own [Agent Features page](/main/administering-tabnine/managing-your-team/settings/agent-features.md).
{% endhint %}

Go to the Cost Control tab on the lefthand-side menu. Once there, you will see the Agent window, you can set spending limits for usage of AI models by members of your organization.

<figure><img src="/files/TdjzuEWVbiWGl6j83RQd" alt=""><figcaption></figcaption></figure>

There are two types of limits you can impose: the organization-wide **Monthly Token Cost Cap** and **Monthly Single User Token Cost Cap.** You will see a toggle next to each option.

First, adjust your entire organization’s monthly cost limits by going to (Organizational) **Monthly Token Cost Cap** and entering the amount in the box next to the $ symbol.

Secondly, you can limit the cost per individual user. Next to **Monthly Single User Token Cost Cap**, enter the amount in the box next to the $ symbol. You will see the initial warning that "Per-user cap exceeds the org monthly cap (Amount$). Users will be limited by the total cap first." This will change once you toggle on the setting to change the default Unlimited to a specific amount for individuals.

#### Per-Team Quota Enforcement ([v6.1.0](https://docs.tabnine.com/main/administering-tabnine/managing-your-team/settings/pages/risy3bTOlfBfgFRRXK8K#v6.1.0))

You can also set a per-team quota.

Select a team from the dropdown in the upper righthand corner.

Set your monthly cost cap.

Then hit <mark style="background-color:$primary;">**Save**</mark> to save the changes.

Team usage is tracked against the cap, and requests are blocked after the limit is reached until the next reset period.

The Agent Usage analytics view shows each team’s consumed quota so you can see which teams are close to their limits.

### <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tabnine.com/main/administering-tabnine/managing-your-team/settings/agent-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
