The cheapest foods that tend to have a longer shelf life include dried staples like rice, lentils, and pasta. Canned goods such as beans, tomatoes, and tuna are also economical options with extended durability. Additionally, items like oats, flour, and instant rice contribute to cost-effective, long-lasting pantry choices.