Any biological process involved in the maintenance of an internal steady state of a chemical at the level of the cell.