Skip to content

Error from provider (Console): OpenCode's free tier can only be used from within OpenCode #52904

Closed as not planned

Description

@TrongHieu111

What does the error 'Error from provider (Console): OpenCode's free tier can only be used from within OpenCode' mean? I just started getting this error this morning, even though I am using the official OpenCode app directly.

Activity

  1. github-actions commented on Oct 3, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Please use the Question issue template and include the question in its required Question field; the current body is plain text and does not use the template.
    • Add relevant system details, such as your OpenCode version and operating system/environment, to help diagnose the error.

    Please edit this issue to address the above within 72 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. subhashnaval commented on Oct 3, 2026

    @subhashnaval

    Description

    I am using the official OpenCode Desktop application downloaded directly
    from the official OpenCode website.

    OpenCode was working normally with its default/free models, but suddenly
    the models stopped working and started returning the following error:

    Error from provider (Console): OpenCode's free tier can only be used from within OpenCode

    I am not using OpenCode through any third-party application, proxy,
    API wrapper, reverse proxy, or external client. I am using the official
    OpenCode Desktop application directly.

    System Information

    Operating System: Windows 10
    Windows Version: 10.0.19045.6466
    OpenCode Desktop Version: 2.0.18
    Client: Official OpenCode Desktop App
    Installation Source: Official OpenCode website
    Models: OpenCode default/free models

    Steps to Reproduce

    1. Launch the official OpenCode Desktop application.
    2. Open an existing project/session.
    3. Select one of the default/free OpenCode models.
    4. Send a normal prompt to the model.
    5. The request fails with:

    Error from provider (Console): OpenCode's free tier can only be used from within OpenCode

    Expected Behavior

    The default/free models should work normally because the request is being
    made directly from the official OpenCode Desktop application.

    Actual Behavior

    The request is rejected with:

    Error from provider (Console): OpenCode's free tier can only be used from within OpenCode

    Additional Information

    The problem appeared suddenly. OpenCode and its default models were
    working normally before this issue started.

    I am not attempting to access the OpenCode free tier from an external
    application or third-party client.

  3. rossdonald commented on Oct 3, 2026

    @rossdonald

    I had the same error and ran this which fixed it:

    V2: opencode auth login opencode
    V1: opencode console login

    Probably need a free opencode account https://opencode.ai/zen

  4. ludogms commented on Oct 3, 2026

    @ludogms

    @rossdonald
    Exelent, the line for V2 wors for me, i asked for this error directly to OpenCode IA and anwsered me that this error is not detailed in the official documentation. With that lines the error have solved. Excuse me for my bad english.

  5. khaled-maruf commented on Oct 3, 2026

    @khaled-maruf

    okay,
    upgrading to opencode v2 solved it for me...

  6. sekedus commented on Oct 4, 2026

    @sekedus

    duplicate of #49433

  7. github-actions commented on Oct 6, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 72-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions