Skip to content

opencode saying "Error from provider (Console): OpenCode's free tier can only be used from within OpenCode" when you try to compact #49589

Closed as duplicate

Description

@not1emerald

Description

so i ran into compaction and got that error. yes im on normal opencode not a fork not anything and no plugins. while a new chat with no compaction works fine no error. hopefully this gets fixed ### SOON so hopefully this helps with figuring out how to fix this annoying thing

Plugins

no plugins

OpenCode version

1.18.31

Steps to reproduce

  1. open a chat
  2. say something
  3. run /compact or hit the compaction thing
  4. done!

Screenshot and/or share link

Image

Operating System

cachyos

Terminal

Konsole

Activity

  1. github-actions commented on Sep 17, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from those, please add details explaining how it differs.

  2. rekram1-node commented on Sep 18, 2026

    @rekram1-node
    Collaborator

    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

  3. matiasmasca commented on Sep 18, 2026

    @matiasmasca

    same error here, only usigin your CLI; I have to start a new session, and it works again.

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