Afghan officials confirmed casualties among security forces in the day of fighting but did not say how many and said at least 60 Taleban fighters had been killed. As night fell, they said gun battles continued on the outskirts of Kunduz, a strategic crossroads with easy access to much of northern Afghanistan as well as the capital, Kabul, about 200 miles (335 kilometers) away.
Presidential spokesman Sediq Seddiqi told reporters the attack was "completely against the peace talks."
The bodies of at least three civilians and two members of the security forces were taken to the Kunduz hospital earlier in the day and at least 80 wounded civilians of all ages were treated, including women and children, said the provincial health director, Esanullah Fazeli.
Rabani said the insurgents briefly took control of the hospital, but Fazeli said the fighters left after staffers told them the patients could be hurt in any cross fire.
"In a way we are thankful that the Taleban accepted what they were told," he said.
The Taleban launched their attack from several points around Kunduz overnight, officials said. Hours later the Afghan defence minister, Asadullah Khalid, rejected speculation that the city had collapsed.
The Taleban have continued bloody assaults on civilians and security forces even as their leaders meet with Khalilzad in Qatar to negotiate an end to nearly 18 years of war.
Talks continued Saturday, and Afghanistan's chief executive, Abdullah Abdullah, said Khalilzad would visit Kabul on Sunday to brief the government. Both the US and Taleban in recent days have signaled they are close to a deal.
One Afghan analyst, former deputy interior minister Mirza Mohammad Yarmand, said the attack on Kunduz showed the Taleban are not interested in a cease-fire, which has been a key issue in the Qatar talks.
The United States in the negotiations has also sought Taleban guarantees that Afghanistan will no longer be a launching pad for terror attacks such as the Sept. 11, 2001, attack on the US by al-Qaida. The Taleban government had harbored al-Qaida leader Osama bin Laden.
Some 20,000 US and NATO forces remain in Afghanistan after formally ending their combat role in 2014. They continue to train and support Afghan forces fighting the Taleban and a local affiliate of the Islamic State group.
Many Afghans worry that an abrupt departure of foreign troops will leave Afghan forces vulnerable and further embolden the Taleban, who already portray a US withdrawal as their victory.
"We have lost the city in the past and know the Taleban can attack again from insecure areas," a lawmaker from Kunduz, Fatima Azizi, told the local Ariana television channel on Saturday.
"Unfortunately, civilians are again the victims," she said.
The Taleban seized Kunduz, at the heart of a major agricultural region near Tajikistan, for around two weeks in 2015 before withdrawing in the face of a NATO-backed Afghan offensive. The insurgents pushed back into the city center a year later, briefly raising their flag before gradually being driven out again.
- AP