Skip to content

Refresh OpenCode model pricing and endpoint routing - #46

Merged
grikomsn merged 3 commits into
mainfrom
resync/models-2026-10-02
Oct 2, 2026
Merged

grikomsn merged 3 commits into
mainfrom
resync/models-2026-10-02

Conversation

@grikomsn

@grikomsn grikomsn commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Corrects the offline Go fallback rate for deepseek-v4-flash from $0.22 / $0.007 / $0.66 to the current models.dev opencode-go rate of $0.15 / $0.003 / $0.60. Live discovery still wins whenever it reports a cost.
  • Widens endpoint routing from version-pinned regexes to the whole grok* and qwen* families. Every live model of both families is served as responses or messages, and models.dev omits the npm package name for some of them (qwen3.8-max), which previously was the only routing signal. Zen minimax stays on chat completions on purpose.

No new supplemental metadata entries were needed: the authenticated ids missing from models.dev were already mirrored, and ids with no upstream data stay unenriched rather than guessed.

Test plan

  • npm test
  • Send one short Go request to qwen3.8-max and grok-4.7 and confirm the native endpoint shape

Correct the offline DeepSeek V4 Flash rate to the published Go price and
route every Grok and Qwen model id to its family endpoint, so new ids stay
correctly routed when models.dev omits a package name.
@grikomsn
grikomsn merged commit 8815699 into main Oct 2, 2026
3 checks passed
@grikomsn
grikomsn deleted the resync/models-2026-10-02 branch October 2, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant