Thin prompt and hosts

Three thin-prompt levels

puax_thin_prompt compresses a role into three levels. The documented baseline: minimal sits near a 162-token floor, independent of how thick the role is. military-commander drops from about 4337 tokens to 162, roughly 96% less.

LevelWhen
minimalThe window is tight. The heartbeat picks it when context_budget < 250
compactHeartbeat default. Also used when the budget is under 700
fullYou asked for the full text and the budget can hold it

A compile cache keys on version, role, level, language, and arena. The estimator is an estimate. Read the denominator in the docs before you treat it as a bill.

language: "en" turns on the PIP Edition rhetoric layer. The bundled role body stays Chinese. Many sample prompts on this English site are that Chinese body, on purpose.


Code sample

puax_thin_prompt({
  role_id: "military-commander",
  mode: "compact",
  context_budget: 600
})

Quiz

Which thin-prompt level does the heartbeat inject by default?

Back to chapter
Next