What is token-efficient dom?
A token-efficient DOM is a deliberately minimized view of a web page: instead of raw HTML, it carries only the elements an agent can act on, numerically indexed and trimmed to a fixed token budget. It is the data the planner reasons over and the addressing scheme compiled skills use.
Why it matters
Token count is the dominant driver of LLM cost and latency in browser automation. By compressing a page to its actionable surface, Twin keeps even long, multi-step flows within a few thousand tokens, which lowers both the cold-compile cost and the bar for what a smaller, cheaper model can drive.
See it in context: read how Twin compiles and replays a run, follow the cost-cutting guide, or browse use cases and comparisons.