VANCOUVER, British Columbia  While the Vancouver Olympics have generally stayed within budget, the security costs have risen far beyond initial estimates of $175 million Canadian, or $167.5 million American, with the final tally widely expected to go beyond $1 billion Canadian.

Not included in that total are the costs for stepped-up operations and special security programs in the United States to deal with any contingency needs for Vancouver, which is less than an hour’s drive north of the international border.

The result is a police and military presence so vast that some people now worry less about security at the Games than the prospect that Canada’s law enforcement community and its military, which has 2,830 troops in Afghanistan, may be stretched to their limits.

About 20 percent of Canada’s entire policing capacity has descended on the Olympics. In all, 6,000 officers, pulled from 118 police departments across the country, patrol the Olympic sites, in addition to the 1,327 members of the Vancouver Police Department who are responsible for the surrounding streets. And another 4,500 members of the Canadian armed forces are patrolling the mountains, air and sea while living in a dozen specially constructed camps.