turntax
What your agent instructions cost on every turn
Coding agents re-send their instruction files with every message. turntax applies each agent's documented loading rules, measures what is sent every turn, and shows what to trim.
npx turntax
Drop a repository folder
Only agent instruction files are read. node_modules, .git and build folders are skipped.
Runs in your browser with an offline tokenizer. Nothing is uploaded.
Paste a file instead
Models and pricing
Loaded files
Every-turn cost by agent
Tokens sent every turn
Counted with OpenAI's o200k_base tokenizer as a common reference. Claude and Gemini publish no tokenizer: run the CLI with your own API key for their exact counts.
What to trim
Fixes
By default fixes keep context for every agent, so sections of AGENTS.md often stay put unless you narrow the list.
Skipped ()
Apply with git apply fix.patch, or run npx turntax --fix --write in the repository.