Skip to content

Show token- and cents-cost of conversation #96

@belden

Description

@belden

I really like having Claude right in Emacs via agent-shell! I'm using it with agent-shell-sidebar and it's a really productive setup.

One of the things I've gotten used to from other frontends is seeing a "cost" of the current conversation. I'd like to see an estimate of the cost of a conversation from within agent-shell too.

click 💥 for an example from claude cli tool

For example, using claude from the cli shows the cost of the conversation at the end:

Example from claude cli tool
click 💥 for an example from crush cli tool

As another example, using https://github.com/charmbracelet/crush shows an ongoing cost of the conversation:

Example from crush tui
screenshot from emacs Image from emacs with a fabulous mock-up 🙄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions