I did freelance work for a bit, and found that my age helped so long as I presented myself as a consultant. They trusted that I had experience, and it was an easy sell that I could do the jobs. They did assume they would have to pay me more, and that was correct. So it self-filtered out people who couldn't afford me. They did expect project management, as well as business analysis and research to design the solutions in the first place. None of my work was "Here, code this." I even got into helping them refine sales and marketing plans, which isn't what I do. But when you are a highly paid, older consultant, the expectations are likewise high. My clients were always clear that my job was to use tech to help their business, and that was far more varied than just doing software development.