Skip to content
MUI’s hosted AI Assistant backend shuts down at the end of 2026.Switch in two lines →
  • Products
    • AG Grid AI Toolkit Early accessThe model and the server behind the toolkit.
    • MUI X Data Grid StableThe backend for the Premium AI Assistant.
    • TanStack Table Public alphaA plugin that applies each answer to your table.
    • AG Studio Early accessA hosted backend for its assistant, not built yet.
  • How it works
  • Accuracy
  • Pricing
  • Security
  • Docs
    • Quickstart: server route
    • Quickstart: TanStack Table
    • Browser keys
    • Moving from MUI’s hosted service
    • Guide: when MUI’s service retires
Sign inStart a 7-day trial
Menu
  • Products
    • AG Grid AI Toolkit Early access
    • MUI X Data Grid Stable
    • TanStack Table Public alpha
    • AG Studio Early access
  • How it works
  • Accuracy
  • Pricing
  • Security
  • Docs
    • Quickstart: server route
    • Quickstart: TanStack Table
    • Browser keys
    • Moving from MUI’s hosted service
    • Guide: when MUI’s service retires
  • Sign in

Product

  • How it works
  • Accuracy
  • Pricing
  • Data and security

Grids

  • AG Grid AI ToolkitEarly access
  • MUI X Data Grid PremiumStable
  • TanStack TablePublic alpha
  • AG StudioEarly access

Docs

  • Quickstart: server route
  • Browser keys
  • Guide: when MUI’s service retires

Company

  • Contact
  • Terms
  • Privacy

Not affiliated with or endorsed by MUI or AG Grid. MUI and AG Grid are trademarks of their respective owners.

© 2026 Gridsay

Docs pages
Start
  • Documentation
  • How it works
  • Examples
MUI X Data Grid
  • Quickstart: server route
  • From the browser
  • Using the helper
  • Filtering
  • Sorting
  • Grouping
  • Aggregation
  • Pivoting
  • Charts
  • Row selection
  • Follow-up questions
  • Refusals and errors
  • Moving from MUI’s service
  • Reference
TanStack Table
  • Quickstart
  • Describing columns
  • Filtering
  • Sorting
  • Grouping
  • Row selection
  • Server-side data
  • Controlled state
  • Undo and reset
  • Refusals and errors
  • API reference
Keys and sign-in
  • Secret and publishable keys
  • Browser keys
  • JWT and OIDC
  • Session tokens
  • Identity webhook
  • Per-user limits
  • The console
  • Data and privacy
HTTP API
  • HTTP API
  • Authentication
  • Data Grid endpoint
  • Follow-up questions
  • Private mode
Reference
  • Errors
  • Limits
  • Tiers and credits
  • @gridsay/core
On this page

On this page

  1. Request size
  2. What the first model call is sent
  3. Rate limits
  4. Time limits
  5. What each plan allows
  6. Session tokens
  7. Next
Skip to the article
Start
  • Documentation
  • How it works
  • Examples
MUI X Data Grid
  • Quickstart: server route
  • From the browser
  • Using the helper
  • Filtering
  • Sorting
  • Grouping
  • Aggregation
  • Pivoting
  • Charts
  • Row selection
  • Follow-up questions
  • Refusals and errors
  • Moving from MUI’s service
  • Reference
TanStack Table
  • Quickstart
  • Describing columns
  • Filtering
  • Sorting
  • Grouping
  • Row selection
  • Server-side data
  • Controlled state
  • Undo and reset
  • Refusals and errors
  • API reference
Keys and sign-in
  • Secret and publishable keys
  • Browser keys
  • JWT and OIDC
  • Session tokens
  • Identity webhook
  • Per-user limits
  • The console
  • Data and privacy
HTTP API
  • HTTP API
  • Authentication
  • Data Grid endpoint
  • Follow-up questions
  • Private mode
Reference
  • Errors
  • Limits
  • Tiers and credits
  • @gridsay/core

Limits

On this page

  1. Request size
  2. What the first model call is sent
  3. Rate limits
  4. Time limits
  5. What each plan allows
  6. Session tokens
  7. Next

Every limit Gridsay applies to a question, and what you get back when one is reached. None of these refusals is charged.

Request size#

Characters are counted as JavaScript counts a string's length; bytes are UTF-8.

