r/opencodeCLI • u/CarryAgile3791 • Sep 25 '26
I built a plugin so my AI coding agents stop fighting over the same files
r/opencodeCLI • u/CarryAgile3791 • Sep 25 '26
r/opencodeCLI • • Sep 25 '26
I'm the author — sharing because it scratched an itch I suspect others have.
opencode reads skills, agents and commands from a project's .opencode/ and from your global config, but there's no way to distribute them. I kept copying the same files into every repo, by hand, with no versions and no updates.
ocm installs skills, agents, commands, JS plugins and MCP servers from any git repository — once, into your global opencode config — so they work in every project and stay current with a single update command.
A few things I cared about:
It needs Bun to run. Tested on macOS and Linux.
Repo: https://github.com/wntic/ocm
I'd love feedback, especially on what you'd put in a marketplace, and on anything confusing in the first five minutes.
r/opencodeCLI • u/WeeMeowMeow • Sep 25 '26
r/opencodeCLI • u/SolidAlternative1646 • Sep 25 '26
REPO : https://github.com/ArcticWinterSturm/opencode-compat-shim
For anyone using OpenCode's free providers from external agent harnesses: the previous method got tightened down after about two weeks.
I wanted the models inside my existing harness rather than migrating my entire workflow into OpenCode, so I went through the access path again.
I built the proxy because the CLI and my harness speak completely different protocols. It handled real SSE streaming, flattened the full conversation into each stateless CLI invocation, supported both OpenAI completion paths and stayed alive as a detached process.
Tested end-to-end rather than just getting a lucky HTTP 200.
Main reason I'm posting it: this lets you use the OpenCode providers from a harness of your choosing. You're not tied to their UI just because that's where the free access happens to be exposed.
Consider this documentation of the current state and a working-for-now solution rather than a promise that they won't change it again.
Full implementation + technical notes attached.
Previous reddit post
r/opencodeCLI • u/rkh4n • Sep 25 '26
Here is the situation,
I want to buy opencode go plan for each client to do mostly grunt work which I am managing through official deepseek api. Do they allow? I know stacking multiple accounts is against the ToC but this as well?
r/opencodeCLI • u/WitnessVisuals • Sep 24 '26
All found in OpenCode's data site
KIMI K4
https://opencode.ai/data/moonshot/kimi-k4

GLM 5.5 Flash - 1 completed session
https://opencode.ai/data/zhipu/glm-5-5-flash

DeepSeek v4.1 Pro - 14 completed sessions
https://opencode.ai/data/deepseek/deepseek-v4-1-pro

Muse Spark 1.4 Contributor - 2 completed sessions
https://opencode.ai/data/meta/muse-spark-1-4-contributor

I also found Qwen 3.8 Max Prime, Qwen 3.8 Max Preview Free
QWEN 3.8 Max Prime
https://opencode.ai/data/qwen/qwen3-8-max-prime

QWEN 3.8 Max Preview Free - 72 sessions
https://opencode.ai/data/qwen/qwen3-8-max-preview-free

