This paper models a productivity gap as the source of informational asymmetry and explores equilibrium contracts as well as production decision of resource allocation in competitive and monopolistic credit markets. Our results show that collateral is an efficient sorting device in a monopolistic market with asymmetric information; whereas it is never used in a competitive market. In a monopolistic market, when the proportion of low-tech entrepreneurs is low enough, the optimal monopolistic contract is a separating contract or, vice versa, it is a pooling contract. Low-tech entrepreneurs face a binding collateral constraint in a separating contract, causing the problems of over-borrowing and productive resource misallocation. For a competitive market, entrepreneurs are granted the same loan contract regardless of their productivity levels and regardless that information is perfect or asymmetric.