Replacing LLM calls with deterministic code cuts compliance alert costs from $290K to under $26K

josephdviviano · x · 2026-10-12

Garry Tan endorses the approach: replacing LLM calls with deterministic code is a no-brainer and yields better code that matches what users want.

Real-world case from @aj: they built a harness using @typesafeai's Jev that learns the job as it runs, gradually moving steps from LLM calls to code. Running 100,000 compliance alerts cost over $290K on Opus 5; with agentrun() they got it down to under $26K — roughly a 90% cost reduction.

Original post →

More from coding & agent

coding & agent channel →