I go in freely 3 days a week. I'm in a role that is focused on relationship building and collaboration (product management/leadership) and find I do much higher quality work when I'm in the office.
I still have enough solo work to do for the two days i am at home.
Having said that, I'm compensated quite well and enjoy the country driving to the office as it allows me to listen to audio books uninterrupted and decompress after work.