Skip to content

longcat-2.5-preview-free is advertised as unltimited but can't be used #58133

Closed

Description

@LESdylan

Description

  • Docs: Docs: https://opencode.ai/v2/docs/console/go/ lists longcat-2.5-preview-free as "Unlimited / Unlimited (limited time)" for Go and Go Plus.
  • Not in the client: opencode v2.0.18 doesn't list it under opencode-go. opencode run -m opencode-go/longcat-2.5-preview-free fails within a second with Error: Model unavailable: opencode-go/longcat-2.5-preview-free.
  • Catalog: models.dev marks the model "status": "deprecated", with release date 2026-09-25.
  • Control: in the same session with the same Go login, opencode-go/beam-free and opencode-go/minimax-m3.1-flash-free both answered.
  • Ask: either restore the endpoint, or remove it from the Go page's unlimited list

Plugins

No response

OpenCode version

2.0.18

Steps to reproduce

No response

Screenshot

No response

Operating System

No response

Terminal

No response

Activity

  1. opencode-agent commented on Oct 22, 2026

    @opencode-agent
    Contributor

    Thanks for the clear report, @LESdylan. I can confirm it.

    • On 2.0.18, opencode run -m opencode-go/longcat-2.5-preview-free fails immediately with Model unavailable: opencode-go/longcat-2.5-preview-free, before any request is sent. opencode-go/beam-free is still recognised and goes through to the gateway.
    • The reason is that models.dev now marks longcat-2.5-preview-free as deprecated, and the client hides deprecated models on purpose. That part is working as designed.
    • The Go docs page (https://opencode.ai/v2/docs/console/go/) still lists LongCat 2.5 Preview Free as Unlimited (limited time) for Go and Go Plus. The current dev source (e965774) still has it in the Go docs, the models docs and the console Go page.

    I got the same result on the latest release, 2.1.3. I couldn't check whether the gateway itself still serves the model, because that needs a real Go account. Whether the endpoint comes back or the docs are updated is up to the team. The script below reproduces the client error and the docs mismatch.

    Related issues (outages rather than retirement): #52341, #55607, #52288.

    Reproduction script (repro.sh)
    #!/usr/bin/env bash
    # Reproduces #58133: opencode-go/longcat-2.5-preview-free is rejected by the
    # client (deprecated in models.dev) while the Go docs still advertise it.
    # Usage: ./repro.sh            -> uses `opencode` from PATH (e.g. @opencode/[email protected])
    #        OC_DEV=/path/to/repo ./repro.sh -> runs the CLI from a source checkout
    set -u
    if [ -n "${OC_DEV:-}" ]; then
      oc() { bun --conditions=browser --preload="$OC_DEV/packages/tui/node_modules/@opentui/solid/scripts/preload.js" "$OC_DEV/packages/cli/src/index.ts" "$@"; }
    else
      oc() { opencode "$@"; }
    fi
    proj=$(mktemp -d); cd "$proj"
    echo "== version"; oc --version
    echo "== models.dev status"
    curl -s https://models.dev/api.json | python3 -c '
    import json,sys; d=json.load(sys.stdin)
    for p in ["opencode-go","opencode"]:
        m=d[p]["models"].get("longcat-2.5-preview-free"); print(p, m and m.get("status"))'
    echo "== Go docs page still lists it:"
    curl -sL https://opencode.ai/v2/docs/console/go/ | grep -oi "longcat 2.5 preview free" | wc -l
    echo "== longcat-2.5-preview-free (fake key; fails locally before any request)"
    OPENCODE_API_KEY=fake oc run --standalone -m opencode-go/longcat-2.5-preview-free hi 2>&1 | tail -1
    echo "== control: beam-free (fake key; reaches the gateway, rejected for credentials)"
    OPENCODE_API_KEY=fake oc run --standalone -m opencode-go/beam-free hi 2>&1 | tail -1

    Run it: bash repro.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions