Hamid Karzai, the Afghan president, has said that he would allow the US to keep nine bases after its troops pullout in 2014 if that is in the best interest of his country.
"We are in very serious and delicate negotiations with America," Karzai said on Thursday. "America has got its demands, Afghanistan too has its own demands, and its own interests .... They want nine bases across Afghanistan."
After more than 11 years of US-led military intervention in Afghanistan, the two countries are hammering out a deal to allow a limited US troop presence to remain when the international coalition leaves next year.
The size of the "residual" force has not been agreed, with numbers ranging from 2,500 to 12,000, according to US officials, as Washington winds down a war that has become deeply unpopular at home.
Soldiers kept in Afghanistan would target al-Qaeda fighters and help train the local army and police - but a hasty withdrawal could also threaten fragile gains secured since the Taliban were ousted in 2001.
Karzai said he would allow bases in Kabul, Bagram, Mazar-eSharif, Jalalabad, Gardez, Kandahar, Helmand, Shindand and Herat if Afghanistan's security and economic conditions were met.
David Snepp, spokesman for the US embassy in Kabul, said Washington "will not comment on the specifics of the Bilateral Strategic Agreement. As President Obama has made clear, we do not seek permanent military bases in Afghanistan. We envision that agreement will address access to and use of Afghan facilities."
"We agree to give you the bases. We see their staying in Afghanistan beyond 2014 in the interests of Afghanistan as well as NATO," Karzai said.
"Our conditions are that the US intensify efforts in the peace process, strengthen Afghanistan's security forces, provide concrete support to the economy - power, roads and dams - and provide assistance in governance.
"If these are met, we are ready to sign the security pact," Karzai told his audience during a speech at Kabul University.
US officials have reportedly said that if 6,000 troops were kept in Afghanistan after 2014, only two bases, in the capital Kabul and at Bagram airfield, would be maintained.
Relations between the US and Afghanistan have been rocky this year as a transition phase begins with 100,000 NATO coalition troops pulling back from the fight against the Taliban.
Afghan security forces are taking over responsibility, but doubts remain whether they will be able to control violence that increasingly targets local soldiers and government officials.
The US has avoided revealing its plans in Afghanistan after 2014 and Karzai's claim that a total of nine US bases may be kept open will intensify pressure on President Barack Obama.
Immunity from Afghan law for the remaining US troops is likely to be a key demand from Obama, and Karzai has said the issue may have to be decided by a gathering of tribal elders.
Waheed Wafa, analyst and director of the Afghanistan Center at Kabul University, said the president - who is due to step down next year - was testing public and regional opinion on the future US troop presence.
"Previously he said the US wants bases, now he gives this figure [of nine bases] and later he may give more details to see the reaction," Wafa said. "He is also keen to judge the response of Pakistan and Iran."