Companies that buy metal for their products are facing higher prices from both foreign and domestic suppliers.