Skip to content

Free tier: agent=compaction and agent=title fail with "free tier can only be used from within OpenCode"; agent=build works #49592

Closed as duplicate

Description

@GoLiveHub

Description

On the Zen free tier (provider "opencode", model opencode/big-pickle), normal dialog requests (agent=build) work consistently, but background requests fail within ~1 second with:

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

Reproduced in DEBUG logs, same client/process, seconds apart from successful build requests:

  • agent=title (session title generation) — fails on every new session
  • agent=compaction (auto-compaction when context is nearly full) — fails

Impact: auto-compaction never succeeds, so long sessions eventually hit the context limit and stop working. This breaks long multi-session work.

Plugins

./error-logger.js (local, only writes logs; does not touch requests/headers).

OpenCode version

1.18.31 (official release) — OpenCode Desktop and npm CLI; reproduces on both.

Steps to reproduce

  1. Use the Zen free tier: provider "opencode", model opencode/big-pickle (default config, no header/baseURL overrides).
  2. Start a new session → title generation (agent=title) fails within ~1s.
  3. Grow a session until auto-compaction triggers → agent=compaction fails with the same error.
  4. Run a normal message (agent=build) to the same provider/model → succeeds.

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

OpenCode Desktop (UI); Windows Terminal / PowerShell 7 for CLI tests

Activity

  1. github-actions commented on Sep 17, 2026

    @github-actions
    Contributor

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

    There appear to be many reports of this error today — it may be a widespread regression rather than an individual configuration issue.

  2. 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.

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