Skip to content

What is generative AI?

Generative AI is artificial intelligence that creates new content, such as text, images, audio, video or code, from a prompt. It learns patterns from huge amounts of existing data and uses them to produce something new.

Updated September 24, 2026

Generative AI is AI that makes things. Give it a prompt and it can write an email, draw an image, compose music, generate video or write computer code. It does this by learning the patterns in enormous amounts of existing data and then producing new material that follows those patterns.

How it works

  • Learn from huge datasets. Models are trained by repeatedly predicting the next piece of a sequence, like the next word or part of an image. The result is called a foundation model; for text, it's usually a large language model.
  • Transformers. Introduced in 2017, this neural network design tracks context with a mechanism called attention, and it powers tools like ChatGPT.
  • Diffusion models. Most image generators learn to turn random noise into a picture, step by step.
  • Refine. Models are then fine-tuned, including with human feedback, to be more helpful and safer.

Older machine learning mostly made predictions about existing data, like spotting a tumor in an X-ray. Generative models create something new.

What it can make

  • Text and code: chatbots such as ChatGPT, Claude and Gemini
  • Images: tools such as DALL-E, Midjourney and Stable Diffusion
  • Audio, music and video
  • Science: research systems that design new proteins and materials

The risks

  • Made-up facts. Models can state false things confidently, known as hallucinations.
  • Copyright and misinformation. NIST warns it makes copying protected work and producing misinformation easier, and deepfakes can fool people about what's real.
  • Energy and water. MIT News reports that training GPT-3 used about 1,287 megawatt-hours of electricity, and data centers use water for cooling.

A quick history

IBM traces the roots to the ELIZA chatbot in 1964. The key building blocks arrived in 2014 (image generators) and 2017 (transformers), and ChatGPT's launch in 2022 made generative AI a household term.

Quick questions

Is generative AI the same as AI?

No. It's one part of AI, focused on creating new content. Other AI mainly sorts, classifies or predicts from existing data.

Is ChatGPT generative AI?

Yes. ChatGPT generates text using transformer-based large language models, and it's the tool that brought generative AI into the mainstream in 2022.

What is the difference between generative AI and predictive AI?

Generative AI creates new content from a prompt. Predictive AI uses historical data to forecast outcomes, like demand or the risk of fraud.

How much energy does generative AI use?

A lot at scale. MIT News reports that training GPT-3 used about 1,287 megawatt-hours of electricity, and that a ChatGPT query uses roughly five times the electricity of a standard web search.

Sources: IBM: What is generative AI?, MIT News: Explained: Generative AI, AWS: What is generative AI?, NIST AI 600-1: Generative AI Profile, MIT News: Generative AI's environmental impact