You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
longcat-2.5-preview-free is advertised as unltimited but can't be used #58133
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
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.
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 checkoutset -u
if [ -n"${OC_DEV:-}" ];thenoc() { bun --conditions=browser --preload="$OC_DEV/packages/tui/node_modules/@opentui/solid/scripts/preload.js""$OC_DEV/packages/cli/src/index.ts""$@"; }
elseoc() { 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
Activity
opencode-agent commentedon Oct 22, 2026
Thanks for the clear report, @LESdylan. I can confirm it.
opencode run -m opencode-go/longcat-2.5-preview-freefails immediately withModel unavailable: opencode-go/longcat-2.5-preview-free, before any request is sent.opencode-go/beam-freeis still recognised and goes through to the gateway.longcat-2.5-preview-freeasdeprecated, and the client hides deprecated models on purpose. That part is working as designed.devsource (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)
Run it:
bash repro.sh