What Happens When You Type a Prompt Into AI?
Write a lesson plan for 8th grade algebra covering linear equations
AI doesn't look up answers in a database.
It learned patterns from billions of sentences.
Then it closed the books and works from memory.
Here's what happens to your words inside that process.
Step 1 of 6
Explore Each Step
01
Tokenization
How AI breaks your words into pieces it can process
02
Embeddings
How AI turns words into numbers that capture meaning
03
Self-Attention
How AI figures out which words matter to each other
04
The Transformer
How your text transforms through the AI pipeline
05
Next Token Prediction
How AI builds its response, one word at a time
06
Hallucination
Why AI sometimes makes things up with total confidence
07
Context Window
Why AI forgets what you told it 30 messages ago
08
RAG
How AI tools use your documents to give better answers
09
The Full Journey
Watch a prompt travel through every step, start to finish
10
Token Calculator
See what AI costs, model by model, prompt by prompt