Term · How models work
Inference
What an already-trained model does when you use it: take your request, process it and generate the answer.
- Category
- How models work
What it is
A model's life has two phases. In training it learns by adjusting its parameters. In inference it works: every question you ask in the chat or through the GlossaryAPIapplication programming interfaceThe door two programs use to talk to each other and request data or actions, with no person stepping in. It is how AI models connect to other apps.More about API → is an inference.
In practice
It's what you pay for when you use the API, usually by GlossaryTokenA chunk of text a language model works with: a word, part of a word or a symbol. Models read and write in tokens, and AI APIs charge and set limits based on how many you use.More about Token →. It's also what your computer does when you run an GlossaryOpen modelAn AI model whose weights, the numbers it learned during training, are published so anyone can download it, run it on their own machine and adapt it.More about Open model → locally, and what consumes the most in GlossaryData centerA building full of servers, with its own power, cooling and connections, where cloud services and AI models run.More about Data center → as usage grows.
Watch out for…
GlossaryReasoning modelA language model that takes time to think step by step before answering: it breaks the problem down, tries different paths and checks its work. It’s slower, but more accurate on complex tasks like analysis, calculations or planning.More about Reasoning model → do more work in each inference before answering: they get hard tasks right more often, but they take longer and cost more per question.