An innovative firm with private information about its indivisible process innovation chooses strategically whether to apply for a patent with probabilistic validity or rely on secrecy. By doing so, the firm manages its rivals' beliefs about the size of the innovation, and affects the incentives in the product market. A Cournot competitor tends to patent big innovations, and keep small innovations secret, while a Bertrand competitor adopts the reverse strategy. Increasing the number of firms gives a greater (smaller) patenting incentive for Cournot (Bertrand) competitors. Increasing the degree of product substitutability increases the incentives to patent the innovation.