Another price, however, apparently is the list of reductions in American personnel demanded by General Kayani, according to the Pakistani and American officials. American officials said last year that the Pakistanis had allowed a maximum of 120 Special Operations troops in the country, most of them involved in training the paramilitary Frontier Corps in northwest Pakistan. The Americans had reached that quota, the Pakistani official said.

In addition to the withdrawal of all C.I.A. contractors, Pakistan is demanding the removal of C.I.A. operatives involved in “unilateral” assignments like Mr. Davis’s that the Pakistani intelligence agency did not know about, the Pakistani official said.

An American official, who spoke on the condition of anonymity, said without elaborating that the Pakistanis had asked “for more visibility into some things” — presumably the nature of C.I.A. covert operations in the country — “and that request is being talked about.”

General Kayani has also told the Obama administration that its expanded drone campaign has gotten out of control, a Pakistani official said. Given the reluctance or inability of the Pakistani military to root out Qaeda and Taliban militants from the tribal areas, American officials have turned more and more to drone strikes, drastically increasing the number of attacks last year.

The drone campaign, which is immensely unpopular among the Pakistani public, had become the sole preserve of the United States, the Pakistani official said, since the Americans were no longer sharing intelligence on how they were choosing targets. The Americans have also extended the strikes to new parts of the tribal region, like the Khyber area near the city of Peshawar.

“Kayani would like the drones stopped,” said another Pakistani official who met with the military chief recently. “He believes they are used too frequently as a weapon of choice, rather than as a strategic weapon.” Short of that, General Kayani was demanding that the campaign return to its original, more limited, scope and remain focused narrowly on North Waziristan, the prime militant stronghold.

A drone attack last month, one day after Mr. Davis was released, hit Taliban fighters in North Waziristan, but also killed tribal leaders allied with the Pakistani military, infuriating General Kayani, who issued an unusually strong statement of condemnation afterward.