Skip to content

Error from provider (Console): OpenCode's free tier can only be used from within OpenCode (Desktop app v1.18.31) #49588

Closed as duplicate

Description

@WoGooD

Description

Using the OpenCode Desktop app, every request to the built-in opencode Console provider fails with:

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

The error appears for the default free-tier model (opencode/big-pickle) in the main build agent as well as the internal title and compaction agents (small model too). It started today (2026-09-17) and all requests fail consistently; nothing on the machine was changed before the failures began.

Plugins

No custom plugins. Global config (~/.config/opencode/opencode.json) only defines an ollama provider and one local MCP server.

OpenCode version

  • OpenCode Desktop app: 1.18.31 (C:\Users\skogarev_ds\AppData\Local\Programs\@opencode-aidesktop\OpenCode.exe)
  • Env: OPENCODE_CLIENT=desktop
  • OS: Windows (win32), node v24.20.0

Steps to reproduce

  1. Open a project in the OpenCode Desktop app.
  2. Send any message using the default Console provider (opencode/big-pickle).
  3. Receive Error from provider (Console): OpenCode's free tier can only be used from within OpenCode.

Log excerpt (from %USERPROFILE%\.local\share\opencode\log\opencode.log)

17 ERROR entries on 2026-09-17, e.g.:

timestamp=2026-09-17T16:46:28.591Z level=ERROR run=42257ef7 message="stream error" providerID=opencode modelID=big-pickle session.id=ses_f506f2926ffeajiIBWSZU8fR5b small=false agent=compaction mode=primary error.error="AI_APICallError: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode"
timestamp=2026-09-17T17:12:35.760Z level=ERROR run=42257ef7 message="stream error" providerID=opencode modelID=big-pickle session.id=ses_f4fa4e85cffeu29MeJ37eQT27Y small=true agent=title mode=primary error.error="AI_APICallError: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode"

Full error stack:

AI_APICallError: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode
    at postToApi23 (...app.asar/out/main/chunks/node-....js:710783:14)
    at OpenAICompatibleChatLanguageModel4.doStream (...node-....js:711671:52)

That it is a server-side rejection (not a config/auth issue on my side): I confirmed my requests carry the desktop client context and the config does not override the Console provider. Given the number of identical reports filed today (#49579, #49533, #49438), this looks like a mass regression with the free tier.

Screenshot and/or share link

No screenshot.

Operating System

Windows (win32), OpenCode Desktop app v1.18.31.

Terminal

Not applicable — Desktop app.

Activity

  1. github-actions commented on Sep 17, 2026

    @github-actions
    Contributor

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

    You've already referenced these in your report, which is great. If the issue is already being tracked in one of those threads, this one may be closed as a duplicate.

  2. WoGooD commented on Sep 17, 2026

    @WoGooD
    Author

    Additional details from the same machine (OpenCode Desktop v1.18.31, Windows):

    • Full log excerpt (first + last errors, complete stack traces, session IDs): https://gist.github.com/WoGooD/989f91f176990fc4059fe33d87567c70
    • 17 ERROR entries between 16:46 and 17:12 UTC on 2026-09-17, all identical.
    • The error hits not only the main agent but also internal title (small model) and compaction agents.
    • The full backend stack, taken verbatim from the log:
    AI_APICallError: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode
        at postToApi23 (file:///C:/Users/skogarev_ds/AppData/Local/Programs/@opencode-aidesktop/resources/app.asar/out/main/chunks/node-Cc1MVJxA.js:710783:14)
        at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
        at async postToApi23 (.../node-Cc1MVJxA.js:710711:28)
        at async OpenAICompatibleChatLanguageModel4.doStream (.../node-Cc1MVJxA.js:711671:52)
        at async fn (.../node-Cc1MVJxA.js:435339:25)
        at async _retryWithExponentialBackoff (.../node-Cc1MVJxA.js:431277:12)
        at async streamStep (.../node-Cc1MVJxA.js:435302:17)
    

    Confirms the rejection happens on the OpenAI-compatible API call (postToApi23), i.e. server-side, before any model output returns.

  3. ZAZPRO commented on Sep 17, 2026

    @ZAZPRO

    Same error, opencode 1.18.31

  4. soulinker commented on Sep 17, 2026

    @soulinker

    happens only during compaction

  5. nuno-cunha-dev commented on Sep 17, 2026

    @nuno-cunha-dev

    For me it happens on every single prompt, already tried with other free models.

    I also tried to downgrade and adding

    "compaction": {
        "auto": false
      }
    

    into the config file, as other users already said, but still not working.

  6. rekram1-node commented on Sep 18, 2026

    @rekram1-node
    Contributor

    We've been tightening our logic to fight abuse, we did temporarily have an issue where compaction was impacted and marked as not from OpenCode it has been resolved. You cannot use the free tier in other harnesses (this is only a limitation for the free tier nothing else). The logic in place may not work properly if you have a very custom setup. If that is the case can you tell us more about your setup?

  7. ArkadyKiller commented on Sep 19, 2026

    @ArkadyKiller

    I managed to bypass this limitation: “error from provider (console): opencodes free tier can only be used from within opencode.” I specifically checked the auto‑training of my model, and everything worked out. No interruptions or restrictions. However, I’ll sell this method for $1. Because I’m working on a very interesting project that will take the world’s technology to a new level. I still need to refine my mechanism, and I’m short about $100. So I also need a little help. Write to me in private messages. Let’s discuss.

  8. tekayuaintharason-sys commented on Oct 3, 2026

    @tekayuaintharason-sys

    me too

  9. tekayuaintharason-sys commented on Oct 3, 2026

    @tekayuaintharason-sys

    me too

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