Repairing or replacing a garage floor
If the floor has a few hairline cracks and still sits flat, it can usually stay, and I'll tell you so. When it has sunk, broken into pieces that rock underfoot, or flaked across a wide area, the trouble is usually in the base or the mix, and patching the top won't reach it. That's when I'd break it out and start over, because a new surface over a bad base tends to fail the same way.
What drives the cost of a garage floor
Size sets the starting point, then whether the old slab has to be broken out, how much base work the ground needs, the reinforcement and the finish. The base is the first thing people want to trim, because nobody sees it once the floor's in. I'd spend there and keep the top plain, since you can add a coating later but can't fix a bad base without tearing it out. A garage set into a slope may also need concrete retaining walls.