Two optimization techniques, when combined, can significantly improve a model’s speed and cost effectiveness without sacrificing quality.