Building NovAI: one key for 116 models incl. Zhipu Flash free tier. I write about API economics - what a finished task costs, not what a token costs. Price by billing unit: aiapi-pro.com
Yes, cite it, and thank you for asking - that is more courtesy than most.
One refinement if you are going to put the inequality in print, because it is the part I got slightly wrong the first time. C is not constant. A trial at a low cap costs a fraction of a trial at your production context length, and it costs a retry when it fails plus your own attention to read the result. So the inequality should use the marginal cost of the trial you would actually add, at the cap you would actually run it. Done that way it stays computable, which was the whole point, but it stops being a number you can quote without knowing the workload.
The corollary I find useful: D and C are both falling, but D falls when someone writes the check and C falls when inference gets cheaper. Historically that made sampling more attractive over time, and right now it is doing the opposite for agent work, because trial cost at long context is going up faster than check-writing is getting cheaper.
Your framing of the result - common traps cheap to catch, rare traps an hour of compute - is the version I will use from here. It is more legible than the algebra.
I'm a Google Developer Expert in Dart and Flutter (one of 12 in North America). I have 45 years of experience with backend, web, mobile, devops, and training.
That refinement is spot-on—and honestly makes the inequality even sharper. Treating C as the marginal cost at production context length (plus failure retries and human attention to triage the result) explains why you can't quote a universal crossover number without knowing the workload.
And that corollary about D vs. C is the real punchline: when agent context windows stretch, marginal trial cost climbs faster than per-token inference drops, while D (writing a deterministic check—especially with an agent helping draft it) keeps getting cheaper. That shifts the crossover in favor of deterministic locks even sooner than the naive constant-C math suggests.
Thank you for the permission and the refinement—I'll fold the marginal-cost qualifier into our theory notes!
We're a place where coders share, stay up-to-date and grow their careers.
Yes, cite it, and thank you for asking - that is more courtesy than most.
One refinement if you are going to put the inequality in print, because it is the part I got slightly wrong the first time. C is not constant. A trial at a low cap costs a fraction of a trial at your production context length, and it costs a retry when it fails plus your own attention to read the result. So the inequality should use the marginal cost of the trial you would actually add, at the cap you would actually run it. Done that way it stays computable, which was the whole point, but it stops being a number you can quote without knowing the workload.
The corollary I find useful: D and C are both falling, but D falls when someone writes the check and C falls when inference gets cheaper. Historically that made sampling more attractive over time, and right now it is doing the opposite for agent work, because trial cost at long context is going up faster than check-writing is getting cheaper.
Your framing of the result - common traps cheap to catch, rare traps an hour of compute - is the version I will use from here. It is more legible than the algebra.
That refinement is spot-on—and honestly makes the inequality even sharper. Treating
Cas the marginal cost at production context length (plus failure retries and human attention to triage the result) explains why you can't quote a universal crossover number without knowing the workload.And that corollary about
Dvs.Cis the real punchline: when agent context windows stretch, marginal trial cost climbs faster than per-token inference drops, whileD(writing a deterministic check—especially with an agent helping draft it) keeps getting cheaper. That shifts the crossover in favor of deterministic locks even sooner than the naive constant-Cmath suggests.Thank you for the permission and the refinement—I'll fold the marginal-cost qualifier into our theory notes!