Pretraining is the large-scale learning phase that gives an AI model broad knowledge before fine-tuning. LLMs are pretrained to predict the next token using a massive dataset that includes the whole public internet and any private, licensed, and synthetic data the developers can find or create.