GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error from provider (Console): OpenCode's free tier can only be used from within OpenCode · Issue #49680 · anomalyco/opencode

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Error from provider (Console): OpenCode's free tier can only be used from within OpenCode#49680
Copy link

Description

@kmtech183
kmtech183
opened on Sep 18, 2026
Issue body actions

Hello,

I am getting below Error while using code from the Open code GUI.
Error >> Error from provider (Console): OpenCode's free tier can only be used from within OpenCode

Kindly look into this issue and resolve it ASAP.

Reacted by danparisi, zjz1525, yp, shivansh.who, Erkan, Virak, Atikur Rahman Chitholian, firengate, Peyman Ahmadi and Dhruv Bhardwaj

Activity

  1. anomalic1 commented on Sep 18, 2026

    @anomalic1
    anomalic1
    on Sep 18, 2026
    More actions

    You cannot do anything about it, they broke it fully even on OpenCode terminal its not working, they are not taking this issue seriously

    Happened to me even on MacOs

  2. kmtech183 commented on Sep 18, 2026

    @kmtech183
    kmtech183
    on Sep 18, 2026
    Author
    More actions

    Is this issue still coming to you Or have you find any working solution ?

  3. danparisi commented on Sep 18, 2026

    @danparisi
    danparisi
    on Sep 18, 2026
    More actions

    Same for me, in opencode web

  4. sekedus commented on Sep 18, 2026

    @sekedus
    sekedus
    on Sep 18, 2026
    More actions

    OpenCode Zen free models free tier can only be used from within OpenCode, workaround:

    1. Check installation

    Make sure the installed opencode is an official release, not a pre-release or development release.

    run:

    opencode --version
    

    2. Update opencode terminal

    1. update opencode terminal to latest version.
    2. make sure that no opencode tools are disabled.
    3. start a new session.

    3. Allow tools permission

    1. open opencode global config file:

      • macOS/Linux: ~/.config/opencode/opencode.jsonc (or ~/.config/opencode/opencode.json)
        macOS/Linux (older installs): ~/.local/share/opencode/opencode.jsonc
      • Windows: Press WIN+R and paste %USERPROFILE%\.config\opencode\opencode.jsonc
    2. set permissions & save:

      v1:

      {  
        "$schema": "https://opencode.ai/config.json",  
        "permission": {  
          "bash": "allow",  
          "glob": "allow",  
          "grep": "allow",  
          "read": "allow"  
        }  
      }

      v2:

      {
        "$schema": "https://opencode.ai/config.json",
        "permissions": [
          { "action": "shell", "resource": "*", "effect": "allow" },
          { "action": "glob", "resource": "*", "effect": "allow" },
          { "action": "grep", "resource": "*", "effect": "allow" },
          { "action": "read", "resource": "*", "effect": "allow" }
        ]
      }
    3. close & rerun opencode terminal.

    4. start a new session.


    Important

    for custom agent/subagent, these 4 tools must be allowed:

    • v1: bash, glob, grep, & read . ref.
    • v2: shell, glob, grep, & read . ref.

    opencode agent create uses the last model you used, so make sure it isn’t a free model.

    Note

    If plan mode still doesn’t work, allow 4 tools for plan mode in opencode.jsonc:

    v1:

    {
      "$schema": "https://opencode.ai/config.json",
      "agent": {
        "plan": {
          "permission": {
            "bash": "allow",
            "glob": "allow",
            "grep": "allow",
            "read": "allow"
          }
        }
      }
    }

    v2:

    {
      "$schema": "https://opencode.ai/config.json",
      "agents": {
        "plan": {
          "permissions": [
            { "action": "shell", "resource": "*", "effect": "allow" },
            { "action": "glob", "resource": "*", "effect": "allow" },
            { "action": "grep", "resource": "*", "effect": "allow" },
            { "action": "read", "resource": "*", "effect": "allow" }
          ]
        }
      }
    }

    4. Re-login

    # logout
    opencode auth logout opencode
    
    # login
    opencode auth login --provider opencode
    

    5. Disable vpn or proxy


    6. Disable/remove all opencode plugin


    7. Re-install

    If it still doesn't work, try uninstall & re-install opencode terminal.


    8. Test with IPv4 & IPv6 separately

    If test result with IPv4 and IPv6 is 403 FreeTierError, your IP is likely blocked/banned/restricted.



    opencode web v1.18.32:

    opencode web



    opencode pair v2.0.29:

    opencode pair
  5. youssefchadi commented on Sep 18, 2026

    @youssefchadi
    youssefchadi
    on Sep 18, 2026
    More actions
    Image
  6. anomalic1 commented on Sep 19, 2026

    @anomalic1
    anomalic1
    on Sep 19, 2026
    More actions

    workaround:

    1. update opencode terminal to latest version.
    2. make sure that no opencode tools are disabled.
    3. start a new session.

    opencode web:

    Image

    Same issue whatsoever

  7. Hdiaktoros commented on Sep 22, 2026

    @Hdiaktoros
    Hdiaktoros
    on Sep 22, 2026
    More actions

    Possibly related data point: I hit this same error on a custom subagent (not compaction/title, but a "Critic" subagent invoked mid-session by an orchestrator) and found a workaround.

    My subagent's frontmatter originally had:

    mode: subagent
    permission:
      edit:
        "*": deny
      bash:
        "*": deny

    Every call to this subagent failed with Error from provider (Console): OpenCode's free tier can only be used from within OpenCode, while normal build-agent requests in the same session worked fine, matching what's reported here for agent=compaction / agent=title.

    Removing the permission block entirely fixed it:

    mode: subagent

    Same subagent, same prompt, same model, only the permission block removed. This suggests the Console provider's "within OpenCode" check may be keying off something in how permission-restricted/background-style agent calls are routed or tagged, since compaction and title generation are also non-interactive background calls. Might be worth checking if forcing permission: {} or similar on those internal agents works around it too, until this is fixed properly.

    Reacted by Sekedus and w3struk
  8. peymanahmadi commented on Oct 17, 2026

    @peymanahmadi
    peymanahmadi
    on Oct 17, 2026
    More actions

    Experiencing this exact issue on v2.0.32 (Windows & Linux).

    Environment:
    OS: Windows 11 (MINGW64) and Linux
    OpenCode Version: v2.0.32 (also downgraded to v1.18.28, issue persists)
    Configuration: Clean opencode.jsonc (no custom agents, no restrictive permissions).

    Steps to reproduce:
    Launch OpenCode TUI.
    Use built-in build agent.
    Select DeepSeek V4.1 Flash Free.

    Send a prompt.
    Error: Error: OpenCode's free tier can only be used from within OpenCode.

    What I've tried:
    Re-authenticated via opencode auth login (OpenCode Zen).
    Tested on both Windows and a separate Linux machine (same error).
    Downgraded from v2 to v1.18.28 (same error).

    Verified no permission blocks are restricting bash, glob, grep, or read.

    This seems to confirm the server-side gatekeeper is misclassifying standard requests. Is there an ETA on a fix, or any specific configuration workaround for users with a clean setup?

    Reacted by Virgile Lafontaine, Kimoloplr, Spike, LeLuCh B0й, wizziwig, firengate, Jason De Lara, bryndin, shivansh.who and Yijun
  9. anomalic1 commented on Oct 18, 2026

    @anomalic1
    anomalic1
    on Oct 18, 2026
    More actions

    Experiencing this exact issue on v2.0.32 (Windows & Linux).

    Environment:
    OS: Windows 11 (MINGW64) and Linux
    OpenCode Version: v2.0.32 (also downgraded to v1.18.28, issue persists)
    Configuration: Clean opencode.jsonc (no custom agents, no restrictive permissions).

    Steps to reproduce:
    Launch OpenCode TUI.
    Use built-in build agent.
    Select DeepSeek V4.1 Flash Free.

    Send a prompt.
    Error: Error: OpenCode's free tier can only be used from within OpenCode.

    What I've tried:
    Re-authenticated via opencode auth login (OpenCode Zen).
    Tested on both Windows and a separate Linux machine (same error).
    Downgraded from v2 to v1.18.28 (same error).

    Verified no permission blocks are restricting bash, glob, grep, or read.

    This seems to confirm the server-side gatekeeper is misclassifying standard requests. Is there an ETA on a fix, or any specific configuration workaround for users with a clean setup?

    Opencode would certainly ignore this bug considering they are having paid API response cutoffs and whatnot on claude and false charges made on my account too.

    Opencode free tier bug persists on both CLI and GUI regardless of the latest version being utilised.

  10. Tarquinen commented on Oct 20, 2026

    @Tarquinen
    Tarquinen
    on Oct 20, 2026
    Member
    More actions

    Duplicate of #49678, please track the progress there

  11. Tarquinen
    closed this as completedon Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.