Firm-hosted commercial online communities, in which customers interact to solve each other's service problems, represent a fascinating context to study the motivations of collective action in the form of knowledge contribution to the community. We extend a model of social capital based on wasko and faraj (2005) to incorporate and contrast the direct impact of commitment to both the online community and the host firm, as well as reciprocity, on quality and quantity of knowledge contribution. In addition, we examine the moderating influence of three individual attributes that are particularly relevant to the firm-hosted community context: perceived informational value, sportsmanship, and online interaction propensity. We empirically test our framework using self-reported and objective data from 203 members of a firm-hosted technical support community. In addition to several interesting moderating effects, we find that a customer's online interaction propensity, commitment to the community, and the informational value s/he perceives in the community are the strongest drivers of knowledge contribution.