It's a matter of how doable it is for you. If paying off at $1300/month during residency and possibly more after you're done with residency is doable, and the total cost is less than the "cheapest income driven plan" then it may be worth it. Especially worth it if you would be able to put a lot of the pay bump from your first real job into your loans to pay it off quickly. Like, if you go from $40k during residency to >$100k with your first job and be able to put in $30-40k per year instead of the <$16k per year you'd be paying on a 10 yr plan, you would save significantly.
If the total savings over 20+ years is only $25k and that will allow you to not live without hardship and also allows you to invest better such that you'll end up with more overall wealth after 20 years, it may be worth it to do an income driven plan.
You'll also want to consider the psychologic cost too. Ten years is a long time to commit to essentially a second mortgage. If that's going to prevent you from living life, having an emergency fund, and delaying things like starting a family and buying a home, and building a retirement fund (which builds on compound interest rather than simple interest like student loans, so time is precious), it may make sense to take that "25k hit" if it's going to take you the 10yrs to pay it off. When you consider inflation over 20yrs, $25k isn't as bad.
There is also significant psychologic stress from knowing that you have a large ever growing debt load looming over your head that you are largely ignoring. But if you have a plan for it and can just put it on a back-burner and Meditate away the stress it may not be that bad.
For me and hubs, we had the option of Dave Ramsey-ing it and knew we could pay it off, live not that comfortably but without hardship, be done with it in 3-5 years, and save $50k over PAYE (on a $150k principal), so we did that. We thought about the pros and cons of investing instead, but with as high an interest rate we have for student loans and the short time frame I could for sure pay it off (6 to 7% interest is a lot to overcome), and the fact that salaries in my region are pretty high so PAYE isn't all that cheap, we went with it.