Shreya Shankar
Hamel Husain
Free Lesson

Reduce LLM Query Time and Cost with an AI-Native SQL Engine

60 min
Dec 12, 2026 2:00 PM

By continuing, you agree to Maven's Terms and Privacy Policy.

What you'll learn

Cut the cost and runtime of LLM queries

AI-native SQL jointly optimizes query planning and model inference for a step change in cost efficiency and performance.

Combine AI functions with SQL efficiently

Learn how the Quail query planner minimizes unnecessary LLM calls, increases cache hits, and maximizes GPU throughput.

Find agent failures at scale

Use your product's agent traces and data to find issues at scale, create evals, and improve your system autonomously.

Why this topic matters

As AI handles more interactions, agent traces become key business data. Finding patterns and errors takes a hybrid of traditional analytical queries and newer AI functions to reason over data. Accurate analysis at scale gets expensive. Quail is an AI-native SQL query engine built to scale AI functions. It jointly optimizes query planning and model inference to sharply reduce cost and query time.

You'll learn from

Shreya Shankar

Shreya Shankar

AI researcher; incoming CS Professor at Carnegie Mellon

Hamel Husain

Hamel Husain

Applied Evals @ OpenAI. ML Engineer with 25+ years of experience.

See all products from Hamel Husain & Shreya Shankar
Get free access