ENTRY_OVERHEAD_TOKENS
@forge/monorepo / backend/src / ENTRY_OVERHEAD_TOKENS
Variable: ENTRY_OVERHEAD_TOKENS
constENTRY_OVERHEAD_TOKENS:6=6
Defined in: backend/src/tools/budget.ts:28
What a compact catalogue entry costs.
The fields a model actually reads, plus a small per-entry allowance for the JSON or Markdown scaffolding the assembler wraps them in — measured at ~35 tokens per entry in #221's harness, which is what this reproduces. An estimate rather than a tokenizer call: the point is a stable ceiling, and a budget that shifted with the model's tokenizer would make one deployment's 4,000 tokens another's 4,600.