REVOLT BI IS NOW PART OF JOYFUL CRAFTSMEN. READ MORE →

AISQL isn’t BI With AI – It’s Data Science in SQL Clothing

What every manager sponsoring AI analytics needs to understand before the project starts

Jan Šulc
19. June 2026

For decades, getting AI into production meant Python, MLOps pipelines, model-serving infrastructure, and a data science team to glue it all together. There was a significant gap between “we have a model” and “it’s running in production”.

Snowflake – along with similar offerings – has collapsed that gap. Your analysts can now call an LLM, classify a ticket, extract entities, or score sentiment from a SELECT statement. No Python. No external APIs. No new infrastructure.

It looks like SQL. It feels like SQL. And that’s the trap.

Because the moment your team treats AI functions like regular SQL – write it, test it once, deploy it, move on – you’ve already lost the plot. The tools got radically easier. The discipline they require got radically more important. And the cost of skipping that discipline got several orders of magnitude higher.

The shift nobody’s preparing teams for

Traditional analytics is deterministic. SUM(revenue) WHERE region = ‘EMEA’ returns the same answer every time. You write it, validate it once, and ship it. The cost is predictable. The output is predictable. The maintenance is minimal.

AI functions are probabilistic. Run the same classification on the same row twice and you may get different answers. “Accuracy” is no longer pass/fail – it’s a distribution. A model that’s 92% accurate isn’t broken in 8% of cases the same way every time; it’s wrong in different ways for different reasons.

This is the world data scientists have always lived in. It’s new for analytics teams.

The first reframe you need as a sponsor: stop asking “does it work?” and start asking “where does it fail, and what does that failure cost the business?” A classifier that’s 95% accurate on tickets sounds great until you realize the 5% it gets wrong are all the high-value enterprise complaints. Aggregate accuracy lies. The shape of the errors is what matters.

When your team brings you a number – “the model is 91% accurate” – the right follow-up isn’t “can we get to 95?” It’s “show me the 9% that’s wrong, and tell me which of those errors cost us money.”

The economics flipped – and that one’s a budget killer

Here’s the part most teams don’t internalize until they get the bill.

Traditional Snowflake costs scale with warehouse runtime. A one-minute query on an X-Small warehouse costs roughly $0.05. You can run it a thousand times for $50 and not flinch. Compute is cheap, predictable, and easy to budget.

AI functions don’t bill that way. They bill per token, and the spread is wild:

  • Running the same prompt across 1 million rows can cost anywhere from a few hundred dollars on a small model to tens of thousands on a premium frontier model – for identical work.
  • The same classification task can vary by 10x in cost depending on which model the team picks, with no obvious quality difference at the task level.

There are public horror stories of teams running a single AI query across roughly a billion records and walking into a five-figure bill – driven entirely by tokens, not by compute.

The practical implication for you as a sponsor: with traditional SQL, “let’s just run it and see” is a $5 mistake. With AI functions on a real dataset, it’s a $5,000 mistake. The economics of experimentation flipped, and that has to show up in how you scope projects.

Two budget questions that didn’t exist before but do now:

  • What’s the cost to run this on the full dataset once? Not a guess. A measured number from a sample, projected up.
  • What’s the cost to run this every time new data arrives? A pipeline that processes every new ticket costs more as ticket volume grows. A dashboard doesn’t.

If those numbers aren’t on the scoping document, the project isn’t fully scoped.

ROI beats accuracy – and they’re not the same thing

A trap teams fall into is optimizing for accuracy in isolation. Accuracy is satisfying. It’s a number that goes up. It feels like progress.

But accuracy is a vanity metric without a business outcome attached.

Take sentiment analysis as an example. A model with 70% overall accuracy sounds disappointing – until you look closer at where the errors are. They typically cluster in the ambiguous middle: sarcasm, mixed feedback, neutral statements that could go either way. The clearly positive and clearly negative cases get classified correctly almost all the time. Most sentiment functions give you a signal for this – either a confidence score, or an explicit “unknown” or “mixed” label.

That lets you build a tiered workflow. The confident cases – say 80% of tickets – get auto-routed by the model. The uncertain ones – the remaining 20% – go to a human reviewer. Your human review pile just dropped from a million tickets to two hundred thousand, and the auto-routed pile is highly accurate because you only auto-routed the cases the model was sure about. The headline number is still 65%, but the business outcome is an 80% reduction in manual work. That’s a real ROI win the headline accuracy completely hides.

The right question isn’t “how accurate can we get this?” – it’s “what’s the optimal point between accuracy and cost for the business outcome we need?” Accuracy and cost are a curve, not a target. Squeezing the last few percentage points of accuracy usually means jumping to a much more expensive model, a more elaborate prompt, or a longer human-review tail – and those costs are real and recurring. The job is to find the point on the curve where one more unit of accuracy stops being worth what it costs to get there.

That’s the data science framing. It’s how precision-recall tradeoffs have been navigated for decades. It’s now your team’s problem too – and yours, as the person defining what “good enough” looks like.

If your team can’t tell you the accuracy threshold that delivers the business outcome, that’s a sign the business outcome itself isn’t defined clearly enough. Which leads to the next conversation.

The business conversation has to change

Traditional BI requirements gathering is largely about what to show. Which KPIs. Which dimensions. Which filters. The business says “I need quarterly revenue by region” and the analyst builds it. The output is deterministic, so the conversation is about scope, not behavior.

