MUI’s hosted AI Assistant backend shuts down on .
The MUI X Data Grid Premium AI Assistant itself keeps working. The hosted service that answered its prompts does not: MUI announced it shuts down at the end of 2026 and accepts no new subscriptions, and the AI Assistant docs now tell you to use your own prompt processor in production. If your app sends prompts to backend.mui.com, you need a new backend before the end of the year.
Gridsay accepts the same request and returns the same response format. For most apps the switch is two lines in one server route.
Removed: const url = 'https://backend.mui.com/api/v1/datagrid/prompt';Added: const url = `${GRIDSAY_URL}/api/v1/datagrid/prompt`;Removed: 'x-api-key': process.env.MUI_DATAGRID_API_KEY,Added: 'x-api-key': process.env.GRIDSAY_API_KEY,Three steps, about as long as a deploy.
Create a Gridsay key.
Sign up, add a card to start the 7-day trial, and create a secret key. Pick a tier:
fastis the default. Your MUI key does not carry over; every account starts with a new key.Change the URL and key in your server route.
Your browser code stays the same. In the route that forwards prompts, change two lines:
app/api/ai-assistant/route.ts Removed: const url = 'https://backend.mui.com/api/v1/datagrid/prompt';Added: const url = `${GRIDSAY_URL}/api/v1/datagrid/prompt`;Removed: 'x-api-key': process.env.MUI_DATAGRID_API_KEY,Added: 'x-api-key': process.env.GRIDSAY_API_KEY,GRIDSAY_URLis your Gridsay gateway address, shown in the dashboard next to your new key.If you are setting the route up fresh, this is a complete Next.js route. It forwards the whole body, including
conversationIdandoptions, and returns our response and HTTP status unchanged:app/api/ai-assistant/route.ts import { type NextRequest, NextResponse } from 'next/server'; export async function POST(request: NextRequest) { const response = await fetch(`${process.env.GRIDSAY_URL}/api/v1/datagrid/prompt`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-api-key': process.env.GRIDSAY_API_KEY!, }, body: JSON.stringify(await request.json()), }); return NextResponse.json(await response.json(), { status: response.status });}The grid keeps using MUI’s stock resolver:
TSX function onPrompt(prompt: string, context: string, conversationId?: string) { return unstable_gridDefaultPromptResolver('/api/ai-assistant', prompt, context, conversationId);} <DataGridPremium rows={rows} columns={columns} aiAssistant onPrompt={onPrompt} />Ask it something.
Open the AI Assistant panel and try a filter, then a follow-up. Both appear in the request log on the Gridsay dashboard’s usage page. Then deploy.
What changes, and what does not.
- Same:
the endpoint path, the
x-api-keyheader, the request body, the response shape,{ ok: false, message }errors that the grid shows in its panel, conversation memory byconversationId, private mode, andmeta.usedQueriesandmeta.remainingQueriesin each response.- Different:
a new account and key; our own prompt and models; credits instead of a query count; and plans and prices (below). Error messages are written for the person using your grid, with a
codeand adetailfor your developers that the grid does not show. An answer that cannot be applied to your columns is corrected once or refused with a reason; it is not trimmed and returned as a success.- New, optional:
a browser helper that tells the server which features your grid switched off and what the grid shows now, so follow-ups respect changes the user made by hand. It also checks answers before the grid applies them. It is not yet published; this page will show how to install it when it is.
- New, optional:
publishable keys, if you would rather call Gridsay from the browser with your user’s sign-in token than run a route. They need the helper.
What your grid sends, and what we store, is on the data and security page.
A 7-day trial, then plans from $20 a month.
MUI’s hosted plans were 1,500 questions for $14.99 and 5,000 for $49.99 a month. Gridsay Pro is $20 a month for 4,000 questions on the default tier, and extra questions are $5 per 1,000 up to a cap you set. The trial is 7 days on the Pro plan and needs a card; Pro is charged on day 8 unless you cancel. Switching with live traffic close to 31 December? Start the paid plan on day one from the dashboard, on any plan: the trial ends and the plan’s month starts then, with its full credits. There is no free plan.
| On MUI’s service | Questions a month | On Gridsay | Difference |
|---|---|---|---|
| Starter, $14.99 | 1,500 | Pro, $20 | $5 more, for 2.7 times the allowance, and extra questions past it up to your cap instead of a hard stop |
| Growth, $49.99 | 5,000 | Pro plus 1,000 extra credits, $25 | About half the price |
You have four options. Only one of them is us.
Run your own backend.
MUI’s docs now describe this path. You write a route that builds a prompt from the request and the grid’s column context, calls a model you have an account with, and returns the response format the grid expects. Choose this if you already run an LLM account, want full control of the prompt, or cannot send column definitions to another company. Plan for more than the model call: validating answers against the columns (the grid throws on an unknown column), conversation memory, testing on real requests, and limits so one user cannot spend your month’s budget.
Switch to a hosted backend such as Gridsay.
Two lines in your route. Choose this if you want the assistant working this month and would rather not maintain the prompt and the checks.
Turn the assistant off.
Remove the
aiAssistantprop. Your grid keeps every normal control. Choose this if few users touched the feature. If you do not know, check how many questions your MUI dashboard counted before it closes.Build something different.
Some teams build a filter-only search box on their own model call. Choose this if most of what users asked for was filtering.