TokensContextTemperatureHallucinationRAG

Five concepts. Real understanding.

AI models do not read words. Type a sentence below and watch it split into the chunks a model sees. Five hands-on lessons explain the rest.

I love pizza.

4 tokens. Each colored chunk is a piece the model reads.

AI Readiness Check

Start with a baseline.

Optional: a 30-second baseline.This is not a gate. It gives the completion screen a before score to compare.

Curriculum path

The five ideas that make AI click.

Predict first

How many tokens will “I love pizza.” become?

Pick a guess to see the answer. Guessing first makes the lesson stick.

AI models do not read words the way people do. They read tokens: chunks of text that can be a whole word, a piece of a word, a space, or punctuation.

TakeawayTokens are the model's input and output budget.
Go deeperWhy it matters, a common mistake, and a workplace example
Concept

Tokens are chunks of text that get converted into model-readable IDs.

Why it matters

Token count shapes cost, latency, context limits, and how much room remains for the answer.

Common mistake

Counting words or pages and assuming that is the model's real budget.

Workplace example

A support team trimming a long refund policy into the key clauses saves tokens and leaves room for a clearer answer.

Try this sentence.

“I love pizza.” usually becomes a few separate tokens. The space before a word often travels with that word, which is why token chunks can look a little strange at first.

CostMore tokens in or out means more work for the model.
ContextContext windows are token limits, not page limits.
ShapeCode, emoji, punctuation, and rare words split differently.

Once tokens click, prompt behavior becomes less mysterious. Long instructions cost more, pasted documents fill context faster, and small wording changes can alter the chunks a model sees.

MythMore context is not always better.

Playground

Live tokenizer

13 chars
4 tokensEstimated input cost: <$0.0001
WordSubwordPunctuationSpace
I love pizza.
Spaces often travel with the word after them.
Use the mini demo, then claim the practice XP.

Knowledge check

Tokens check

0 / 3 correct0 / 3 answered
What does an AI model process when you send text?
Why does a longer prompt usually cost more?
Why do tokens matter for context windows?

Final Challenge

Fix a Bad AI Answer

Messy prompt

Please please write a super helpful, creative, guaranteed answer for a customer asking about refunds. Make it sound confident. Also here are the goals again: be helpful, be confident, be very creative, and tell them what to do.

Source document

Refund requests are accepted within 14 days of purchase. Approved refunds usually take 3-5 business days after review. Customers should contact support with their order ID.

Bad AI answer

You are definitely eligible for a same-day refund. The company always processes refunds immediately, so you can expect the money today. No order ID is needed.

Identify every issue before completing the challenge.

Complete all five modules before the final challenge can award XP.

0 / 5 findings selected.

Final Readiness Check

Finish with your after score.

Complete the final challenge to unlock this check.This final check records your after score and unlocks the full completion summary.

Answer Review

Final Check Review

Complete the final readiness check to review your answers.

Take Final Check

Progress area

30-day activity calendar

One missed day will not break your streak. Two in a row will.

0 current0 longest0 active days
234567891011121314151617181920212223242526272829301
No activityVisitedLesson completedPerfect quizBadge earned

Completion Summary

Your finish line is ready.

Complete the remaining modules and final challenge to unlock the graduate summary.

0Total XP
0 / 6Badges earned
0 current / 0 longestStreak stats
Not startedReadiness score
Retake the readiness check after the final challenge to show your improvement.

Jump to a module

  1. TokensNot finished
  2. Context WindowNot finished
  3. TemperatureNot finished
  4. HallucinationNot finished
  5. RAGNot finished