What it costs you, and what two in three houses already have
Run the two machines side by side and the furnace wins on cost. A gas furnace makes 100,000 Btu of heat for $2.31 here. A heat pump makes the same heat for $4.26. That gap holds across the six months heat runs, November through April, which is longer than the three months of cooling. Heating is where the hours are, so the running cost of heating is where the money is.
Two in three homes in Alameda County already heat with gas, against under one in three on electric heat. If your house is one of the two in three, the furnace is the machine already built for the fuel line you have. A heat pump also cools your house, and a furnace does not, so if you want one system for both jobs, that is the furnace's real cost: you still need an air conditioner. For most houses here, cheaper heat for the longer season and a gas line already in place both point the same way: the furnace is the better buy to run. The heat pump earns its keep when you want one box that heats and cools, no gas burning indoors, and you are willing to pay more per therm of heat for that.
Sources: NOAA nClimDiv · NOAA 1991–2020 seasonal normals · Census ACS 2020–2024 · EIA SEDS 2024 · 10 CFR 430.32