
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.

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.- In the Admin Panel, go to User Management → Groups.
- Click Create group, and add members to it.
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.- In the Admin Panel, go to Access & Limits → Usage Limits, and open the Rulesets tab.
- Click New ruleset.
- Enter a Ruleset name, or keep the suggested name, such as “Ruleset 3”.
- Click Add rule for each rule, and set its number, rule type and period.
- Click Save.
- 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.

Step 3: Add limits
- On the Usage Limits page, open the Limits tab.
- Click Add new limit.
- 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.
- 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.
- 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.
- 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.”
- Click Save.

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.
- 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.

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.- On the Usage Limits page, open the Settings tab.
- Turn on Show the usage limits message under the chat input.



See usage against limits
Users can check how much of each limit they have used, so they know before they reach it.- In the chat app, click Settings on the left sidebar.
- Under Account & Data, click Usage.

- 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.
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.