Tokenomics of quality: switch sonar list issues to --format toon for measured token savings
Blog post from Sonar
Sonar’s `--format toon` option provides a compact, lossless alternative to JSON for command outputs such as issue lists, reducing repeated field names by representing uniform records in a tabular, schema-defined format optimized for LLM input. A representative 25-issue payload was reported to be 49% shorter in characters than formatted JSON and 33% shorter than minified JSON, while published TOON benchmarks indicate token savings for similar datasets can range from roughly one-third to more than one-half without reducing retrieval accuracy. Users can compare formats on their own Sonar output with the TOON CLI’s `--stats` option, and should favor TOON for uniform arrays such as issues or dependency risks, while compact JSON may remain more efficient for deeply nested or irregular data. The format change is presented as one part of a broader strategy for lowering AI coding costs that also includes targeted context through Sonar Vortex Context Augmentation and maintaining cleaner, verified codebases, both intended to reduce the amount of information agents must process.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| LLM | 2 | 5,068 | 1,020 | 229 | -34% |
| AI Coding Assistant | 1 | 1,513 | 470 | 139 | -19% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.