AI analytics requirements gathering is fundamentally different. The output is probabilistic, the cost varies with the approach, and the definition of “correct” is no longer obvious. Five conversations have to happen before anyone writes a function call:

1. What does success actually mean – in business terms, not accuracy terms?

“Classify support tickets” isn’t a requirement. “Reduce average time-to-first-response by 30% by routing tickets to the right team automatically” is. The second framing tells you what accuracy threshold matters, where errors are tolerable, and how to measure whether it’s working in production.

If the business can’t articulate the outcome in those terms, the project isn’t ready to start. That’s an uncomfortable thing to say in a kickoff meeting. Say it anyway.

2. What’s the cost of being wrong – and is it symmetric?

Almost no AI analytics task has symmetric error costs. Misclassifying a routine ticket as urgent wastes a few minutes of a senior agent’s time. Misclassifying an urgent enterprise issue as routine can cost a contract. Flagging a real fraud signal as noise is very different from flagging a routine transaction as fraud.

The business needs to articulate this asymmetry explicitly. It directly shapes how the model is tuned, what the human-review threshold is, and which kind of error the team optimizes against. If nobody on the business side has thought about it, walk them through it before the team starts building.

3. Where does human review fit in the workflow?

AI analytics is rarely “set it and forget it.” For most use cases, the right answer is a tiered system: the model handles the confident cases automatically, the ambiguous ones go to a human, and edge cases get escalated.

Designing that workflow is a business conversation, not a technical one. Who reviews? How often? What’s the SLA on the review queue? What happens to feedback – does it improve the system, or just sit there? These questions need answers before launch, not after.

4. What’s the budget tolerance – and does it scale with volume?

Traditional BI costs scale with data volume and run frequency too – bigger tables mean bigger warehouses, more frequent runs mean more compute. The difference with AI analytics isn’t whether costs scale, it’s how steeply and how many new levers there are. Three things to talk through with the business:

  • The starting point is different. AI per-row costs are orders of magnitude higher than SQL per-row costs. A scope change that would be a rounding error in a traditional pipeline can be a budget event in an AI one.
  • Model choice is a second cost dimension that doesn’t exist in BI. Doubling the dataset doubles the cost. Switching to a premium model on top of that can multiply it by another 10–50x. The business needs to know who decides which model gets used – and that the answer can change the bill by an order of magnitude.
  • Re-runs aren’t cached. In traditional BI, re-querying materialized data is cheap. With AI functions, every re-run is fresh compute. Tweaking a prompt to fix an edge case means re-processing the affected rows from scratch. Iteration has a real cost line.

These dynamics need to be on the table during scoping, not surprises at the first invoice.

5. How will we know it’s still working in three months?

Traditional BI breaks loudly. A query fails, a dashboard shows zero, someone notices. AI analytics breaks quietly – accuracy drifts, edge cases shift, the model keeps producing plausible-looking output that’s slowly diverging from reality.

The business needs to commit to an ongoing review process, not just a launch. Who looks at the quality of the output monthly? Who decides when accuracy has degraded enough to warrant a re-prompt or a model switch? Who owns the budget for that maintenance work?

If those owners don’t exist at launch, the project is being set up to quietly fail six months in.

The thread connecting all five: AI analytics requires the business to think probabilistically. Most stakeholders are wired for deterministic systems – they want a clear answer about what the tool will do, what it will cost, and how accurate it will be. The honest answer is “it depends, here’s the range, and here’s how we’ll learn together.”

That’s a more demanding conversation than scoping a dashboard. It’s also the conversation that separates AI projects that deliver business value from ones that produce impressive demos and quietly disappear.

What this means for your team

The shift on the technical side is just as real. Your analysts now need to work the way data scientists have always worked:

  • Experiment on a sample before scaling. With per-token costs, “run it and see” stopped being free. The right workflow is hand-labelling a small evaluation set, iterating prompts on it cheaply, and only scaling to the full dataset once the results clear the business threshold.
  • Treat prompts as code. The prompt is the new business logic – it defines what counts as a complaint, what makes a ticket urgent, what your specific categories mean. It deserves the same version control, code review, and testing as anything else in the transformation layer.
  • Monitor for drift. Models get updated by the vendor. Input data shifts. What worked last quarter may degrade silently. The team needs a labelled “golden set” that runs on a schedule and alerts when accuracy drops – the same way they alert on data freshness.

None of this is exotic. It’s borrowed straight from MLOps and data science practice. But it’s new for most analytics teams, and it doesn’t happen by accident. As the sponsor, you set the expectation. If you treat the project like a normal BI build, your team will too – and you’ll find out six months in that it isn’t.

The bottom line

The promise of AI in SQL is real. Your analysts can now do work that used to require an ML team. That’s genuinely revolutionary.

But the discipline that used to live in the ML team – experimentation, evaluation, cost-awareness, drift monitoring – doesn’t disappear just because the tool got easier. It moves to the analytics team. And the conversations that used to live in ML project planning have to move to the business side: the people sponsoring the work, defining success, and owning the outcome.

The platforms made AI feel like SQL. The work of making it deliver business value still looks like data science.

Jan Šulc

Business Analyst at Revolt BI with hands-on experience in Snowflake and modern data platforms. 


Book a free 30-minute call. We’ll model the token costs on a real sample from your stack — before you commit the budget.

Read some of our other articles