according to MacRumor's post
"OWC has torn down the new 21.5-inch 4K Retina iMac and has learned that the memory is soldered in, which means it can't be upgraded. Customers purchasing a 21.5-inch Retina iMac should get the maximum amount of memory they can afford at the time of purchase as there will be no third-party upgrade options. The maximum amount of RAM for the 21.5-inch iMac models is 16GB."
"OWC has torn down the new 21.5-inch 4K Retina iMac and has learned that the memory is soldered in, which means it can't be upgraded. Customers purchasing a 21.5-inch Retina iMac should get the maximum amount of memory they can afford at the time of purchase as there will be no third-party upgrade options. The maximum amount of RAM for the 21.5-inch iMac models is 16GB."