Skip to content

Consuming extra-usage instead of subscription after upgrading Claude Code to v2.1.111 (plugin v1.5.0) #206

@JackDrogon

Description

@JackDrogon

Description

After upgrading Claude Code to v2.1.111, using opencode-claude-auth v1.5.0 results in API calls being billed against extra-usage (pay-as-you-go credits) instead of the Claude subscription (Pro/Max plan quota).

Environment

  • opencode-claude-auth version: v1.5.0
  • Claude Code version: v2.1.111
  • OpenCode version: v1.4.6
  • OS: Linux

Steps to Reproduce

  1. Upgrade Claude Code CLI to v2.1.111
  2. Use OpenCode v1.4.6 with the opencode-claude-auth v1.5.0 plugin
  3. Make any request through OpenCode
  4. Check usage in the Anthropic Console / Claude account

Expected Behavior

Requests should consume the subscription quota (Claude Pro/Max), the same way the official Claude Code CLI does with the same credentials.

Actual Behavior

Requests are billed as extra-usage (API credits), bypassing the subscription quota.

Possible Cause

Claude Code v2.1.111 may have changed the request headers, OAuth scopes, or the anthropic-beta / client identification fields used to route requests to the subscription tier. The plugin likely needs an update to match the new Claude Code request signature.

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