---
title: "Context Window Recommendations & Tips for Saving Credits - Announcements & Feedback - Yumina Community"
description: "Before you touch this setting, it helps to know what gets sent to the AI every time you press send. Here is a stripped-down version of it: The world setup is the lorebook."
url: https://yumina.io/app/community/thread/297a2dfb-548a-4141-89f7-2028671cd630
lang: en
---

[Community](https://yumina.io/app/community) · [Announcements & Feedback](https://yumina.io/app/community/announcements)

# Context Window Recommendations & Tips for Saving Credits

[Yumina](https://yumina.io/@yumina) · Staff · 2026-09-22

Before you touch this setting, it helps to know what gets sent to the AI every time you press send. Here is a stripped-down version of it:

\` // —— World setup —— \[lore 1: AI Instruction\] You're the narrator of this survival horror game. Cold and restrained in tone, you never decide the player's actions for them.

\[lore 2: World Settings\] The long-abandoned Matsuzaki Sanatorium, sealed off in the winter of 1987.

// —— Conversation history —— \[user\] I push the door open

\[assistant\] A hand grabs your wrist — the skin unnaturally cold...

\[user\] I drink the potion \`

The world setup is the lorebook. The author writes it: who the AI is playing, what the world is, the rules it has to follow. It has a fixed amount of information.

The conversation history is everything you and the AI have said so far. It grows every single turn.

Both get sent again, in full, every time you ask for a reply. AI re-reads the whole thing from scratch every time.

Why a long session costs more

AI providers charge by how much you send them. Your lorebook stays the same size, but your history keeps growing, so every turn costs a little more than the one before it. That is why the mushie cost per reply creeps up the longer you play.

Why we cannot send everything

In a perfect world the AI would see every word of your story forever and never forget a thing. Two things stop that. The cost above, and the model's own context limit, which is a hard ceiling on how much it can read at once.

So the line has to be drawn somewhere. That is what the where our current memory setting does (defaulted to 64k) It caps how much of the story gets sent, and it keeps the full lorebook no matter what. The world the author built is never the thing that gets cut.

What you give up

Once a story gets long, the AI starts losing the very beginning.

In practice this matters less than it sounds. To write the next good paragraph, the AI needs the lorebook and what just happened. It rarely needs chapter one.

When it does matter, that is what Session Memory & Story Summary is for. Instead of dropping old scenes, it summarizes them and keeps the summary. You lose the exact wording, not the events.

The mistake almost everyone makes

The obvious move is: I can afford it, so I will set it as high as it goes. That is usually the wrong call, and money is not the reason.

Too much history distracts the model. Buried in twenty thousand words of old chat, it drifts away from the lorebook and from what you just said. Smaller models suffer from this badly, but it happens to the big ones too. A tighter window is often a sharper AI.

So we recommend turning it down. Everyone, on every plan, whatever your budget.

What we actually recommend

Currently, the medium size for worlds is only about 7500 tokens, this means that with your default been set to 64000, you have more than 50000 tokens for context, which is extremely costly and can be unnecessary. With our new improved UI, we made a feature so that you can just focus on choosing the amount of conversation history you want to preserve. We recommend setting story memory somewhere between 12,000 and 24,000, and install Session Memory plugin.

Here is what that looks like on a normal world. A medium lorebook on Yumina is around 7,500 tokens:

| | Tokens | |---|---| | Lorebook | 7,500 | | Story memory | 15,000 | | Sent per turn | 22,500 |

All 15,000 of that is story, and all of it is recent. On a bigger world the lorebook half goes up and the total goes up with it, but your story memory stays exactly where you put it. That is why our new UI split it into two variables for you to edit.

## 6 replies

1. [Yoshishi](https://yumina.io/@yoshishi) · 2026-09-22 Alright, goat.
2. [Yumina](https://yumina.io/@yumina) · Staff · 2026-09-22 You can see the new UI and configure it in setting- generation setting. You can also navigate it in the profile page. We would recommend everyone giving it a check because you are probably on the 64,000 tokens default and lowering that can save you a lot a lot of credits
3. [大狗](https://yumina.io/@dagouzi) · 2026-09-22 请问这里的世界书的token，指的是“始终发送”的token吗？ 是否包含“关键词触发”，“变量触发”，“不同开局”等设定的token。因为很多世界书总的token很大举个例子20000，但15000都是通过关键词触发的，所以每回合只要大于5000（如7500）就能正常玩。新UI的“不限”是否按总的token计算呢，导致每回合都发送20000？这样也会浪费好多。
4. [Yumina](https://yumina.io/@yumina) · Staff · 2026-09-22 新ui的不限指的是不管世界书多少都会是世界书+聊天记录，这个世界书发送的原理依然跟之前一样，不会导致多发
5. [格鲁曼钢铁厂](https://yumina.io/@haorenstalin) · 2026-09-23 会话记忆与剧情摘要插件最近运行得有些问题，我不确定英语状态下工作如何，但在生成中文的状态下，最近生成的记忆文本过于简短了，原来还会生成几段话形成一个完整的故事梗概的，现在只会生成一段，根本保留不了多少有效信息，有时候甚至只会总结最近发生的事
6. [Yumina](https://yumina.io/@yumina) · Staff · 2026-10-07 Hi hi everyone
