# Token

URL: https://onlykin.ai/glossary/token
Updated: 2026-06-04
Category: Model behavior

## Definition

A token is a small piece of text, such as a word fragment, word, punctuation mark, or space pattern, that a language model processes.

## Quick Answer

Tokens matter in AI roleplay because character cards, personas, summaries, lore, and recent messages all consume the model's available context before it writes the next reply.

## Plain Language

A long card, long recap, or long chat history is not free. It takes up room in the model's working text budget.

## Why It Matters

Token awareness helps creators write shorter cards, cleaner summaries, and lore entries that do not crowd out the live scene.

## OnlyKin Angle

OnlyKin can turn token complexity into simple product guidance: write compact cards and preserve only memory that changes the next scene.

## Related Terms

- Context window: https://onlykin.ai/glossary/context-window
- System prompt: https://onlykin.ai/glossary/system-prompt
- Lorebook: https://onlykin.ai/glossary/lorebook
- Semantic memory: https://onlykin.ai/glossary/semantic-memory

## Sources

- [OpenAI Help: What are tokens?](https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them) - Used for the token definition and model-input framing.
- [OnlyKin chatbot explainer](https://onlykin.ai/blog/how-ai-character-chatbots-work) - Used for translating token limits into character-chat behavior.

