Every chatbot reply is an inference request. Its cost depends on model size, input and output length, and hardware efficiency; providers usually charge per million tokens. As AI usage grows, inference rather than training accounts for most of the computing spent on AI.

Techniques such as batching, caching and quantization make inference faster and cheaper. See how LLM inference serving works.