Context Window Simulator
This simulates how ChatGPT, Claude, and Gemini use short-term memory called the Context Window. Every message consumes tokens and eventually older messages get forgotten.
Conversation
AI Brain
Context Window Size: 120 tokens
Still Remembered
Forgotten
Short-Term vs Long-Term Memory
AI systems use different memory mechanisms.
Short-Term Memory
• Current conversation
• Limited context window
• Gets forgotten when full
• Fast temporary memory
Long-Term Memory
• Stored preferences
• External memory systems
• Can persist across chats
• Retrieved later
⚡ Short-Term Memory Demo
Add information here. Then overflow the context window.
🧠 Long-Term Memory Demo
Long-term memory persists even after overflow.
Hallucination Playground
Hallucinations often happen when important context is forgotten or unavailable.
Conversation Simulator
AI Response
“What was my favorite city?”
Temperature Control
Temperature controls randomness and creativity.
Low Temperature
• More factual
• More deterministic
• Better for coding/math
• Less creative
High Temperature
• More random
• More creative
• More diverse outputs
• Higher hallucination risk
Live Interpretation
Balanced creativity and accuracy.