Live token + cost meter per chat and per turn in chat.z.ai
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
[Suggestion / Feature] Live token + cost meter per chat and per turn in chat.z.ai
Verified demand: Across the community export, ~543 messages ask about token usage / cost visibility ("how many tokens did this burn?", "show my usage"). Users currently have no in-UI way to see token consumption per message or per session.
Proposal: Show a live token counter per turn and a running session total inside chat.z.ai (and ZCode). Optionally show estimated USD cost based on the active model's published pricing.
Why this matters:
- Cuts the anxiety that drives "am I being rate-limited?" confusion during normal use.
- Makes the Fair Usage boundary (see issue #142) visible before a restriction hits.
- Helps Max Plan users understand their own consumption instead of guessing.
Regards,
Roman
- http://www.rommark.dev
- Vibe Coders Telegram Channel: https://t.me/VibeCodePrompterSystem
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names chat.z.ai and ZCode but no source files, tests, or implementation entry point. Start by locating the UI responsible for chat turns and session usage, then confirm whether estimated USD pricing is in scope. Done means token usage is visible per turn and as a running total for each chat, with the pricing behavior explicitly settled.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100