Skip to content

[Feature]: Show current session cost on hover of the context meter, for all providers including OpenCode #17818

Description

@n0ah37

Before submitting

  • I searched existing issues and did not find a duplicate.

Area

apps/web (composer context meter), apps/server (usage reporting)

Problem

The context meter next to the composer send button shows context usage, but the session's cost is not shown anywhere live. For OpenCode threads the meter also stays empty when routed through OpenRouter (#8388), and per-session cost is not surfaced for OpenCode or other providers.

Requested behavior

  • Keep the live context ring next to the send button and update it after each round.
  • Hovering the ring shows the current session's cost, plus used/max context tokens. This matches how OpenCode shows it.
  • Works for every provider that reports token usage (OpenCode, Codex, Claude, Cursor, Antigravity), not only Claude and Codex.
  • If a model has no price entry, show the token counts and mark the cost as unpriced instead of showing $0.

Related

🤖 Generated with Claude Code

Activity

  1. locked and limited conversation to collaborators on Oct 11, 2026
  2. converted this issue into a discussion #18050 on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions