This paper investigates the role of fiat money in decentralized markets, where producers have private information about the quality of the goods they supply. Money is divisible, terms of trade are determined endogenously, and agents can finance their consumption with money or with real production. When the fraction of high quality producers in the economy is given, money promotes the production of high-quality goods, which improves the quality mix and welfare unambiguously. When this fraction is endogenous, however, we find that money can be valued even though it decreases welfare relative to the barter equilibrium. The origin of this inefficiencynis that money provides consumption insurance to low-quality producers, which can result in a higher fraction of low-quality producers in the monetary equilibrium. Finally, we find that most often agents acquire more information in the monetary equilibrium. Consequently, money is welfare-enhancing because it promotes usefulnproduction and exchange, but not because it saves information costs.