Stanford tracks RAM prices in this nice little site: https://dam.stanford.edu/memory-prices.html

Costs did go nuts, but there are signs of easing in the market of late. CXMT is starting to have an impact and priced will probably fall in 2027.

https://pcpartpicker.com/trends/price/memory/ is better. pcpartpicker has the data.