In this talk we discuss how the stability in the distribution grid can be assured using the available flexibility in this grid. Although the current Dutch electricity grid is very robust and blackouts rarely occur, in the next two decades this stability is assumed to be at risk due to high synchronized peaks resulting from distributed generation and electrification of transportation and heating. Furthermore, these higher load peaks lead to higher losses, more asset wearing and power quality issues. The traditional way to solve such issues was to install more cables and transformers. However, a more sustainable and cost effective alternative is to use the available flexibility in the distribution grid. An often used approach to stimulate such flexibility is based on pricing schemes. We show that the mentioned expected problems in the distribution grid cannot be prevented when price mechanisms based on uniform prices are used. As an alternative we present models that lead to nonlinear optimization problems which aim to make trade-offs between deploying flexibility “now” or preserving flexibility for later use. To make a proper trade-off, predictions are used. We show that for this not always predictions of detailed power profiles are needed, but that even some basic characteristics are sufficient for a robust deployment of the flexibility.