How to Actually Tokenmaxx and Save Millions — Alvin Pane, OutRival
A cheaper candidate model disagrees with the production model on 18% of examples. Reject it immediately, or first ask how often production disagrees with itself? Alvin Pane uses that question to frame a token optimization workflow at OutRival. Repeated runs of the existing model reveal a reported 7% disagreement rate, making simple model to model agreement an incomplete quality measure. His HarborBite example is a synthetic proxy for a large instruction prompt, used to show the mechanics of reducing cost while preserving the application's required behavior. It is not evidence of realized million dollar savings. Pane starts with observability: record prompt versions, model choices, tokens, latency and costs before changing them. Prefix caching removes avoidable repeated work. DSPy and GEPA can then search for shorter instructions, preserving the interface and scoring contract rather than simply deleting text. The illustrated prompt shrinks by 51%, but that reduction still needs a quality test. A smaller model may fit a narrow benchmark and fail on unfamiliar inputs. Shadow evaluation therefore compares production with itself, the candidate with itself and both systems on the same requests. Human review of disagreements separates regressions from improvements and ambiguous cases. A paired confidence interval around the net gain supplies a release criterion, with critical customer categories checked separately so an overall average cannot hide damage to an important task. The closing rule is to keep measuring after release: cheaper instructions and tokens matter only when the system continues to perform the work users need. Speaker info: - https://www.linkedin.com/in/alvin-pane/ Timestamps: 00:00 - A synthetic prompt and the cost of redundant work 1:34 - Observe tokens, latency and prompt versions 2:26 - Candidate disagreement and production variance 4:00 - Prefix caching and optimizing instructions with DSPy and GEPA 6:00 - Smaller models and benchmark overfitting 7:30 - Three comparisons in a shadow evaluation 8:46 - Human review and paired release criteria




Join the discussion
Sign in to join the discussion
Sign in