WhatData Grid endpointOver it
The whole bodyData Grid endpoint2 MB (2,097,152 bytes)Over it413 context_too_large
What the first model call for a question is sentData Grid endpoint73,728 bytesOver it413 context_too_large
queryData Grid endpoint1 to 8,000 charactersOver it400 invalid_request
contextData Grid endpoint1,000,000 charactersOver it413 context_too_large
options.additionalContext, additionalContextData Grid endpoint20,000 characters eachOver it400 invalid_request
conversationIdData Grid endpoint255 charactersOver it400 invalid_request
options.metadata.referenceIdData Grid endpoint127 charactersOver it400 invalid_request
A column id in grid.columnsData Grid endpoint255 charactersOver it400 invalid_request
aggregationFunctions of a columnData Grid endpoint32 entries of 64 charactersOver it400 invalid_request
options of a columnData Grid endpoint500 entries; text of 255 charactersOver it400 invalid_request

There is no limit on the number of columns as such: the limits above bound them.

What the first model call is sent#

The 73,728-byte limit counts the text of the first model call for a question: our instructions, your columns or schema, the current view, your notes and the question, plus the earlier turns that fit. It is not the size of your request body, and it does not cover everything a question can send: when an answer is corrected, the correction call adds that answer and what was wrong with it, up to 16,896 bytes more. A question over it is refused before anything is spent, and detail gives the size:

JSON
{  "ok": false,  "statusCode": 413,  "code": "context_too_large",  "message": "This table is too large for the assistant.",  "detail": "This question would send the model 80,214 bytes, over the limit of 73,728. Send fewer or shorter example values, shorter column descriptions, or fewer columns in one request. Refused before the model; not charged; no Usage log row."}

To fit, send fewer or shorter example values, shorter descriptions, or fewer columns. A follow-up that fits only without some earlier turns drops the oldest: see Follow-up questions.

Rate limits#

Gridsay sets no fixed number of questions per minute for your plan. What can stop a question:

LimitApplies toSet byAnswer
Key limits: per minute, hour, day or monthApplies toOne publishable key, all its usersSet byYou, on the keyAnswer429 rate_limited with retryAfter
User rules: the same windows, per signed-in userApplies toEach user of one publishable keySet byYou, on the keyAnswer429 rate_limited with retryAfter, and your rule's sentence if you wrote one
Sign-in checks: more than 20 a minute, counting failed checks and checks still in progressApplies toOne publishable key and client addressSet byGridsayAnswer429 rate_limited with retryAfter
Questions in progressApplies toYour organization, and each user or keySet byGridsayAnswer429 rate_limited, retryAfter 5
Spending on failed questions, which we do not chargeApplies toYour organization, and each user or key, per hour, day, week and billing periodSet byGridsayAnswer429 rate_limited with the wait
The credits of your periodApplies toYour organizationSet byYour plan and extra-usage capAnswer402 quota_exceeded or billing_limit_exceeded
  • Key limits and user rules exist on publishable keys only. Behind a secret key, limit your users on your own server. Set them up in User limits.
  • A month is a UTC calendar month. A day is a UTC day.
  • Minute and hour counts are kept on each server and start again when it restarts, so treat them as approximate. Day and month counts are stored.
  • A question counts against your key and user limits once a model was called for it, even if it failed and was not charged. One refused before the model does not count.
  • The failed-question limit is an amount of our spending, not a number of questions: a large question can be refused while a small one still fits.

Time limits#

There is no deadline on the whole request. Each model call is stopped after 15 seconds; a question can make more than one call, when an answer is corrected or a second model takes over after a failure, so allow for more than 15 seconds. On a key set to auto, choosing the tier takes at most 750 milliseconds; past that, fast answers.

A client that disconnects before the answer is ready is not charged, and the model calls answering its question are stopped. On a key set to auto, choosing the tier is not stopped: it ends on its own, within about 750 milliseconds.

What each plan allows#

ProBusinessEnterprise
Keys per organization, secret and publishable togetherPro5BusinessNo limitEnterpriseNo limit, unless your contract sets one
Request history read for follow-upsPro30 daysBusiness90 daysEnterpriseAs your contract says
Credits per periodProBy plan sizeBusinessBy plan sizeEnterpriseBy contract

The trial is Pro, for 7 days, with its own credit allowance and no extra usage. Credits per plan and their prices are on Pricing; what a question costs in credits is in Tiers and credits.

Session tokens#

POST /api/v1/sessions mints a user's token from your server with a secret key. It uses no credits.

WhatLimitOver it
The whole bodyLimit16 KBOver it400 invalid_request
userIdLimit1 to 255 charactersOver it400 invalid_request
attributesLimit8,192 bytes as JSONOver it400 invalid_request
ttlSecondsLimit60 to 86,400; default 3,600Over it400 invalid_request

Next#

  • Errors
  • Tiers and credits
  • User limits