Monday, December 1, 2025
HomeTechnologySenior Director of Million-Greenback Regexes – O’Reilly

Senior Director of Million-Greenback Regexes – O’Reilly

The next article initially appeared on Medium and is being republished right here with the writer’s permission.

Don’t get me mistaken, I’m up all night time utilizing these instruments.

However I additionally sense we’re heading for an costly hangover. The opposite day, a colleague advised me a couple of new proposal to route one million paperwork a day by means of a system that identifies and removes Social Safety numbers.

I joked that this was going to be a “million-dollar common expression.”

Run the maths on the “naïve” implementation with full GPT-5 and it’s eye-watering: One million messages a day at ~50K characters every works out to round 12.5 billion tokens each day, or $15,000 a day at present pricing. That’s practically $6 million a 12 months to examine for Social Safety numbers. Even when you migrate to GPT-5 Nano, you continue to spend about $230,000 a 12 months.

That’s a hit. You “saved” $5.77 million a 12 months…

How about operating this code for one million paperwork a day? How a lot would this price:

import re; s = re.sub(r”bd{3}[- ]?d{2}[- ]?d{4}b”, “[REDACTED]”, s)

A plain previous EC2 occasion might deal with this… A single EC2 occasion—one thing like an m1.small at 30 bucks a month—might churn by means of the identical workload with a regex and price you a couple of hundred {dollars} a 12 months.

Which implies that in follow, firms will probably be calling individuals like me in a 12 months saying, “We’re burning one million {dollars} to do one thing that ought to price a fraction of that—are you able to repair it?”

From $15,000/day to $0.96/day—I do suppose we’re about to see a number of firms notice {that a} pondering mannequin linked to an MCP server is far more costly than simply paying somebody to write down a bash script. Beginning now, you’ll be capable of make a profession out of un-LLM-ifying purposes.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments