Skip to content

Written for: For administrators

Limit Nash by group

5 min read · Updated 4 Dec 2026

To cap how much Nash a group may use, or to offer it a smaller set of models, set an AI policy for the group:

  1. Open Administration → License & Usage and select the Nash limits tab.
  2. Choose a group and select Add group policy, or select Set beside Workspace default.
  3. Choose the models, add limits, write the message members see when a request is blocked, and select Save policy.

The Nash limits table showing the workspace default and Finance’s shared daily request limit

A policy saves on its own, apart from Save changes, and takes effect within about 30 seconds. Owners and administrators can set policies. With no policy at all, Nash is not limited and no usage is counted.

Setting What it does
Models Every model, or Only the selected models. The Nash model picker lists only these.
Model used when the member does not choose The model Nash starts with for the group. It must be one of the allowed models.
Limits Up to eight, each an amount of Tokens or Requests per window.
When a limit is reached Block the request, or Allow and record it.
Message shown when a request is blocked Up to 500 characters, for example how to upgrade.

A limit counts either one pool Shared by the group, or an allowance For each member. Tokens are input plus output tokens. A request is one Nash turn, or one AI suggestion made on a semantic layer. A request reaches the limit when an allowance that applies to its model is used up. The policy then blocks the request or allows and records it, depending on your choice.

Windows follow the calendar in UTC: 4-hour blocks from midnight, days, weeks from Monday and months. A limit resets when its window ends.

  • A member of a group with a policy gets that policy. This includes members whose group comes from an OEM web ticket, so embedded users are limited the same way.
  • A member of several groups with policies can use a model that any of those policies allows, and a request passes while any one of them has room. The usage counts against the policy that let the request through.
  • Everyone no group policy covers gets the Workspace default, if one is set.
  • Scheduled Nash runs carry no groups, so they follow the Workspace default whatever groups their owner belongs to.

A member picks from the allowed models only. Once a blocking limit is reached, the next request is refused with the policy’s message until the window resets. A request already running is not stopped, and each Astrato server counts usage on its own before sharing it, usually within about a minute, or later if the database is unreachable. Limits are therefore approximate: a group can pass its limit by what its running requests and that delay add up to, which grows with how busy it is.

A refused request answers with one of two codes:

Code HTTP status Meaning
AI_LIMIT_REACHED 429 A limit of the member’s policy is used up.
AI_MODEL_NOT_ALLOWED 403 The requested model is not one the policy allows.

Policies apply to Nash chat, Data App Builder, scheduled Nash runs and the AI suggestions on a semantic layer, whether the model is Astrato’s or one of your own AI providers. Workbook Nash, self-service report generation and data insights are not limited by these policies.

The same policies are available without the Administration screens, for an application that manages its own groups:

A policy sent to either replaces the stored one:

{
"allowedModels": [{ "providerId": "astrato", "modelId": "small" }],
"defaultModel": { "providerId": "astrato", "modelId": "small" },
"limits": [{ "metric": "tokens", "window": "4h", "scope": "group", "amount": 100000 }],
"onLimit": "block",
"limitMessage": "You have used this period's AI allowance. Contact your account manager to upgrade."
}

metric is tokens or requests; window is 4h, day, week or month; scope is group or perUser. Add model ({ "providerId", "modelId" }, an allowed model) to a limit to count only that model: when it is reached, members can carry on with another model. fallbackModel, also an allowed model, is the model Nash switches to automatically when a limit on the chosen model is reached; without it, Nash offers the member up to three models that still have room. Leave allowedModels out to allow every model, and leave modelId out of an entry to allow every model of that provider.

The model picker keeps a spent model listed, marked Limit reached with when it resets. If the policy names a fallback model that still has room, Nash answers with it and says so above the reply. Otherwise the refusal shows a card with your message, when the limit resets, and a Continue with … button for each model that still has room; choosing one re-sends the message with that model. Over HTTP the refusal is a 429 with code, model, resetsAt, modelLimit and alternatives.

In Administration → License & Usage, the Nash usage tab shows tokens, requests and blocked requests for this month, last month, or the last 7 or 30 days, by group (with the workspace default pool), by member, by model, or by group and model together. Export CSV downloads one row per subject and model. Over HTTP or MCP the usage report covers any range of up to 400 days; it defaults to the current month. Each group policy also shows, per shared limit, how much is used in the current window and when it resets. Usage appears within about a minute. Counters are kept for 400 days.