Actually, all-in the B2 cost $2.1B in 1997 dollars.
Add in inflation and the fact that the development and procurement costs were spread over 21 planes instead of 2 and it isn't even close.
Designed and manufactured by Northrop, later Northrop Grumman, the cost of each aircraft averaged US$737 million (in 1997 dollars). Total procurement costs averaged $929 million per aircraft, which includes spare parts, equipment, retrofitting, and software support.
Northrop Grumman B-2 Spirit - Wikipedia
https://en.wikipedia.org/wiki/Northrop_Grumman_B-2_Spirit