Skip to content

Make opencode prefer claude subscription over tokens #4291

@igordertigor

Description

@igordertigor

Question

I have a claude pro subscription and an api key. I would like to have opencode use the subscription until it hits the usage limit and then switch to token usage. I thought that was the default, but that seems to not be the case. What am I missing? Unfortunately, the auth documentation seems to only cover the login flow. What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions