The test is whether the brick has failed or only the mortar. Repointing replaces mortar, and it works as long as there is sound brick either side of the joint to bond to. Once the brick faces have spalled through and the brick behind them is soft, or once courses have shifted out of plumb, there is nothing left for new mortar to hold onto. Loose bricks and a visible lean are rebuild territory. Crumbling joints on a stack whose brick is still hard are not.
A rebuild above the roofline is what most rebuilds are, and it is a large job before scaffolding or a liner are even counted. A full rebuild to the foundation is much bigger again, because it involves the interior of the house. The main variables are how far down sound brick starts, access, and whether matched brick can be found. It is the biggest job on this site, and the one where a second quote is worth the wait.
Above the roofline, several days for the masonry plus curing time before a crown can be finished. A full rebuild is one to two weeks. Weather runs the schedule more than crew availability does — masonry needs roughly 40°F to cure, so a rebuild started in a cold snap stops until it warms up, and that is not a delay anyone can shortcut safely.
If it is unused and you have no plans for it, removal down to below the roofline is a real option and it is frequently cheaper. The stack comes down, the roof is closed over and made good, and there is nothing left up there to maintain. The reasons not to are wanting the fireplace one day, a period house where the chimney is part of the elevation, and any shared flue serving an appliance. It is worth having both numbers before deciding.
It will be close, and honestly it will rarely be invisible. New brick sits beside a hundred years of weathering, and the difference softens over several seasons rather than disappearing. Salvaged brick of the right period matches far better and takes longer to source. If appearance matters — a period property, a street elevation — say so before the quote, because it changes both the price and the lead time.