Trim only works on traffic flowing through Costa. If you haven’t connected your tool yet, start there.
1
Flip the switch
Open Optimization Settings and toggle Trim on. The next request through Costa will be trimmed.(You can also get there from Settings → Organization Settings → Optimization.)
2
See it work
Ask your AI to do something — check your git status, or run the tests.Open your session logs and click the latest one. You’ll see a Trim badge on every call that got compacted, plus exactly how many tokens it saved you.
Next: Build a Cosmic Router
Mix your subscription models with frontier APIs on a per-request basis.