STORY: TSMC the world's largest contract chipmaker, reported on Thursday second-quarter revenue of $31.9 billion.

That beat market forecasts, as demand for the company's products leaps on surging interest in artificial intelligence applications.

Revenue for April-June rose 38.6% from the same period a year ago.

TSMC will report full second-quarter earnings on July 17, including an outlook for the current quarter and full year.

The company, whose customers include Nvidia, has been a major beneficiary of advances in AI.

Last week  a report in the Wall Street Journal said the Taiwanese firm said it planned to delay its chip plant project in Japan.

And instead prioritize operations in the United States to avoid tariffs imposed by Donald Trump.

However, TSMC said in a statement that its investment plans in the U.S. would not impact existing investment plans in other regions.