Cost-Saving Strategies for Efficient AI Training