Scaling Text Generation APIs: Cost-Saving Tips