turn cost calculation API changes