Pennies and nickels cost more to produce than their face value. Between 2021 and 2023, the United States lost nearly half a billion dollars minting these coins.