AI Security · FoundationsInferenceUsing a trained model's existing parameters to produce output for a request. A text-generating LLM selects next tokens during decoding; this does not retrain its weights.Where you practice itHow LLMs Work: Tokens, Context & InferenceAI Security · AI & LLM FoundationsPractice this lesson →Related termsLarge Language ModelInstruct/Chat ModelGreedy DecodingEmbeddingModel tokenContext WindowOutput SinkChat TemplateRetrieval-Augmented GenerationBase Model