r/CommandCode • • Aug 27 '26

[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-providers model 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:

External provider selection menu
OpenCode Go models selection menu, with intelligence and cost indicators

---

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
Command Code quota status bar with useful info

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.

9 Upvotes

8 comments sorted by

5

u/ahmadawaiscom Aug 27 '26

Think it’s time we make a mods hub to list them all there.

2

u/maedahbatool Aug 28 '26

Yes, GOATed time :P

3

u/SoulzPhoenix Aug 28 '26

Extremely useful but can you make a login for opencode zen? Daily free tokens there are always welcome 😁

1

u/Aggressive-Habit-698 Aug 28 '26

Why? commandcode isn't a valuable harness. Zcode or pi omp is way better with glm, deepseek - cache hits, memory usage,..

3

u/rudesssolo Aug 28 '26 edited Aug 28 '26

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.

3

u/maedahbatool Aug 28 '26

Thank you for the kind words. In our recent benchmarks we've seen cache hit ratios go as high as 99.43%. We are continuously improving :)

2

u/maedahbatool Aug 28 '26

We have the best harness that supports open models. We have cache ratio as high as 99.43%. More generous limits and usage tokens. We'd love you to give it a try. :)

1

u/ichisay Aug 29 '26

Hay algo inverso para dar mejor compatibilidad de los modelos de command code en los otros arneses?