Which is cheapest Shimla or Manali?

In Shimla, local buses are the cheapest way of travelling between attractions. In Manali, you have to hire a cab or a self-driven bike to move around places, which is more expensive than local buses. So, Is Shimla better or Manali, for budget travellers, I would say Manali is a slightly cheaper option for backpackers.