Gold prices remained firm as investors weighed concerns over inflation, fueled by a surge in energy and metal prices that threatened to derail the economic recovery.