Iraqi oil is apparently doing nice things for XOM, not sure if they payoff will be worth the price. Afghanistan seems like a loser. There's nothing there we can take to pay for the war.
http://www.amazon.com/Six-Frigates-Epic-History-Founding/dp/...
Ask Ukraine about the consequences of getting rid of your military.
Projecting your power into other countries, on the other hand--that will cost you quite a lot more.
Switzerland seems to have a decent anti-invasion model. Arm everyone able to lift a rifle and make almost your entire country into a giant fortress, and you won't get invaded until well after your neighbors are overrun. They don't spend a lot on their military, relative to more militaristic nations, but it is clear that anyone wishing to take the country would have to spend a lot more than the defenders.
Switzerland is well defended and would be last on the conquer list for Europe, but it would still be on the list. Without nukes, they cannot really keep a determined invader out. Particularly if the invader had nukes themselves.