Token Savings with JFrog Boost

Understand how JFrog Boost compresses noisy command output for agents.

JFrog Boost prevents verbose test logs from flooding the context window your coding agent uses. Boost preserves the signal, including failures, summaries, counts, and next clues. Repetitive log noise is compressed before it reaches the agent. The full raw output remains retrievable when you need it.

What Boost Keeps

Boost preserves the signal, including failures, summaries, counts, and next clues. The repetitive stream gets compressed before it spends context tokens. If a filter hides too much, run boost retrieve <id> to recover the full output. Boost monitors retrieve events and can disable the filter locally when needed. This works better than bypassing Boost altogether.

Where Boost Helps Most

The noisiest commands your agent runs, such as tests, builds, and logs, shrink the most.

# noisy test runs
pytest -q
go test ./...
npm test

# build and lint logs
npm run build
npx tsc --noEmit
ruff check .

# diffs, logs, and debug output
git diff
docker logs app
kubectl logs deploy/api

For tools without a built-in filter, add custom rules in TOML Filters for JFrog Boost.

Measuring Token Savings

Boost tracks raw and filtered size and estimates saved tokens per command. Run boost report for aggregate savings across your sessions, or add custom rules in TOML Filters for JFrog Boost.

boost report

You can configure reporting defaults as well as the calculations used for cost or emissions estimates. For more information, see Configuring JFrog Boost.

Emission Savings

Saving tokens directly reduces the computing power you consume. Boost translates raw token savings into an estimated emissions impact using a configurable calculation (default 0.21 kg CO₂e per 1 million saved tokens).

$ boost report

● Saved 1.7M tokens of terminal noise.
● You avoided 359 g CO2e. ≈ 0.21 kg CO2e / 1M saved tokens.
📘

Note

The estimate is a directional sustainability signal, not audited carbon accounting. It reminds you that less compute-intensive AI usage can reduce emissions. Adjust the calculation with [report] co2e_kg_per_million_tokens in .boost/config.toml.

Related Topics


Did this page help you?