Calculate prices for calling LLM inference APIs.
