Skip to content

Sync models.json with current Command Code registry (55 models) - #19

Open
RigaOnTheRocks wants to merge 1 commit into
brent-weatherall:mainfrom
RigaOnTheRocks:update-models-2026-08
Open

Sync models.json with current Command Code registry (55 models)#19
RigaOnTheRocks wants to merge 1 commit into
brent-weatherall:mainfrom
RigaOnTheRocks:update-models-2026-08

Conversation

@RigaOnTheRocks

Copy link
Copy Markdown

Summary

Syncs models.json with Command Code's current model registry. The bundled catalog was stale at 21 models and missing several models the Command Code API serves (notably Qwen/Qwen3.7-Flash, which users keep hitting as "not recognized").

What changed

  • 55 models total (was 21), matching Command Code's current Available Models registry.
  • New models added:
    • Qwen: Qwen/Qwen3.7-Flash, Qwen/Qwen3.7-Plus, Qwen/Qwen3.8-Max
    • Google: google/gemini-3.6-flash, google/gemini-3.7-flash, google/gemini-3.5-flash-lite
    • Z AI: zai-org/GLM-5.2, zai-org/GLM-5.2-Fast, zai-org/GLM-5.3
    • Moonshot: moonshotai/Kimi-K2.7-Code, moonshotai/Kimi-K2.7-Code-Highspeed, moonshotai/Kimi-K3
    • MiniMax: MiniMaxAI/MiniMax-M3
    • xAI: xai/grok-4.5, xai/grok-4.6
    • Meta: meta/muse-spark-1.1, meta/muse-spark-1.2, meta/muse-spark-1.2-contributor
    • Thinking Machines: thinkingmachines/inkling, thinkingmachines/inkling-small
    • Xiaomi: xiaomi/mimo-v2.5, xiaomi/mimo-v2.5-pro
    • StepFun: stepfun/Step-3.7-Flash
    • Tencent: tencent/hy3-paid
    • Poolside: poolside/laguna-s-2.1-free
    • Sakana: sakana/fugu-ultra
    • Anthropic: claude-sonnet-5, claude-opus-5, claude-fable-5, claude-opus-4-8

Important detail

Command Code's /alpha/generate API is case-sensitive on model ids. The ids in this PR were verified live against https://api.commandcode.ai/alpha/generate — e.g. Qwen/Qwen3.7-Flash works but qwen/qwen3.7-flash returns 403 Model/provider not recognized. This is why the previous Qwen/Qwen3.7-Max entry used the exact capitalized form.

Verification

Each of the 55 ids was POSTed to api.commandcode.ai/alpha/generate with the plugin's request shape and confirmed to return a stream ({"type":"start"}). The resulting provider.commandcode.models block also loads correctly in opencode 1.18.x — all 55 show in opencode models commandcode.

Tip: this list will keep going stale. Consider running bun run sync on each Command Code release, or adding a CI job that opens a PR when models.json drifts.

Updates the model catalog to match Command Code's current registry:
- Adds Qwen3.7-Flash, Qwen3.8-Max, Qwen3.7-Plus
- Adds Gemini 3.6/3.7 Flash, GLM-5.2/5.2-Fast/5.3, Grok 4.5/4.6
- Adds Kimi-K2.7-Code/Highspeed, K3, Muse Spark 1.1/1.2, Inkling
- Adds MiniMax-M3, MiMo V2.5/Pro, Step-3.7-Flash, Hy3, Laguna S 2.1, Fugu
- Fixes case-sensitive ids verified against api.commandcode.ai (e.g. Qwen/Qwen3.7-Flash)
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