ai_decide() failing with Endpoint is not enabled for batch inference in Free Edition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I'm running ai_decide() in a notebook (SQL cell, serverless compute) and it's now consistently failing with:
[INTERNAL_ERROR] Remote session creation failed: INVALID_ARGUMENT: BAD_REQUEST:
Endpoint ai_decide is not enabled for batch inference in this workspace. SQLSTATE: XX000Details:
- Workspace is on the Free Edition, AWS.
- ai_decide() function was available and ran successfully in early October in Free Edition.
- Even a minimal single-row ai_decide() test fails, so it's not query-specific.
- Partner-powered AI features are enabled in workspace settings, so that's not the blocker.
Questions:
- Is this expected? Is ai_decide(Beta) no longer available for batch inference on Free Edition workspaces, or was it a time-limited preview?
- If it's still supported, what else needs to be enabled: is there a separate toggle or enrolment ?
- Labels:
-
GenAIGeneration AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @data_pulse,
Most likely, yes. Free Edition includes many of the newest releases, but some features are limited or unavailable, and it offers no guaranteed reliability or SLA. The Free Edition limitations page lists restrictions on model serving and batch inference and states that certain models aren't available. ai_decide() is also still in Beta, as noted on the ai_decide function reference, so where it's available can change while it matures. It worked in early October and then stopped with this error, which suggests the endpoint is no longer enabled for batch inference on the Free Edition. It doesn't look like anything is misconfigured in your workspace.
There's no workspace setting you can turn on to get past this. Free Edition also has no account console access, so there's no account-level setting to change either.
If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
The issue is tied to how Databricks Free Edition handles model serving resources. Specifically, the Free Edition imposes hard restrictions on these capabilities - there is no support for batch inference endpoints, no custom models and certain foundation models are not available.
ai_decide() relies on an internal batch inference serving endpoint, Free Edition workspaces do not get that specific endpoint provisioned even if you have the partner powered AI features toggle enabled in the workspace settings. Notice the error in the stack trace (Endpoint ai_decide is not enabled for batch inference in this workspace)- it calls out the underlying serving endpoint rather than the preview feature. You are hitting the platform level provisioning restriction.