Skip to main content
Usage limits control how much the members of your TypingMind Team workspace can use AI models, AI agents and plugins. This guide is for workspace admins. It explains how limits apply to your users, then shows how to set them up on the Usage Limits page of the Admin Panel.
The Limits tab of the Usage Limits page, listing a global limit, a model limit, an AI agent limit, a plugin limit and a user limit

Why set usage limits

With TypingMind, your team can chat with many AI models, AI agents and plugins. Each request costs you API usage, so limits help you:
  • Prevent overuse: make sure that no single user consumes an excessive share of your AI resources.
  • Control costs: keep spending on expensive models and plugins in check.
  • Share fairly: give each team or department the allowance that fits its work.

How usage limits work

Each limit has three parts:

Limit types

Rules

A rule sets a number and, for most rule types, a period: A period is a number of hours (1 to 24), days (1 to 31) or months (1 to 12). For example, a rule can allow 200 messages every 3 hours, or 200,000 tokens per day. A limit can have as many rules as you need, including several rules of the same type and period. Plugin limits use messages rules only. You can type the rules into each limit, or reuse a ruleset. A ruleset is a named set of rules that several limits can share. When you change a ruleset, every limit that uses it changes too.

Which limits apply to a user

  • Every matching limit applies at the same time. For example, a user in the Marketing group who chats with GPT-6.1 Sol is held to the global limit, the GPT-6.1 Sol limit for Marketing, and any user limit set for them. The strictest rule that the user reaches stops them first.
  • Usage is counted per user. A rule of 50 messages every 3 hours lets each user in the limit target send 50 messages. It is not a shared allowance for the whole group.
  • A group target matches by membership. Users in specific groups applies to users in at least one of the selected groups. All users except users from specific groups applies to users in none of them.
  • Each request counts. Each message counts as one, and so does each regenerated response. A message that a limit refuses doesn’t count.
  • Periods run back to back. The count resets at the end of each period. A period of 3 hours covers three whole clock hours. Periods start from the first time that TypingMind counted the user’s usage for that kind of rule, so adding or changing a rule doesn’t restart them.

What users see when they reach a limit

  • When a user reaches a messages or tokens rule, TypingMind refuses their next message and shows “You have reached the limit of this chat. Please try again later.”
  • A characters rule refuses any message that would take the user past the rule, with the same error. A shorter message can still go through.
  • Tokens are counted after each response. The response that goes past a tokens rule still finishes, and the user’s next message is refused.
  • A characters per message rule limits the chat input itself. The input stops accepting text at the limit, and shows a character counter while the user types. If a message is still too long, for example because of attached file content, TypingMind refuses it with “Your message is too long. Please try again with a shorter message.”
  • When a plugin limit is reached, the AI can’t use that plugin until the period resets. The user still gets a response to their message.
A chat where the user's second message is refused with the message: You have reached the limit of this chat. Please try again later.

Set up usage limits

Adding or changing limits needs User roles & limits, which your plan or self-hosted license must include.

Step 1: Set up user groups

To give different teams different limits, first put your users into user groups.
  1. In the Admin Panel, go to User Management → Groups.
  2. Click Create group, and add members to it.
For the full steps, see Create and manage user groups.

Step 2: Create rulesets (optional)

Create a ruleset when you want several limits to share the same rules. You can skip this step and give each limit its own rules instead.
  1. In the Admin Panel, go to Access & Limits → Usage Limits, and open the Rulesets tab.
  2. Click New ruleset.
  3. Enter a Ruleset name, or keep the suggested name, such as “Ruleset 3”.
  4. Click Add rule for each rule, and set its number, rule type and period.
  5. Click Save.
For example, you can create two rulesets:
  • Basic use: 50 messages every 3 hours and 200,000 tokens per day, for users who chat with AI now and then.
  • In-depth use: 200 messages every 3 hours, for users who work with AI all day.
The Rulesets tab, with the rulesets Basic use and In-depth use, and how many limits use each
Each ruleset shows how many limits use it. Click Used by to see those limits on the Limits tab. When you edit a ruleset that limits use, the change applies to all of them. You can also create a ruleset while you add a limit, in step 3.

