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

Open
opened 2026-02-16 17:43:37 -05:00 by yindo · 3 comments
Owner

Originally created by @tymscar on GitHub (Jan 7, 2026).

Originally assigned to: @thdxr on GitHub.

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

Originally created by @tymscar on GitHub (Jan 7, 2026). Originally assigned to: @thdxr on GitHub. ### 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
yindo added the bug label 2026-02-16 17:43:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 7, 2026):

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] commented on GitHub (Jan 7, 2026): 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.
Author
Owner

@tymscar commented on GitHub (Jan 7, 2026):

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

@tymscar commented on GitHub (Jan 7, 2026): Thank you github actions but none of those are what I am asking about
Author
Owner

@qlido commented on GitHub (Jan 15, 2026):

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

@qlido commented on GitHub (Jan 15, 2026): Same here. It’s annoying because my company seems to think I’m just playing around instead of actually working.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4378