Mbed OS in MCU flash

Hi, I’m a beginner to the Mbed OS environment.
I want to know what’s different between using-mbedos and non-using-mbedos in the MCU.
Does it cost more flash when I use the mbed OS?

Thank you so much!