Users share the cost of unreliable non-rival projects (items). For instance, industry partners pay today for R&D that may or may not deliver a cure to some viruses, agents pay for the edges of a network that will cover their connectivity needs, but the edges may fail, etc. Each user has a binary inelastic need that is served if and only if certain subsets of items are actually functioning. We ask how should the cost be divided when individual needs are heterogenous. We impose three powerful separability properties: Independence of Timing ensures that the cost shares computed ex ante are the expectation, over the random realization of the projects, of shares computed ex post. Cost Additivity together with Separability Across Projects ensure that the cost shares of an item depend only upon the service provided by that item for a given realization of all other items. Combining these with fair bounds on the liability of agents with more or less flexible needs, and of agents for whom an item is either indispensable or useless, we characterize two rules: the Ex Post Service rule is the expectation of the equal division of costs between the agents who end up served; the Needs Priority rule splits the cost first between those agents for whom an item is critical ex post, or if there are no such agents between those who end up being served.