inference costs