Terminal colors made my grep output 4.5x more expensive for an LLM to read
When a coding agent runs grep or git diff , it reads the output as text. If that output is colored, the colors are text too. I wanted to know how much of it. A few words first A token is a chunk of text, roughly three quarters of an English word. APIs bill per million tokens, and input is everythin…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-03 12:00 · DEV Community — AI
Terminal colors made my grep output 4.5x more expensive for an LLM to read