Those costs seem high...or the lender credit is low. Many lenders are covering almost 100% of fees. Have you shopped around?
FWIW, I refinanced about six months ago to a 15yr @ 3.625 and it cost me about $700 total. I'm about to refi again @2.75 (also 15 years) but lender is covering almost everything - I'll be out less than $200....but the lower rate is saving me $160 per month.