Question
(Not question. Just sharing)
Sharing a reproducible observation that may be relevant to this project.
When using Anthropic’s Messages API with a Claude Max plan, including the string github.com/anomalyco/opencode (or its previous name github.com/sst/opencode) in the system prompt consistently correlates with requests being routed to “Extra Usage” billing—even when Max plan credits are still available.
Details
In my testing, prompt content alone appears sufficient to influence how billing is applied. When the system prompt contains a reference to this repository(github.com/anomalyco/opencode or github.com/sst/opencode), requests that would normally be covered by the Max plan instead require Extra Usage credits.
Reproduction Context
- Clone the repository to:
$HOME/github.com/anomalyco/opencode
- Run claude (CLI) to summarize recent changes
- Ensure Extra Usage is disabled (Max plan only)
- Observe: request fails with 400 (Extra Usage required)
- Remove or alter the repository string in the system prompt
- Observe: same request succeeds under Max plan
I also verified via a local proxy that the only meaningful difference between requests was the presence or absence of the repository string (including partial matches).
I was aware that opencode couldn’t use Anthropic’s subscription plans, but it was unexpected that I couldn’t even modify the project using Claude Code under a subscription.
Question
(Not question. Just sharing)
Sharing a reproducible observation that may be relevant to this project.
When using Anthropic’s Messages API with a Claude Max plan, including the string github.com/anomalyco/opencode (or its previous name github.com/sst/opencode) in the system prompt consistently correlates with requests being routed to “Extra Usage” billing—even when Max plan credits are still available.
Details
In my testing, prompt content alone appears sufficient to influence how billing is applied. When the system prompt contains a reference to this repository(github.com/anomalyco/opencode or github.com/sst/opencode), requests that would normally be covered by the Max plan instead require Extra Usage credits.
Reproduction Context
$HOME/github.com/anomalyco/opencode
I also verified via a local proxy that the only meaningful difference between requests was the presence or absence of the repository string (including partial matches).
I was aware that opencode couldn’t use Anthropic’s subscription plans, but it was unexpected that I couldn’t even modify the project using Claude Code under a subscription.