Kim Jong-un has said remarks by "deranged" US President Donald Trump have convinced him he is right to develop weapons for North Korea.
The two countries have engaged in ever more heated rhetoric in recent months.
China responded to the war of words, warning that the situation was "complicated and sensitive".
"All relevant parties should exercise restraint instead of provoking each other," said Foreign Minister spokesman Lu Kang.
Russia also urged restraint.Kremlin spokesman Dmitry Peskov said Moscow was "deeply concerned by an escalation of tensions".
- What does Kim's 'dotard' insult mean?
- What missiles and nuclear weapons does North Korea have?
North Korea has been testing missiles at an unprecedented rate, and conducted its sixth nuclear test despite international condemnation.
North Korean Foreign Minister Ri Yong-ho, who had earlier compared Mr Trump's speech to "the sound of a barking dog" has warned that Pyongyang could test a hydrogen bomb in the Pacific Ocean in response to the US president's threat.
However, he added:"We have no idea about what actions could be taken as it will be ordered by leader Kim Jong-un."
Media playback is unsupported on your device
Analysis:A test with immense risks
By North Korea analyst Ankit Panda
The prospect of a hydrogen bomb being tested in the Pacific raises a terrifying spectre - one that North Korea-watchers have mulled for some time, but which did not seem realistic until this year.
Kim Jong-un could conduct an atmospheric nuclear detonation in the Pacific Ocean.
This could mean mounting the nuclear device he showed the world before his 3 September nuclear test and firing it over Japan into the Pacific Ocean, demonstrating a credible thermonuclear capability.
Presumably, witnessing this feat would "tame" Trump into accepting the "equilibrium" that North Korea alluded to earlier this week - a state of stable nuclear deterrence.
Given the inadequacy of existing US and Japanese ballistic missile defence systems, it is far from a sure thing that such a test could be intercepted.
The risks are immense.Civil aviators and mariners in the target area may perish, given that North Korea does not offer international warning of its missile launch plans - unlike other states that routinely test ballistic missiles.
The environmental damage and fallout could be catastrophic.Moreover, should the missile fail over Japan - or prematurely detonate - the consequences would effectively guarantee a nuclear war in retaliation.
Mr Kim said in an English statement carried by state news agency KCNA that Mr Trump's remarks "have convinced me, rather than frightening or stopping me, that the path I chose is correct and that it is the one I have to follow to the last".Image copyright Reuters Image caption
He said "now that Trump has denied the existence of and insulted me and my country in front of the eyes of the world and made the most ferocious declaration of a war in history", North Korea would consider the "highest level of hard-line countermeasure" to make Mr Trump "pay dearly for his speech".
Experts say this is the first time a North Korean leader has made a direct address to an international audience.
The statement came shortly after the country's delegation arrived in New York for the UN General Assembly.Analysts say that for this reason it merits serious and thorough consideration.
Hours later, Mr Trump responded in a tweet:"Kim Jong Un of North Korea, who is obviously a madman who doesn't mind starving or killing his people, will be tested like never before!"
Media playback is unsupported on your device
Earlier, Mr Kim's comments had prompted swift criticism from the Japanese government.
Chief Cabinet Secretary Yoshihide Suga said in a news conference on Friday:"North Korea's remarks and behaviour are provocative to regional and international security, and they are absolutely unacceptable."
North Korea has fired two ballistic missiles over Japan in the past month, raising regional tensions even further.
He said:"For much too long North Korea has been allowed to abuse the international financial system to facilitate funding for its nuclear weapons and missile programs."
The UN Security Council had approved new rounds of sanctions earlier this month aimed at starving North Korea of fuel and income, which were in response to Pyongyang's much-condemned sixth nuclear test on 3 September....
- ^ In an unprecedented personal statement (kcnawatch.co)
- ^ responded (twitter.com)
- ^ What does Kim's 'dotard' insult mean? (www.bbc.co.uk)
- ^ What missiles and nuclear weapons does North Korea have? (www.bbc.co.uk)
- ^ "the sound of a barking dog" (www.bbc.co.uk)
- ^ quoted by South Korea's Yonhap news agency (english.yonhapnews.co.kr)
- ^ North Korea crisis in 300 words (www.bbc.co.uk)
- ^ What are North Korea's other WMDs? (www.bbc.co.uk)
- ^ What would a nuke in the Pacific mean? (www.bbc.co.uk)
- ^ dotard (www.bbc.co.uk)
- ^ boosting sanctions (www.bbc.co.uk)
- ^ sixth nuclear test (www.bbc.co.uk)