The agreement on implementation of the Kyoto Protocol achieved at COP7 in Marrakech has important implications for investment in greenhouse gas emission reduction projects in developing countries through the Clean Development Mechanism (CDM). The required actual emission reductions for participating Annex B countries overall will be relatively small, as the United States do not intend to ratify the protocol and significant amounts of carbon sequestered in domestic sinks can be credited. In addition, the potential supply of surplus emission permits (hot air) from Russia and other economies in transition may be as high as total demand in the first commitment period. Thus, even under restraint of hot air sellers, CDM demand will be limited, and a low demand, low price carbon market scenario appears likely. The magnitude of the CDM will be influenced by a host of factors both on the demand and the supply-side. We analyse these using a quantitative model of the global carbon market, based on marginal abatement cost curves. Implementation and transaction costs, as well as baseline and additionality rules affect the CDM's share in the carbon market. Demand for the CDM is sensitive to changes in business-as-usual emissions growth in participating Annex B countries, and also to crediting for additional sinks. Permit supply from Russia and other economies in transition is possibly the most crucial factor in the carbon market.