Inference
The process of a ready model working: you send a prompt and receive a response in real-time.
Model Life: Training and Inference
The life of a neural network is divided into two stages:
| Training | Inference | |
|---|---|---|
| Goal | Tune weights | Use the model |
| Cost | Millions of dollars | Pennies per request |
| Hardware | Thousands of GPUs | PC or API |
| Weights | Changing | Frozen |
Where Inference Happens
- In the cloud — the request goes to servers through API (DeepSeek, OpenAI).
- Locally — the model is run on your PC through Ollama or LM Studio.
Why Fast Inference is Needed
Response speed depends on hardware and optimization. For production use vLLM and inference servers.