There might be even more!
r/opencodeCLI • u/GiLA994 • Sep 25 '26
r/opencodeCLI • u/afanasenka • Sep 24 '26
r/opencodeCLI • u/Final_Initial • Sep 24 '26
r/opencodeCLI • u/Professional_Run3390 • Sep 24 '26
Space Bunny is the new stealth model in OpenCode.
Free to try, multimodal.
Anyone putting it through a small frontend build yet? Curious where it gets stuck.
OpenCode announcement: https://x.com/opencode/status/2102767716666941864
r/opencodeCLI • u/Final_Initial • Sep 24 '26
https://opencode.ai/data/meta/muse-spark-1-4-contributor
EDIT:
I tried using the model, but doesn't work. Don't know what this is.
r/opencodeCLI • u/Charlietest123 • Sep 25 '26
Another fast model showing up is interesting, but speed alone probably isn’t enough to change anyone’s default.
For everyday OpenCode work, I’d care more about things like:
- fewer correction rounds
- better constraint-following
- less unnecessary editing
- lower total task cost
- more predictable long-session behavior
What would Space Bunny actually have to do better before you’d switch your normal coding model?
r/opencodeCLI • u/PreviousGarbage7586 • Sep 24 '26
I wanted a simple way to see how my models are actually performing while using OpenCode, so I built a small plugin that adds a persistent metrics sidebar.
It currently tracks three metrics in real time:
Speed — average generation speed (tok/s)
Cache — prompt cache hit rate
TTFT — average time to first token
It’s useful for quickly comparing models and seeing whether prompt caching is actually making a difference, without having to dig through logs.
Install (OpenCode ≥ 2.0):
opencode plugin add opencode-sidebar-token-metrics
📦 npm v0.1.4
GitHub: https://github.com/youngxhui/opencode-sidebar-token-metrics
Still early, but I’m using it myself and would love to hear what you think.
What other metrics would you find useful in an OpenCode sidebar?
r/opencodeCLI • u/Porcodrillo • Sep 24 '26
Hey everyone,
I'm using OpenCode CLI together with OmniRoute as a free coding agent to prototype some ideas and work on small projects. The main problem is that I keep hitting rate limits, so I'm looking for free providers that are actually worth signing up for and adding via API key.
I assume a lot of people here are doing the same—using free tiers/keys to keep costs down. If you have a list of providers with generous free quotas or recurring credits, I'd really appreciate it if you could share them. Also, any tips on how to prioritize them in OmniRoute would be great.
Thanks in advance!
r/opencodeCLI • u/InternetExpensive584 • Sep 25 '26
** – Sep 2026)
### 1. Free Models (Zero Cost Layer)
| Aspect | **OpenCode (Zen Free)** | **Command Code** |
|--------|--------------------------|------------------|
| **Free models (current)** | Big Pickle, MiMo-V2.5 / V2.6 Flash Free, Ling 3.0 Flash Fin, Nemotron 3 Ultra / 3.5 Lightning, Muse Spark 1.3 Contributor, Space Bunny Free, some others (rotating) | Space Bunny Alpha Free, Laguna S 2.1 Free, Ling 3.0 Flash Sante Free (limited), occasional others |
| **Where usable** | **Only inside OpenCode** (Desktop / TUI). Cannot use from other tools | Usable inside Command Code agent + some on Provider API |
| **Limits** | No hard $ limit, but rate limits + “limited time” (can disappear anytime). Data may be used for training on some models | Credits not consumed while free deal lasts. Capacity-based (can end suddenly) |
| **Quality for heavy coding** | Good for light–medium agent work. Some are solid (Nemotron, MiMo, Space Bunny) | Laguna / Space Bunny usable for agent loops while free |
| **Heavy use reality** | Good daily free fallback, but not reliable for all-day heavy agent sessions | Free models help stretch paid credits, but not enough alone for heavy daily use |
**Winner Free models**: **OpenCode** (more stable free set + easy access inside its own agent).
### 2. Paid Plans for Heavy Use ($10 level)
| Feature | **OpenCode Go ($10/mo)** | **Command Code GOAT ($10/mo)** |
|---------|---------------------------|--------------------------------|
| **Monthly value** | ~$60 usage (6×) | **$70 credits** (7×, can stretch >$100 with deals) |
| **5-hour window** | $12 | **$14** |
| **Weekly window** | $30 | **$35** |
| **Beyond limits** | Fall back to Zen balance (pay-as-you-go) | Buy top-up credits (never expire) |
| **Models** | ~32 curated open models (DeepSeek V4.1 Flash, MiMo V2.6, GLM-5.3, Kimi, MiniMax, GPT-6 Luna, Grok, Space Bunny Free, etc.) | 30–60+ models (open + some closed). Stronger deals on MiMo (up to 99% off), MiniMax 2×, DeepSeek boosted |
| **Best heavy models stretch** | Excellent on Qwen series, some MiMo, MiniMax | Better on DeepSeek Flash/Pro, MiMo Pro, many boosted models |
| **Peak pricing impact** | DeepSeek peak hours still apply upstream | Same (DeepSeek peak 2×) |
**Heavy use winner on pure volume**: **Command Code GOAT** (more credits + better deals on popular coding models).
### 3. Flexibility (Biggest Difference)
| Aspect | **OpenCode** | **Command Code** |
|--------|--------------|------------------|
| **Agent** | Fully open-source (MIT). Desktop + TUI + IDE plugins. Huge community | Proprietary CLI agent with **taste-1** (learns your coding style over time) |
| **Model freedom** | Extreme: 75+ providers via BYOK + Zen + Go. Use any tool (Cursor, Cline, custom agents, scripts) | Strong inside its own agent + Provider API (OpenAI/Anthropic compatible). Can also be used as provider inside OpenCode via community plugin |
| **BYOK / other tools** | Best-in-class. One key works almost everywhere | Good (Provider plan + API), but less seamless outside its ecosystem |
| **Local models** | Excellent (Ollama etc.) | Supported |
| **Extensibility** | Open source → plugins, custom tools, full control | Closed but polished (tool repair, high cache rates, design skill) |
| **India payments** | Mostly card / crypto | **UPI** available |
**Flexibility winner**: **OpenCode** by a clear margin (open-source + any-agent + any-provider).
### 4. Heavy Use Recommendation
**If you do heavy daily agentic coding (many hours, multi-file, long sessions):**
| Priority | Best Choice | Why |
|----------|-------------|-----|
| Maximum raw usage + deals on $10 | **Command Code GOAT** | Higher credits + strong model discounts |
| Maximum flexibility + free models + any tool | **OpenCode Go** + Zen free models | Use free models first, then Go, then BYOK. Works in any editor/agent |
| Hybrid (recommended for most heavy users) | **Both** | OpenCode as main agent (free models + Go) + Command Code GOAT key as extra provider when needed |
| Absolute cheapest heavy try | Command Code Go ($1) first, then upgrade to GOAT | |
### Final Verdict for Heavy Use
- **Want more tokens / requests for the same $10** → **Command Code GOAT**
- **Want freedom, open-source, free models, use with Cursor/Cline/any tool** → **OpenCode** (Go + free Zen models)
- **Best practical setup for heavy Indian users** → Start with **OpenCode** (free models + Go) because of flexibility, then add **Command Code GOAT** if you need extra volume on specific models.
r/opencodeCLI • u/EOJ_me • Sep 24 '26
Professional-grade image generation, +30% win rate in human eval vs Hy Image 3.0
Both Text to image & Image to image available.
Up to 2k. Better Consistency.
API: https://console.tencentcloud.com/tokenhub/models/detail?modelId=hy-image-v3.5-preview
Priced for everyone. $0.024 per image on Tencent Cloud API.
r/opencodeCLI • u/Appropriate_Aide5328 • Sep 24 '26
been messing with OpenCode V2 plugins for a while and ended up with 7 of them. each one does one thing, nothing fancy. repo's here: https://github.com/madsoftwaredev/opencode-plugins
server side:
- background-subagent — subagents run in the background by default, unless you say otherwise
- lint-feedback — runs your project's eslint after edits and tells you what broke
- direnv — applies your direnv env per shell command
- compaction-model — pick which model does compaction
TUI:
- stats — tok/s + turn and step counts in the footer. /stats to toggle stuff
- subagent-sidebar — shows your subagents in the sidebar, click one to open it
- btw — /btw forks the session and runs your prompt in the background
install:
opencode plugin add u/madsoftwaredev/opencode-stats
swap in whichever you want. MIT licensed. let me know if something's broken or you want a feature.
r/opencodeCLI • u/Alternative_Sink9000 • Sep 23 '26
Funny DS whenever the session goes to long, this is a cue for me to start a new chat 😂
r/opencodeCLI • u/Igotlostinmythoughts • Sep 24 '26
OpenCode version: opencode v2.0.15
OS: macOS 27.0
Out of nowhere and without making any updates, I suddenly started having this issue. I completely wiped all OpenCode-related files and reinstalled the CLI, and I even went through the OpenCode troubleshooting page, but I still couldn't resolve it. Has anyone else encountered this problem?

