Skip to content

Inference

Summary

Inference is the process of using a ready model: you send a prompt and receive a response in real time.

What is it?

The life of a neural network is divided into two stages: training and use. Inference is the second stage. The model is already trained, the weights are frozen, and now it simply responds to requests.

When you type a message into a chat, that is exactly what inference is: the text is turned into tokens, passes through billions of weights, and the model generates a response token by token.

How inference differs from training

Training Inference
Purpose Create a model and fit the weights Use a ready model
Cost Tens of millions of dollars Cents per request
Hardware A data center, thousands of GPUs An ordinary PC or a cloud API
Do the weights change? Yes No, they are frozen

Where inference happens

  • In the cloud: you connect to an API (DeepSeek, OpenAI), the request goes to their servers and the response comes back. This is how Cherry Studio and web chats work.
  • Locally: you have downloaded a file with the weights (for example Llama 3 8B) and launched the model on your own PC — inference runs directly on your hardware, without the internet.

See Also