Like any form of debt, your goal with a student loan should be to pay as low an interest rate as possible.
If there is an origination fee, you need to make sure that it is worth paying.
If you plan on paying off your loan very quickly, then you may not want to pay a fee.
But there is a reason: you end up taking all of the interest rate risk. So, we know that interest rates will go up, we just don’t know when. Just remember, when rates go up, so do your payments.
And, in a higher rate environment, you will not be able to refinance to a better option (because all rates will be going up).
Don’t refinance Federal loans unless you are very comfortable with your ability to repay.