Concept
Completion
Text generated by an LLM in response to a prompt — the model's output portion.
Definition
A completion is what an autoregressive LLM produces given a prompt. Legacy APIs called the whole call /completions; modern chat APIs return assistant messages but the underlying operation is identical: continue the input until a stop condition fires.
Common use cases
- Text generation
- Code completion
- Q&A