Generative AI Cost Optimization