AI agent cost reduction strategies