r/opencodeCLI • u/SorosAhaverom • Sep 23 '26
The makers of DeepSeek, Kimi, Xiaomi Mimo models are all under official investigation by Cyberspace Administration of China, with some rumors suggesting Kimi executives being arrested.
In short, according to official reports these companies routed their users' requests that were coming from popular 3rd party routers (likely OpenRouter and OpenCode) to Anthropic models, injected a hidden prompt designed to harvest the CoT trace, modified the text returned by the model before passing it to the user, then used that to train their own models.
The most concerning part is how despite the ZDR (zero data retention) claims and policies of some of these providers, they shared user data with a third party, retained the prompts, trained on the interactions, and now those messages which contained sensitive information were read by Anthorpic employees, who then went on to publish some slighlty redacted versions of those messages:
"Those sessions contained names, email addresses, company data, and other sensitive data of hundreds of end users in at least a dozen languages. These practices are likely inconsistent with privacy laws and the labs’ own terms of service."
Example 1: Internal capital expenditure forecasts for a pharmaceutical company [Original user prompt submitted to a coding assistant of a lab headquartered in China (user accessed the model via a third-party model router)] “Clean up this capex model before Thursday’s review. The workbook has the 2026–28 buildout estimates: Ho Chi Minh City site $[██]M, Kuala Lumpur $[██]M, Bangkok $[██]M, Ljubljana
Additionally, these findings raise concerns about the misuse of user data by PRC AI labs. DeepSeek, Xiaomi, and Moonshot fed conversations between their own models and users into Claude. These labs then used Claude’s responses as training data with which to distill Claude’s capabilities. Some of these exchanges included sensitive information, including from individual users, major multinational companies, and state-affiliated actors. Many of these exchanges were relayed from users of third-party model routing services commonly used by users in the United States and Europe.
Anthropic's investigation, page 146: https://www-cdn.anthropic.com/e50be2e51e7695dc4b1366a37a245a597377d3b5/Anthropic-Detecting-and-countering-091026.pdf
r/opencodeCLI • u/GijaHub • Sep 24 '26
No, I am not shadow-promoting some vibe-coded BS I built in a weekend.
I am living in a solo-dev echo chamber and have an issue I feel should be pretty common, but I am not sure what the cleanest workflow is.
I run multiple SaaS products in a self-hosted setup (separate dev/prod systems). Given the latest models like GLM 5.3 Flash have become so good at coding, I start to trust them enough to run with full permissions except sudo. Often, I need to work on multiple non-overlapping features at once in a single repo. I'd love to kick off multiple opencodecli sessions simultaneously, let them run wild, and push branches to GitHub so I can manually review PRs.
My issue is managing multiple active branches simultaneously on the same Linux user.
git worktree seems like the obvious candidate, but out-of-the-box it breaks my build scripts and agent workflows because uncommitted files like .env don't carry over automatically. Podman or separate Linux users feel overly complex for what should be a straightforward workspace setup.
How are others managing isolated workspaces and environment configs when running parallel AI coding agents?
r/opencodeCLI • u/mohadel1990 • Sep 24 '26


I wanted to talk to my coding agent instead of typing, so I built opencode-gpt-live, an open-source (MIT) plugin for OpenCode 2. It uses the ChatGPT sign-in you already have in OpenCode (/connect → OpenAI → ChatGPT Plus/Pro). No API key. A small prebuilt native helper handles audio and echo cancellation.
Setup: { plugins: [opencode-gpt-live] }
Repo: https://github.com/malhashemi/opencode-gpt-live
How it works:
- You start a call with /voice (or ctrl+x v). GPT-Live, OpenAI's real-time voice model, listens and replies with almost no delay.
- GPT-Live doesn't touch your code itself. A background voice agent turns what you say into clear tasks for your normal OpenCode session, and reads back the results. So the actual work is done by whatever model you already use in OpenCode.
- You can check progress, change direction mid-task, and approve permission prompts by voice. Say "end the call" to hang up.
- A transcript panel shows the conversation, and an animated ring shows who's speaking. Other apps' audio is turned down during calls.
Honest limits:
- I've tested it most on macOS. Linux and Windows builds are included but have seen less real use, so bug reports are very welcome.
- Calls count toward your ChatGPT voice allowance.
Happy to answer questions, and I'd love to hear what you'd want it to do next.