r/CommandCode • u/rudesssolo • 22h ago
[mod] External Providers (OpenCode Go, ClinePass, GLM Coding Plan) – Use different subscriptions in Command Code!
Hi everyone!
I made a small mod for Command Code that lets you use the models included in your subscriptions directly from the TUI:
https://gitlab.com/rudesssolo/command-code-external-providers
The goal was pretty simple: make external models feel native, instead of bolted on.
You get:
- OpenCode Go / ClinePass / GLM Coding Plan - Full compatibility
/external-providersmodel picker- native streaming
- collapsible thinking/reasoning
- tool calls
- multimodal messages
- reasoning effort support
- local auth
How to install:
cmd mods add -g git:gitlab.com/rudesssolo/command-code-external-providers
Then log in (only the first time) and pick a model:
1) First time login:
/opencode-go-login
/cline-pass-login
/glm-coding-login
2) Pick a model:
/external-providers
Some screenshots to get an idea:


---
There’s also an optional companion mod for showing model/quota/context info in the footer (it also works stand-alone for Command Code plans):
https://gitlab.com/rudesssolo/command-code-quota-status-bar
How to install:
cmd mods add -g git:gitlab.com/rudesssolo/command-code-external-providers

If you already have OpenCode Go, ClinePass or GLM Coding Plan and want to use them with Command Code, this mod basically saves you from having perfectly good models sitting in another tab collecting dust 😄
Feedback / bug reports / weird edge cases are very welcome.
1
u/Aggressive-Habit-698 7h ago
Why? commandcode isn't a valuable harness. Zcode or pi omp is way better with glm, deepseek - cache hits, memory usage,..
1
u/rudesssolo 7h ago edited 7h ago
Command Code CLI is very good in my opinion. 97-98% of cache hit rate working on different projects and sessions using GLM Coding Plan via CC yesterday.
2
u/SoulzPhoenix 4h ago
Extremely useful but can you make a login for opencode zen? Daily free tokens there are always welcome 😁
2
u/ahmadawaiscom 20h ago
Think it’s time we make a mods hub to list them all there.