Step 3: Add limits

  1. On the Usage Limits page, open the Limits tab.
  2. Click Add new limit.
  3. Under Limit type, choose Global, Model, AI agent, Plugin or User. For every type except Global, select the model, AI agent, plugin or user that the limit covers.
  4. Under Limit target, choose All users, Users in specific groups, or All users except users from specific groups. For the last two, select at least one group under User groups. User limits don’t have this field.
  5. Under Rules, set the rules:
    • To reuse a ruleset, click Use a ruleset and choose one.
    • To give the limit its own rules, click Add rule for each rule. To keep these rules for other limits, select Save these rules as a ruleset and enter a Ruleset name.
  6. Check the Summary, which describes the limit in one sentence. For example: “Users in Marketing are limited to 200 messages every 3 hours with GPT-6.1 Sol.”
  7. Click Save.
If a required field is missing, the form shows what to fix, such as “Select at least one user group.” or “Add at least one rule.”
The Add new limit form for a global limit for all users, with two rules saved as the ruleset Basic use, and a summary
If you choose a ruleset and then change its rules in the form, the limit stops using the ruleset. The form says “No longer using ruleset” and keeps the new rules as the limit’s own. The ruleset itself doesn’t change. The table below shows some example limits.

Step 4: Manage your limits

The Limits tab lists every limit, grouped by limit type. Each limit shows what it covers, who it applies to, and its rules.
  • Search limits finds limits by name, user group or ruleset.
  • Ruleset filters the list by ruleset. Choose Custom rules to see the limits that have their own rules.
  • Sort orders the list by Date created or Date updated. Choose the same option again to reverse the order.
  • To change a limit, click it or click its edit button.
  • To delete a limit, click its delete button, then click Sure? within 2 seconds.
To delete a ruleset, go to the Rulesets tab and click its delete button:
  • If no limit uses the ruleset, click Sure? within 2 seconds.
  • If limits use it, a dialog lists them. Click Delete ruleset to keep those limits: each one keeps the ruleset’s rules as its own. To delete the limits too, first select the option to also delete them, such as Also delete the 2 limits.
The dialog to delete the ruleset In-depth use, which lists the two limits that use it and the option to delete them too
You can also set limits for one model, AI agent or plugin from its own settings. See Restrict model access, Restrict AI agents access and Restrict plugin access.

Step 5: Show limits in the chat

Users can see the limits that apply to them under the chat input. This message is off by default.
  1. On the Usage Limits page, open the Settings tab.
  2. Turn on Show the usage limits message under the chat input.
The Settings tab of the Usage Limits page, with the option to show the usage limits message under the chat input turned on
Users with limits then see “The current chat may come with limits. See details” under the chat input. If your workspace has a custom message under the chat input, users see that message instead. See details lists the rules for the current chat, with how much the user has used. For each rule type and period, it shows the rule that the user is closest to reaching.
The chat input, with the message: The current chat may come with limits. See details
The Limits details in the chat: 200,000 tokens per day with 10862 used, and 50 requests every 3 hours with 5 used
You can also turn this message on or off in Chat Features.

See usage against limits

Users can check how much of each limit they have used, so they know before they reach it.
  1. In the chat app, click Settings on the left sidebar.
  2. Under Account & Data, click Usage.
Usage page in Settings showing each limit with the amount used, the cap, a progress bar and the next reset time
The Usage page lists every limit that applies to the user, grouped by limit type, such as Global or AI Agent: Lead. For each rule, it shows:
  • Usage: the amount used, the cap and the period, for example “0 / 1,000 every 3 hours”, with a progress bar.
  • Next reset: when the count starts again.
Click the refresh icon next to Usage to update the numbers. On this page, messages rules are called Requests. Admins with the right permissions can also check a user’s usage. In the Admin Panel, go to User Management → Users, select the user, then open the Usage tab.

Best practices

  • Start conservatively: start with stricter limits, then adjust them as you see real usage in the chat logs or the Analytics dashboard.
  • Use rulesets for shared allowances: when several limits should change together, give them one ruleset.
  • Review regularly: update your limits as your team’s needs and your models change.
  • Check new AI models: when you enable a model that costs more, add a model limit for it.