How to know when to stop betting a model (and how to set the rule in advance)

Stop rules set before a bad run are the only stop rules that actually work.

A drawdown is a sustained drop from your peak bankroll balance. Every betting model and strategy will produce drawdowns. The question is not whether you will have one -- it is whether you have a plan for what to do when it arrives.