balancing cost and reliability