We provide a rationale for open source project participation by studying the decision problems of the software programmers, whose types are different in terms of ability and intrinsic motivation. We find that motivations, both intrinsic and extrinsic, and the ability level positively affect the optimal level of effort exerted by the programmers in the open source project. In the commercial project, the programmers with higher ability exert much effort although their high level of effort is not compensated properly. Thus, the open source project might be more likely to attract capable and motivated programmers than the commercial project.