Looks like it costs $3,381 off-the-shelf: https://www.avadirect.com/256GB-4-x-64GB-Quad-Rank-DDR4-2666...
If you're buying a machine that needs 256 GB of RAM, presumably you or your company is using it for the type of graphics/video work that pays well enough to recoup $5200 in costs. The comparison is to professional equipment like cameras and audio interfaces, not to consumer products.
Re:Apple updates its iMac line
by auggierose on Tuesday March 19, 2019 @01:26PM
(#19433088)
also has one more added graphics option now
"iMac Pro now available with 256 GB RAM option … for an extra $5200"
sort of pricey.
https://9to5mac.com/2019/03/19/256-gb-ram-imac-pro/