Skip to content

feat: show dollar savings across all touchpoints#103

Open
rajkumarsakthivel wants to merge 1 commit into
mainfrom
feat/dollar-savings-display
Open

feat: show dollar savings across all touchpoints#103
rajkumarsakthivel wants to merge 1 commit into
mainfrom
feat/dollar-savings-display

Conversation

@rajkumarsakthivel

Copy link
Copy Markdown
Member

Summary

  • Status hook (every session start) now shows estimated cost saved: 97% saved over 22 queries ($11.16 saved)
  • Session resume context includes dollar amount so the model sees it too
  • MCP index_status response includes cost in the savings line
  • Uses configured pricing model (default: opus). Pairs with feat: multi-provider pricing and custom rate overrides #101 for multi-model support.

This is the viral mechanic. Developers see "$X saved" on every session start and share it.

Depends on #101 for full multi-model pricing support (works standalone with opus default).

Every developer touchpoint now shows estimated cost saved alongside token
percentages. The dollar amount is calculated from the configured pricing
model (default: opus). This surfaces in:

- cce status --oneline (session start hook)
- Session resume context (memory hooks)
- MCP index_status response

The goal is to make savings tangible and shareable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant