opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Anthropic team plan statistics don't show usage while in opencode

Open tymscar opened this issue 2 weeks ago • 2 comments

Description

Is there any setting I am missing that would enable opencode to send back that information to Anthropic? We have a team plan, and if a user is using opencode, it shows up there as if they never used their plan. As soon as they use the Claude-Code CLI, they show up, and their usage is tracked correctly.

What's interesting is that https://claude.ai/settings/usage shows the usage from opencode just fine.

Plugins

No response

OpenCode version

1.1.4

Steps to reproduce

  1. Launch Opencode
  2. Ask it to modify some files
  3. Check the Anthropic Team Plan dashboard to see the usage change

It will not have changed. However if you then:

  1. Launch Claud code
  2. Ask it to modify some files
  3. Check the Anthropic Team Plan dashboard to see the usage change The usage has changed.

Screenshot and/or share link

No response

Operating System

macOS 26.1 (25B78)

Terminal

Ghostty

tymscar avatar Jan 07 '26 16:01 tymscar

This issue might be a duplicate of existing issues. Please check:

  • #7175: The token cost generated by session titles, message summary titles, and body summaries has not been accounted for
  • #6989: $ spent in context decreases after request (TUI context spending tracking issues)
  • #6930: Using opencode with Anthropic OAuth violates ToS & Results in Ban (relates to Anthropic team plan usage)
  • #6802: Default small_model charges users when free alternative exists on Copilot (silent usage tracking issues)
  • #6767: Feature Request - Implement /stats command for visual usage insights (similar to Claude Code)

These issues all relate to usage tracking, billing accuracy, and visibility into token consumption across different providers. Your issue specifically concerns team plan statistics not being reported back to Anthropic, which may be related to how OpenCode reports usage data to the provider.

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 07 '26 16:01 github-actions[bot]

Thank you github actions but none of those are what I am asking about

tymscar avatar Jan 07 '26 17:01 tymscar

Same here. It’s annoying because my company seems to think I’m just playing around instead of actually working.

qlido avatar Jan 16 '26 04:01 qlido