DSH Toolbox

DeepSeek Harness context budget calculator

Context Budget is a calculator that estimates how many turns a DSH session has left before its context window fills.

Compaction is not free: it rewrites the conversation surface and costs latency. Know how many turns you have left before you need it.

Turns left
—
Compact at turn
—
Overflow at turn
—
Headroom now
—

—

—

Numbers are estimates from your own inputs, not measurements. Token accounting differs per provider and per tool surface; treat the result as a planning aid, not a contract.

Common questions

Where do I get “tokens used now”?

DSH shows context pressure and token usage in the session panel. Copy the numbers in; nothing is read from disk.

Why does compaction cost so much?

It is not just summarising — the whole surface gets rewritten, which is why headroom matters more than raw window size.

Does it send my session anywhere?

No. Paste the numbers you see and the page does the arithmetic locally.