Skip to content

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

Closed

Description

@doesitmaterter

On version v1.18.31 for windows Desktop App (x64) every message get this error. Things that i already tried:

1.Editing the json file or creating one in the workfolder
{
"$schema": "https://opencode.ai/config.json",
"compaction": {
"auto": false
}
}
2.Tried to downgrade OpenCode to version 1.18.28 but failed because i think it auto updated

Not using any plugins or changed any files

Sorry for creating a duplicated issue and i know that you guys been "tightening our logic to fight abuse" maybe an account login system would fix that?

Image

Activity

  1. JayPe69 commented on Sep 22, 2026

    @JayPe69

    Launch :

    opencode uninstall
    

    Then install opencode 1.18.28

    Then add autoupdate false in your global opencode config

    {
      "$schema": "https://opencode.ai/config.json",
      ....
      "autoupdate": false,
      ....
    
  2. sekedus commented on Sep 22, 2026

    @sekedus

    duplicate of #49433

  3. doesitmaterter commented on Sep 23, 2026

    @doesitmaterter
    Author

    unfortunately new update didn't fixed this issue (v1.18.32)
    i will try JayPe69's method

    Image
  4. doesitmaterter commented on Sep 28, 2026

    @doesitmaterter
    Author

    new update (v1.18.33) except for space bunny we still get the same error which is weird.

    Image
  5. doesitmaterter commented on Oct 1, 2026

    @doesitmaterter
    Author

    new update (v1.18.34) except for space bunny we still get the same error

    Image
  6. doesitmaterter commented on Oct 6, 2026

    @doesitmaterter
    Author

    i think i finally figure it out.( thanks to ChatGPT )

    -shutdown OpenCode
    -delete any .json file you created
    -go to %USERPROFILE%.config\opencode\ and cut the opencode.jsonc somewhere else then put the file back
    -create an empty folder
    -open OpenCode and start a new session with the new empty folder you created
    -on plan mode type anything and it should work

    Image

    other sessions are also working (for me) which is very nice because i was in the middle of something.
    i would suggest everyone to stop the auto updates by using the JayPe69 method

    -shutdown OpenCode
    -go to %USERPROFILE%.config\opencode\ and open the opencode.jsonc with a text editor (Notepad++ ) and do this

    {
    "$schema": "https://opencode.ai/config.json",
    "autoupdate": false
    }
    save it and if current version stops working or you enconter a bug you can just return it to original version and update OpenCode

  7. gramnaters commented on Oct 18, 2026

    @gramnaters

    tried this, still doesnt work

  8. doesitmaterter commented on Oct 18, 2026

    @doesitmaterter
    Author

    12. tried this, still doesnt work

    do you have a modified json file if you do change it's name and re-try it . opencode doesn't like some of the commands.

  9. gramnaters commented on Oct 18, 2026

    @gramnaters

    13. > 12. tried this, still doesnt work

     do you have a modified json file if you do change it's name and re-try it . opencode doesn't like some of the commands.
    

    in the user configfolder, there is opencode.jsonc file , i tried renamig, changing locatgion putting back, it doesnt work, it runs the model once in a while but after that it goes to error everywhere

  10. doesitmaterter commented on Oct 18, 2026

    @doesitmaterter
    Author

    14. > 13. > 12. tried this, still doesnt work
    > > do you have a modified json file if you do change it's name and re-try it . opencode doesn't like some of the commands. >

     in the user configfolder, there is  opencode.jsonc file , i tried renamig, changing locatgion putting back, it doesnt work, it runs the model once in a while but after that it goes to error everywhere
    

    let's try one more thing and if that doesn't fix it you should open up a new issue or ask someone else maybe ai.

    -shutdown opencode
    -open the opencode.jsonc file
    -Copy the contents of the file into a text file as a backup, then
    -paste this, save it, and try again.
    {
    "$schema": "https://opencode.ai/config.json"
    }

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