Towards Data Science

We Built a Routing Layer to Cut Our AI Costs. It Broke the Product.

A team cut their AI inference bill by more than half. Three months later, customer satisfaction was dropping and the cost savings were tied to the quality loss.

Towards Data Science
May 29

RAG Is Burning Money — I Built a Cost Control Layer to Fix It

Most RAG systems are optimized for answer quality, not cost—and that blind spot gets expensive fast. In this article, I break down a production-ready cost control layer combining semantic caching, query routing, token budgeting, and circuit breaking, achieving an 85% reduction in LLM costs without sacrificing answer quality.

By Emmimal P Alexander
Towards Data Science
Oct 20

The Hidden Cost of LLM Routing: Why Switching Models Costs More

The article examines the practice of routing requests to different large language models (LLMs) during a single session. It reports that switching models mid‑session can negate the expected cost savings from using cheaper inference options. The author conducted tests to illustrate how these switches impact overall expenses.

By Nhu Hoang
Towards Data Science
Nov 16

How to Avoid AI Replacement as an Analytics Professional in 2027

The article explains how analytics professionals can safeguard their roles against AI replacement by learning from manufacturing and logistics projects. It emphasizes the importance of tracking data from input to output and converting vague requests into deterministic tools that teams can trust. By following these practices, analysts can maintain relevance and value in an increasingly automated landscape.

By Samir Saci
arXiv AI
Sep 25

Control the Harness, Control the Cost: Routing and Governing AI Coding Agents in the Enterprise

The paper discusses how enterprises increasingly deploy AI coding agent harnesses, often purchased from vendors like Anthropic or OpenAI, and how these harnesses dictate model choice, prompt handling, and cost. It introduces a fast, customizable routing system that classifies prompts and strategically routes them to minimize expensive model usage, achieving 14–21% cost savings in a simulated 10,000-seat enterprise. The study also evaluates risks across twenty harnesses, highlights vendor dependence, and proposes an internal control plane for future harness ownership decisions.

By Arian Abbasi, Alan Aqrawi, Ted Kwartler
Towards Data Science
Oct 1

Your AI Bill Is a Toll Booth. Stop Paying Twice.

The article titled "Your AI Bill Is a Toll Booth. Stop Paying Twice." discusses how users are unexpectedly paying more for AI services than anticipated, likening the experience to a toll booth where one pays twice. It highlights the unseen costs that can arise when using AI tools and urges readers to be vigilant about their expenses. The piece was first published on Towards Data Science.

By Gursimar Singh
Simon Willison
Oct 28

Quoting Terk Terkowitz

The article discusses how engineers should view the lack of benefit from current AI tools as a finding rather than a failure. It encourages documenting these observations, sharing them with peers and managers, and actively seeking solutions. By explaining where AI falls short, engineers demonstrate the judgment expected of them.

Towards Data Science
Oct 8

Everyone Is Selling AI at You — Here’s How to Keep Your Judgement

The article titled "Everyone Is Selling AI at You — Here’s How to Keep Your Judgement" discusses three strategies for navigating the current AI hype. It offers practical moves to help readers maintain critical thinking and discern genuine value from marketing claims. The piece was originally published on Towards Data Science.

By Janna Lipenkova
Towards Data Science
Oct 5

How to Build a Cheap, Yet Reliable Model Router With Jev

The article explains how to create an inexpensive yet dependable model router using Jev, highlighting that model routing can now be considered a design decision rather than merely a system improvement. It outlines the steps and benefits of implementing this approach, emphasizing its practicality and cost-effectiveness. The piece serves as a guide for developers looking to integrate efficient model routing into their workflows.

By Thuwarakesh Murallie