understanding the cost of ai implementation