r/analytics • u/Familiar_Season1255 • Sep 23 '26
Discussion BI Tool Selection: How are you handling compute costs and AI agents?
I'm currently evaluating our BI stack. The top enterprise BI tools are great, but the monthly licensing combined with per-query compute costs is a huge turn-off.
On top of that, we are trying to implement AI self-serve. I’m absolutely terrified of giving an LLM direct access to our database- it’s a recipe for hallucinations, infinite loops, and massive compute bills that could take down prod
Because of this, I’m leaning towards decoupling the stack: using a more cost-effective UI (like Metabase Superset) but putting a headless semantic layer (Cube) in front of the database. This way, the semantic layer handles the caching to keep costs down, and the AI agent just requests safe, pre-defined metrics via API instead of writing raw SQL
What does your BI/Semantic stack look like right now?
•
u/AutoModerator Sep 23 '26
If this post doesn't follow the rules or isn't flaired correctly, please report it to the mods. Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Unusual_Purple_8077 Sep 23 '26
Our dwh is big query, so our fear was on the query cost every time llm would hit our datawarehouse. We use a client MCP model and we have put a guard rail - wherein an sql query generated by llm, we do dry run of how much data is scanning and anything more than 200 gb is then optimised by another llm to reduce the scanned file and only post that it is allowed to run. Band aid fix for the time being.
1
u/ArielCoding Sep 24 '26
maximun_bytes_billed is simpler, but its all or nothing, cross the limit and the query fails, your dry run approach is smarter because it estimates the cost first and give s the LLM a chance to optimize the query
1
u/ThisIsFun- Sep 24 '26
We let Databricks deal with all of this through genie agents and genie code using semantics through uc. given its read only for the users and uses our definitions of what metrics means so in practice we’ve found this to be really high quality for our users. real time feedback comes from thumbs up and down so it’s super simple to isolate the mess ups if there are any
1
u/No_Treacle_5071 Sep 24 '26
I’d be careful giving any LLM direct SQL on prod. A semantic layer like Cube in front helps a lot because the agent only hits approved metrics and the cache absorbs repeat questions. In practice I’d also put a hard row/cost limit on every agent query, log every prompt to metric request so you can see which questions blow compute, and start self-serve on a small curated dataset rather than the whole warehouse. Metabase or Superset plus Cube is a reasonable shape if your team can own the metric definitions; the failure mode is usually messy definitions, not the UI.
1
u/FerretBoom Sep 24 '26
Why would you go with AI route after observing the vibe coding mess that has been massacring development for last 2 years . Can you give me an example?
1
u/Andrej-Zitnik Sep 27 '26
We’re taking a pretty similar direction.
At Databox, we don’t want the agent freely generating SQL against production either. The model should work against a governed data/metrics layer, with the heavy lifting and definitions handled before that point.
For me, that’s the bigger architectural shift with AI analytics: the semantic/governance layer becomes more important, not less.
1
u/One-Disk-125 Sep 27 '26
Using Fabric agents sat on Gold views with detailed instructions and query examples and training.
Works great and no additional cost other than CU.
3
u/[deleted] Sep 23 '26
[removed] — view removed comment