---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/context/compact/summarizer/variables/DEFAULT_SUMMARISE_AT_TOKENS.md
description: >-
  The token threshold, measured over the OLDER (non-verbatim) region's combined
  text, past which a (re)summarization call fires.
---

# Variable: DEFAULT\_SUMMARISE\_AT\_TOKENS

```ts
const DEFAULT_SUMMARISE_AT_TOKENS: 2500 = 2500;
```

Defined in: [src/batteries/context/compact/summarizer.ts:41](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/context/compact/summarizer.ts#L41)

The token threshold, measured over the OLDER (non-verbatim) region's combined text, past which a
(re)summarization call fires.

## Remarks

The flagship reference agent's own calibrated value (`COMPACT_SUMMARISE_AT_TOKENS`), lifted
unchanged — modeled on Claude Code auto-compacting as it approaches the context limit (there, a
fraction of an 8k window).
