This paper describes a model for the valuation of assets on a bank balance sheet with liquidity risk. The new feature of this model is that it explicitly incorporates the funding term of an asset. The inclusion of the funding term is important since it determines the expected liquidation loss. By minimizing the sum of the expected liquidation loss and funding costs the optimal funding term and value of the asset can be determined. This paper applies the model to single cash flows, loans, bonds, and derivatives. Also, the calibration to LIBOR basis spreads is discussed.