Companies like Micron and SK Hynix are using long-term contracts to create a ceiling for how much prices can go up, but prices have already gone up substantially. That's why we saw the reaction in hyperscaler stocks and Apple shares plummeting after saying they'd have to raise prices.
It will be interesting to see how chip companies go forward with price increases, but demand destruction is already a risk.