Repair or replace your concrete driveway?
A few hairline cracks or a chipped edge can usually be patched and sealed, and I'll tell you when that's all you need. When the drive is sinking, broken into pieces or tipping water toward the house, the trouble is in the ground underneath, and nothing you put on top fixes that. In that case I'd tear it out and rebuild the base, because patching a slab that's still settling just buys you the same problem later.
What shapes the cost of a concrete driveway
Size is the biggest piece, then how much old concrete and soft dirt has to go, how thick the slab needs to be and the finish. A plain broom finish costs less than stamped concrete, and the base work is the part nobody sees on day one. When a budget gets tight, that base is usually the first thing people want to cut. I'd trim the finish before the base every time, because a nice surface on bad ground still cracks.