

Google Cloud just published an official customer case study on Alvin, highlighting both how we help enterprises cut their BigQuery compute spend by 45% to 60% and how we engineered our own platform on top of Google Cloud’s serverless stack. Of course, we practice what we preach, and use our own product heavily to optimize our own BigQuery costs. Before I continue: a huge thanks to our partners, customers, as well as Googlers that have been part of our journey so far. It’s only just beginning!
Having worked with BigQuery for over a decade, our team built Alvin out of a very specific frustration. As organizations scale, balancing BigQuery cost and performance becomes a specialized, full-time job. Historically, "optimization tools" simply looked backward, analyzing yesterday’s query logs, generating a massive backlog of recommendations, and dumping them on data engineers to implement manually. My colleague Paul did a good piece on why this cost archeology is simply not good enough. And I would add: it's certainly not good enough for the agentic data era.
Data teams are already stretched thin. They shouldn't have to spend their days evaluating pricing models, tuning slot reservations, or rewriting workloads just to keep the cloud bill in check. We wanted to build a platform that autonomously generates value in the background.
Instead of giving engineers another dashboard of chores, Alvin sits directly between your data tools (like Looker, dbt, Dataform, or AI agents) and BigQuery. Alvin also fully manages and orchestrates reservations, resources and configurations in BigQuery via real-time job monitoring.
When a team connects Alvin, they grant metadata-only access, meaning we never touch or read the underlying table data. Within 30 to 60 minutes, Alvin analyzes the previous 30 days of activity to surface immediate savings opportunities. Once active, Alvin evaluates workloads query by query in real time, automatically selecting the most cost-effective execution and pricing path across BigQuery’s flexible consumption models and APIs (dynamically balancing on-demand byte scanning and various slot reservation editions) while preserving performance.
And because workloads aren't created equal, optimization isn't just a blunt race to the bottom on cost. Overnight batch transformations in Dataform can often afford to run slightly slower if it makes them significantly cheaper, whereas customer-facing analytics in Looker demand sub-second responsiveness. Alvin understands these trade-offs at the workload level and balances cost against latency automatically. Here’s a diagram from Paul’s excellent article that shows the underlying idea. A system that understands workloads deeply, like Alvin, can generate and maintain these policies autonomously in real time.

As companies invest heavily in AI initiatives, including Gemini for Google Cloud, two things happen simultaneously: data leaders need to free up budget to fund AI roadmaps, and AI agents themselves become a massive new source of unpredictable, auto-generated BigQuery queries.
While AI is driving the surge in query volume, we deliberately do not use AI agents to make optimization decisions inside Alvin. When you are sitting in the critical path of enterprise data workloads, you cannot afford hallucinations, non-deterministic routing, or LLM latency overhead. Our optimization engine is strictly deterministic, keeping every routing and execution decision consistent, provable, and auditable. In essence, Alvin is decades of experience and knowledge codified into an autonomous agent - but without the AI part.
To execute decisions in real time without adding noticeable overhead to query execution, our core engine is built in Rust and leverages Apache DataFusion, Apache Arrow, and GoogleSQL (ZetaSQL). When a query hits Alvin, we parse the SQL into its Abstract Syntax Tree (AST) and logical plan in milliseconds, cross-referencing it against historical execution metadata, table statistics, and slot utilization. This allows us to deterministically predict scan volume versus slot compute requirements on the fly and route the query to the optimal execution environment with sub-second latency.
Our choice of stack gives us compiler-grade assurance on correctness, and our rewrites and optimizations are verified and heavily tested for equivalence. For the keen reader I would recommend reading more about bags and lists and sets and what they mean for guarantees on query results (the author of Apache Calcite’s most recent project covers this well). We use all of it, both in the code and in real time against BigQuery. It is the answer to “how do you guarantee not just the same results as BigQuery, but semantically equivalent, verifiable results?” Well, I will jump back from the rabbit hole, it's just a topic that I find deeply interesting!
The long story short is that Alvin’s architecture is also an enabler for a new wave of functionality that is specifically targeted at increased and unpredictable query volume and using the right-sized compute for every workload. As such it’s only an extension of our current product thinking, just taken one step further. Looking at what I wrote about the commoditization of compute a few years ago, we are working on some really exciting things here. We are looking forward to sharing more about this soon. Companies should not need to think about which engine or table format they’re on; they should just get their data on time at the right price (and with the highest security and governance).
When you are a FinOps and cost-optimization company, you have to practice what you preach. We couldn't build a product that eliminates infrastructure toil for our customers while burning our own engineering cycles provisioning servers and paying for idle peak capacity.
To keep 99% of our engineering focus on our product and customers, we run our Rust services on a serverless-first architecture natively on Google Cloud:
For our customers, the financial impact is immediate: a 45% to 60% reduction in BigQuery compute spend without sacrificing query performance.
Our broader partnership within the Google Cloud ecosystem has also been central to making adoption frictionless. Working closely with Google Cloud and partners like Devoteam, who help organizations transform operations across cloud, data, and AI, has helped us bring autonomous FinOps to more data teams faster. Furthermore, as a BigQuery Validated Solution Partner available directly on the Google Cloud Marketplace, organizations can deploy Alvin with simplified procurement and draw down against their existing Google Cloud commit.
Even with the 45–60% savings, the best feedback we get from data teams isn't just about the budget they freed up. It’s the relief of realizing: "We don't have to think about this anymore." BigQuery evolves rapidly, and staying on top of its pricing and execution mechanics takes continuous effort. By offloading that complexity to Alvin, data engineers can get back to building the data products that actually move their business forward.
Read the full case study on Google Cloud, find Alvin on the Google Cloud Marketplace, or get in touch with us to run a free metadata savings assessment on your BigQuery environment.