Skip to content

OpenCode's free tier can only be used from within OpenCode. Download it at https://opencode.ai and keep building. #55483

Closed as not planned

Description

@AspDotNetCP

Description

OpenCode's free tier can only be used from within OpenCode. Download it at https://opencode.ai and keep building.

Image

Plugins

_No

OpenCode version

Latest

Operating System

Window 11 Preview

Activity

  1. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    Contributor

    Thanks for the report! This error has several known causes, so we need a few more details to work out which one you're hitting:

    1. Version and platform: the exact output of opencode --version (or the version shown in the Desktop app), your operating system, and whether you use the Desktop app, the terminal (CLI) or the web, and how you installed it.
    2. Model: which free model you selected.
    3. When it happens: on the very first message of a new session, or partway through a conversation (for example when a subagent starts)? Did it work before, and if so, what changed?
    4. Agents and config: are you using the built-in build/plan agent or a custom agent? Do you have any tools or permissions set to deny? Does your opencode.json/opencode.jsonc define a custom provider pointing at https://opencode.ai/zen/v1? Another user on OpenCode's free tier can only be used from within OpenCode. Download it at https://opencode.ai and keep building. #55435 suggested that removing such an entry fixed it for them, so it's worth checking.

    You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.

    These existing issues may already cover your problem. The list is ordered from most to least likely:

  2. teenagestig commented on Oct 17, 2026

    @teenagestig

    Thanks for looking into this. Here are the details from my setup and the tests I've performed.

    1. OS and installation

    • OS: Arch Linux x86_64
    • Terminal: Kitty
    • Version: opencode v2.0.32
    • type -a opencode shows two binaries:
      • /home/theo/.opencode/bin/opencode — the first one in my PATH; not owned by pacman.
      • /usr/bin/opencode — owned by package opencode-beta 2.0.32-1.
    • Both binaries reproduce the same error.

    2. When it happens

    The error occurs immediately on the first request in a fresh opencode run invocation. It is not limited to compaction or a request partway through an existing session.

    3. Agent and permissions

    I normally use GLM 5.3 Flash. I also tested the built-in build agent explicitly:

    opencode run --agent build "Reply with exactly: OK"

    It fails with the same error.

    I searched ~/.config/opencode, ~/.local/share/opencode, ~/.opencode, and .opencode in my home directory for relevant permission and tool settings. Those searches returned no matches. I also found no opencode.ai/zen/v1 custom provider URL in the configuration locations checked.

    4. Login state

    opencode auth list reports:

    OpenCode Console Personal stored

    I ran opencode auth login opencode, and the OAuth flow completed successfully with Connected to OpenCode Console. However, the error persisted afterward.

    5. Other free models

    I tested:

    opencode run --model opencode/big-pickle "Reply with exactly: OK"

    It produces the same error. Therefore, the issue is not limited to my usual GLM model.

    The error persists after re-authentication, with both installed binaries, and when using the built-in build agent. Please let me know what additional diagnostics would help isolate the cause.

  3. opencode-agent commented on Oct 17, 2026

    @opencode-agent
    Contributor

    We're closing this issue for now because we haven't heard back. Without your OpenCode version, platform, model and when the error appears, we can't tell which of the known causes of this free-tier error you're hitting.

    If it still happens, please reply here with those details and we can reopen it. You can also check the related issues listed above (for example #55435, #55426 and #50627), since one of them may already cover your case. Thanks!

  4. niko4244 commented on Oct 18, 2026

    @niko4244

    Following up with what I found, including my own part in it.

    Environment: OpenCode Desktop 2.0.32 (current in the desktop update feed), Windows 11 Pro 26200, x64.

    What I had been running: until 2026-10-17 a local script on this machine sent free-tier requests through opencode acp on behalf of other tools, i.e. automated use outside the OpenCode app. I've now removed it completely: the bridge process is stopped and disabled, and nothing else on the machine calls OpenCode.

    Current state: clean reinstall of the official 2.0.32 desktop installer (SHA-512 matches the update feed), with every OpenCode config, data, state and cache folder moved away first. No config, no plugins, not logged in, built-in build agent.

    Result: every free model, even with a bare config, now returns a 403 FreeTierError saying the free models aren't available from this network because abusive traffic was detected from this IP address (not account-related). No VPN or proxy is in the path. Before the reinstall it was Free Model Gateway Detect Abuse Traffic, and before that free tier can only be used from within OpenCode.

    An earlier rejected request, for your logs:

    • x-opencode-log-id: a82df459-6b0a-4142-b543-d45ec64da93a
    • cf-ray: a4c12ff8f8bae417-ORD
    • 2026-10-17 17:57:44 UTC, POST https://opencode.ai/inference/openai/v1/chat/completions

    I understand why the flag was set. Now that the automated traffic has stopped, could you tell me whether the block expires on its own, and roughly when, or whether it has to be lifted manually?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions