About two dozen people, including several foreign nationals, were still held hostage on Saturday.
The Australian government was the first to report that two of its citizens were among the hostages.
In a post on X, Sarfraz Bugti, Balochistan's top provincial official, said security forces rescued 950 people, including foreign nationals, and cleared much of the camp in Chagai district.
He said an operation was under way to free the remaining hostages, who were being held in one part of the camp.
Bugti said three militants were killed and 10 civilians and four members of the security forces were wounded in the attack and ensuing gunfire.
Bugti identified the attackers as members of Fitna al Hindustan, a group he accused of acting as an Indian proxy, linked to the Baloch Liberation Army, or BLA, a separatist group blamed for other attacks in the province and which the United States has designated a terrorist organisation.
"The targeting of innocent workers and foreign nationals associated with the economic development of Balochistan underscores the true nature of these foreign-sponsored enemies of Balochistan," Bugti said.
Pakistan has long accused neighbouring India of supporting separatist militants in Balochistan, an allegation New Delhi denies.
In a statement sent to journalists, the Balochistan Liberation Front, which has close ties with the BLA, claimed responsibility for the attack. The group is one of several separatist militant organisations fighting for Balochistan's independence from Pakistan.
Abdullah Khan, managing director of the Islamabad-based Pakistan Institute for Conflict and Security Studies, said the latest attack underscored the evolving threat posed by the outlawed Balochistan Liberation Front and the growing focus of Baloch separatist groups on the province's mineral resources and foreign investments.
In a written statement, the Australian government said the two were "among 30 miners reportedly taken hostage", but did not say where it obtained that figure.
"The Australian government is urgently working to establish the circumstances of the incident," the statement said.
In videos circulating on Pakistani media and on social media showed people identifying themselves as Australian and South African nationals appealing to the militants to negotiate their release.
Foreign Minister Penny Wong said she and her government had "serious concerns for the welfare of Australians and other workers" being held at the mining camp.
"Their welfare and safe release are our immediate priority," Wong said in a statement.
"This is a developing situation, and it will be an incredibly anxious time for the Australian families."
Pakistani Prime Minister Shehbaz Sharif expressed sorrow over the deaths and praised security forces for their rescue efforts.
Barrick Mining Corporation confirmed the attack in a brief statement but did not provide details about the hostages.
"The safety of our people is our utmost priority, and we are working closely with local government authorities to respond," the company said.
Barrick described Reko Diq on its webpage as "one of the largest undeveloped copper-gold projects in the world".
The Canadian company owns 50 per cent; Pakistani state-owned companies and the Balochistan government own the rest.
Oil- and mineral-rich Balochistan has a long-running insurgency, with several separatist groups staging attacks targeting security forces and civilians in their quest for independence.
One of the most recent attacks in the area occurred last month, when gunmen ambushed two vehicles carrying coalminers, killing 11 people.
ACLED, an organisation that monitors armed conflicts, said in an analysis published Wednesday that it had recorded more than 50 attacks targeting the mining sector in Balochistan in the first 11 months of 2026, killing nearly 50 people, including workers and security personnel.
Indrajit Sharma, a South Asia analyst at ACLED, said in the analysis that separatist groups had targeted smaller mines and transport routes rather than major projects such as Reko Diq.
"The violence could undermine Pakistan's efforts to develop Balochistan's mineral and energy resources and attract investment," he said.
The different separatist groups in the province want independence.
They accuse the federal government in Islamabad of unfairly exploiting minerals in Balochistan at the expense of locals.
with DPA