What is a large language model (LLM)?

A large language model is an AI model trained on large amounts of language data. Many chat models generate a response by repeatedly predicting the next token, which can be a word, part of a word, or punctuation.

On this page
A highlighted tile follows a sequence of alternating paper tiles, representing the next token.

What happens when you send a question

Your question and other available context are converted into tokens. The model uses those tokens to generate a response. Additional tools can bring in web results, run calculations, or supply document text before the model composes an answer.

Why the model and the app have different names

A model supplies the language capability. An app such as ChatGPT or Claude supplies the interface, chat history, permissions, and available tools. Changing the product or settings can change what information the model sees even when the task is the same.

A useful check when comparing answers

Give two apps the same short excerpt and ask each to quote its evidence before answering. If one browsed the web or used a file tool, record that separately. This helps you compare the result without attributing a tool difference to the language model.

What is an AI token?

A token is one of the pieces a model processes or generates. In text, a token can be a whole short word, part of a longer word, a space, or punctuation. Different models can split the same text differently. Input tokens can include instructions, earlier turns, and retrieved text. Output tokens are produced by the model. Some providers count cached or reasoning tokens separately. For a usage check, use the provider’s tokenizer or request report.

What is the difference between AI and an LLM?

AI is the overall field. A large language model is one type of AI model. A language model can drive a chatbot, while other AI systems may score transactions, detect objects in pictures, or recommend music using different models. An LLM-based app can also include search, permissions, and other software around the model.

Sources