opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Chutes AI is not using updated models

Open devslimbr opened this issue 2 weeks ago • 7 comments

Description

Chutes AI does not appear to be using or displaying the latest updated models. When I start OpenCode and search for the model “Devstral 2 123B Instruct 2512”, it does not appear in the list. However, when testing the same workflow in Roocode, the model is available normally.

I also tried running --refresh to force the model list update, but the issue persists.

OpenCode version

1.0.43

Steps to reproduce

  1. Start opencode.
  2. Search for the model Devstral 2 123B Instruct 2512 in Chutes.
  3. Model does not appear.

Notice that the model appears correctly in Roocode.

Screenshot and/or share link

No response

Operating System

WSL Windows 11

Terminal

Windows Terminal

devslimbr avatar Dec 11 '25 04:12 devslimbr

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

  • #4734: [FEATURE]: Refresh models manually - Documents that users must manually clear cache to see latest models
  • #4493: Gemini 3 is not listed in openrouter available models - Similar issue with models not appearing in list
  • #4463: [FEATURE]: Github Copilot Gemini 3 Pro - Similar problem with model availability
  • #2961: Models not showing up in list (referenced in #4734)
  • #2047: LM Studio Failure to refresh models - Models not refreshing without cache clear
  • #2456: Lmstudio Models are not listed correctly - Related to model list refresh issues

The core issue appears to be that model lists are cached and there's no UI way to refresh them. Users are currently directed to manually delete ~/.cache/opencode/models.json to see newly available models, which is not a good user experience.

Feel free to ignore if these don't address your specific case, but these all seem related to the model caching/refresh behavior you're experiencing.

github-actions[bot] avatar Dec 11 '25 04:12 github-actions[bot]

This is a models.dev issue, since that's where opencode retrieves its models list from. Please submit the issue on the models.dev repo here: https://github.com/sst/models.dev

ariane-emory avatar Dec 11 '25 06:12 ariane-emory

they can be submitted either place, it's alright thank u tho!

rekram1-node avatar Dec 11 '25 06:12 rekram1-node

Today the model showed up, but it gives this error.

Bad Request: {"detail":"Invalid request: Invalid request: {"detail":{"object":"error","message":"Only user, assistant and tool roles are supported, got system.","type":"400","param":null,"code":400}}"}

devslimbr avatar Dec 11 '25 16:12 devslimbr

ill fix that

rekram1-node avatar Dec 11 '25 20:12 rekram1-node

The core issue appears to be that model lists are cached and there's no UI way to refresh them. Users are currently directed to manually delete ~/.cache/opencode/models.json to see newly available models, which is not a good user experience.

This small hack actually worked for me.

slouffka avatar Dec 14 '25 08:12 slouffka

@slouffka Huh, the opencode models --refresh command didn't handle that for you? If not, it probably should.

ariane-emory avatar Dec 14 '25 08:12 ariane-emory

@slouffka Huh, the opencode models --refresh command didn't handle that for you? If not, it probably should.

Maybe, I scrolled down too fast to notice :D Seems like the mention of models cache was just easier to spot.

slouffka avatar Dec 15 '25 23:12 slouffka

Also https://opencode.ai/docs/cli/#models does not have any mention of --refresh flag.

opencode models --help this one has btw

slouffka avatar Dec 15 '25 23:12 slouffka

/oc use docs agent update cli.mdx models section to document the --refresh flag. Read cmd/models.ts for reference

rekram1-node avatar Dec 15 '25 23:12 rekram1-node

Created PR #5596

New%20session%20-%202025-12-15T23%3A44%3A36.001Z opencode session  |  github run

opencode-agent[bot] avatar Dec 15 '25 23:12 opencode-agent[bot]