Token use & costs

Token use & costs

Scope

This page is a placeholder generated from the official source file structure.

What to verify

  • TODO: Add prerequisites and validation checklist.

Outline (from official headings)

  • How the system prompt is built
  • What counts in the context window
  • How to see current token usage
  • Cost estimation (when shown)
  • Cache TTL and pruning impact
  • Example: keep 1h cache warm with heartbeat
  • Tips for reducing token pressure

Further reading

  • Official source file: token-use.md