ChatGPT is based on the GPT (Generative Pre-training Transformer) model, which was first introduced in 2018. The GPT model was trained on a massive dataset of internet text, allowing it to generate human-like text with a high degree of fluency and coherence.