onlykin
DiscoverCreatePricingBlog
EnglishРусскийEspañolPortuguês
Sign in
Glossary
Model behavior

Context window

A context window is the maximum amount of text a language model can consider at once when generating a reply.

The entries below are preserved in their original source language to avoid unreviewed machine translation.

Updated 2026-06-04Markdown copy
Quick answer

In AI roleplay, the context window contains the system prompt, character card, persona, summaries, and recent messages. When it fills up, older details must be dropped, summarized, or retrieved another way.

Plain-language meaning

The model does not remember everything by default. It can only respond from the information placed in front of it for the next turn.

Most complaints about characters forgetting names, promises, locations, or earlier scenes trace back to context-window limits and weak memory design.

OnlyKin should explain context windows plainly so users understand why compact memory and structured cards matter.

Sources

OpenAI Help: What are tokens?Used for explaining tokens as the units models process and why input length matters.OnlyKin guide to why AI characters forgetUsed for roleplay-specific context-window examples.
Related terms
TokenSemantic memoryLorebookSystem prompt
Related guides
Why Your AI Character Forgets — and How to Keep Long Roleplays Coherent

AI characters forget because the model can only see a limited window of recent text. This guide explains the mechanism and gives concrete fixes that keep a long thread coherent.

AI Roleplay Memory: Keeping Long Story Chats Coherent

Long AI story chats need continuity, but more context is not always better. The best memory systems separate recent turns, durable facts, lore, persona, and retrieved memories.

AI Roleplay Glossary: 30 Key Terms Every Character Chat User Should Know

AI roleplay borrows vocabulary from machine learning, tabletop gaming, and online fan communities. This glossary defines the 30 terms you will meet most often, in plain language.

Browse all guides
onlykin

Character chat, cards, and saved story sessions.

support@onlysearch.ai

Product

  • Discover
  • Create
  • Pricing

Company

  • About
  • Contact
  • Support

Resources

  • Blog
  • Glossary
  • Alternatives
  • Answers

Legal

  • Privacy
  • Policy
  • Terms
  • Acceptable Use
© 2026 OnlySearch AI LLC · OnlyKin
EnglishРусскийEspañolPortuguês
onlykin.ai