cost structure AI