Wednesday's advances on the S&P 500 came as US inflation reached its highest level since the early 1980s.
The consumer price index rose 7% in 2021 and the inflation gauge was up 0.5% month-on-month in December.
"While the December rise in the headline CPI was still substantial, it marked a continuation of the slowdown from the 94bp surge in October and 78bp jump in November," UBS said.
"With gasoline prices at the pump declining slightly in recent weeks we expect further slowing in the January CPI released next month."
Gold had fallen to as low as US$1,814 an ounce ahead of the release of the data, but shot up following, reaching as high as $1828.20/oz. It dipped slightly to $1,821/oz just before 10am UK time.
Wednesday was another strong session for iron ore and base metals, but movements early on Thursday were more measured.
Copper surged to its highest price since October before falling back to US$4.50/lb, while tin reached an all-time high of $41,711/t.
Nickel rose another 1.1% to a 10.5-year high of $22,229.75/t.