Adding a gas fireplace
FWIW, I was quoted $2000 fireplace DV insert + $1000 labor. That included chimney termination kit, electricity and gas lines to the back of the existing masonary fireplace.
So if you use that as kind of a benchmark, I would plan on $3.5-5000, since you have to build the enclosure for the fireplace. If you can vent to the exterior wall that would be much less expensive than running to the roof. Getting to the chase that the dryer duct is in, that would make it a little simplier but you may also have to get a roofer involved.
I tear things down and build them up.