17.7 C
Canberra
Wednesday, December 3, 2025

Senior Director of Million-Greenback Regexes – O’Reilly



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

Don’t get me flawed, 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 informed me a few new proposal to route 1,000,000 paperwork a day by 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 should 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 1,000,000 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 outdated EC2 occasion might deal with this… A single EC2 occasion—one thing like an m1.small at 30 bucks a month—might churn by the identical workload with a regex and price you just a few hundred {dollars} a 12 months.

Which implies that in observe, firms might be calling folks like me in a 12 months saying, “We’re burning 1,000,000 {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 assume we’re about to see a whole lot of firms notice {that a} pondering mannequin related to an MCP server is far more costly than simply paying somebody to put in writing 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

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles