Viewing Your Stats
You have two ways to check your CMX token activity:- Terminal
- Dashboard
Run the following command to see today’s token and compression statistics in your terminal:This shows local activity for the current day, including tokens handled, estimated net saved, and cache reads.
Key Metrics
CMX surfaces three core numbers. Here is what each one means: Tokens Handled The total reported token activity that passed through CMX. This is not a word count or a line count — it reflects token usage as reported by your model provider’s API responses. A single large prompt or a long assistant reply can each account for thousands of tokens. Estimated Net Saved The number of tokens CMX estimates were avoided, after subtracting the overhead of the compression requests themselves. Because each compression round-trip costs tokens, this number can be small or even slightly negative in short sessions. As sessions grow longer, the savings from summarizing large spans of repetitive history outpace the overhead. Cache Reads When CMX has already produced a summary for a given context span, it reuses that cached result rather than making another summarization request. Cache reads are counted separately from estimated savings and do not add to compression overhead.What Affects Savings
Not every session will produce the same savings. Several factors influence how much compression CMX can apply:- Session length: Compression only activates above
min_context_tokens(default: 32,000 tokens). The longer a session runs, the more repetitive context accumulates and the more CMX can summarize away. - Workload type: Repetitive back-and-forth exchanges — iterating on the same file, debugging the same error — compress more effectively than a series of isolated, unrelated questions where each turn introduces entirely new context.
- Provider caching: If your provider caches prompt prefixes (as some do for long shared prefixes), compression savings may partially overlap with the savings your provider already gives you from cache hits. The two mechanisms are not additive in all cases.
- Compression overhead: Every summarization request costs tokens. CMX’s policy requires the estimated saving to exceed that overhead before applying a summary, so sessions that are just above the minimum threshold may see modest or no compression.