Does icloud storage get freed up automatically after 30 days? I just bought an iphone a day before and started turned on icloud.
Although I am using a mac since 4 years but never considered using icloud.

I wanted to know if icloud storage gets cleared up on its own after 30 days?
In any case I would want to do it if possible.

I did search settings in my phone and it has some options like download originals. I am unsure about these.

What I want is that the photos I click in get automatically saved to my mac aswell. I just want to use icloud for a 30 day backup.
Welcome to Ask Different.

iCloud doesn't get cleared after 30 days, or ever (unless done manually). As for saving photos to your mac, that can be done manually from icloud.com. You can also access them from the Photos app on your mac by enabling iCloud Photos Library from System Preferences.