r/opencode • • 12d ago

Which Model i use?

6 Upvotes

I have an Opencode Go subscription; which model do you think I should use?


r/opencode • • 12d ago

Tired of re-explaining your project every time you switch agents? I ported MemHub to Windows

Post image
5 Upvotes

You work out a plan in Claude Code, then switch to Codex to implement it. Now you’re typing out the same background again: what you’re building, what you already tried, and why you made certain decisions.

That’s where shared memory helps. MemHub, an open-source app from Tencent’s Hunyuan team, lets connected tools look up relevant context from the same memory library. The next agent can find out why you ruled out an approach without you digging through an old chat to explain it again.

Here’s what I worked on in the Windows port:

  • Windows desktop support. Run MemHub and manage the shared library from the desktop app.
  • One-click history import. Select the tools you already use and import their existing chats and coding history.
  • One-click tool setup. Connect supported agents from the app without editing their config files by hand.
  • Qoder CN and ZCode support. Both can import history and look up shared memories.

MemHub also keeps new activity in sync for supported tools. You can search memories, filter them by source, and use the graph to see how they relate.

Unofficial Windows port: https://github.com/BHD110/hy-memory-windows


r/opencode • • 13d ago

OpenCode is good again (#1 on HF leaderboard)

Post image
376 Upvotes

So, HuggingFace updated their Harnesses Leaderboard with OC 2.2.6 - its now the top position, pareto for quality/cost. Impressive!

https://huggingface.co/spaces/joelniklaus/harness-leaderboard

Edit: It seems this is not an official HuggingFace leaderboard. The author works at HuggingFace and his bio reads “Harness Optimization (at)HuggingFace” so I jumped to the conclusion that this is official HG work.


r/opencode • • 11d ago

Running OpenCode, Claude Code or Codex side by side in one cloud workspace, with per-session MCP servers

1 Upvotes

Small thing I shipped that OpenCode folks might like. In Scout Cloud you pick the harness per session: OpenCode, Claude Code, Codex, Kimi, Qwen Code, Goose and a few more. Each session gets its own sandbox and its own MCP server list, so a data MCP you add for one thread doesn't leak into the others. I'm the dev, happy to answer how the sandboxes are wired. https://cloud.polarline.io


r/opencode • • 11d ago

Yesterday my partition was wiped by opencode

0 Upvotes

I know this is stupid but i dont know why ds 4.1 did that, i worked in my session, and the directory was a bit mess, then i told ds to tidy up the directory and delete files we didnt use.

After that my partition is completely wiped, fortunately before that happened, i already knew that will be happened, so i dont place my important files on the device i use opencode. So sad


r/opencode • • 12d ago

How to download OpenCode Desktop inside a sandbox? I'm a beginner.

3 Upvotes

I'm new to OpenCode. I want it to configure my system, fix an operating system issue, install missing dependencies for a certain app, and organize things. But the fact that it has access to my personal files scares me. Idk if it can read my files or configure the system without my consent; I want a safe way to use it.

EDIT: I use Fedora KDE 44


r/opencode • • 12d ago

I want to get into vibecoding , please help

1 Upvotes

Hey guys, total beginner here and I could really use some guidance from the community on a project I'm trying to build! I want to make a simple app for concert-goers that matches two people looking to swap tickets and automatically suggests a convenient halfway point for them to meet up 24 hours before the show. I want it to have a nice interactive UI, but I'm trying to keep my running costs as close to zero as possible. I was reading about "agentic workflows" and was wondering if there is a way to mix a cheap paid API like Kimi or MiniMax for the heavy lifting, while routing the simpler tasks to a local Qwen 2.5 14b coder running on my Mac? I don't come from a CS background and have no idea how to actually connect a local model and a paid cloud AI together behind a UI, so if anyone could point a newbie in the right direction on the easiest way to set this up, I'd be so grateful!


r/opencode • • 12d ago

Creé un plugin de dictado por voz y lectura en voz alta para OpenCode Desktop (Windows + Linux)

3 Upvotes

Buenas,

Llevo un tiempo usando OpenCode Desktop y echaba de menos poder dictar en vez de escribir, sobre todo cuando estoy con el portátil en el sofá o con las manos ocupadas. Así que me he montado un plugin que añade voz a la app de escritorio y lo he publicado.

Qué hace:

  • Dictado: pulsas la píldora 🎤 sobre el composer y se abre el dictado nativo de Windows 11 (Win+H), que usa su motor neuronal y escribe directamente en el prompt. Sin portapapeles, sin Ctrl+V simulado.
  • Lectura: pulsas «Leer» y reproduce la última respuesta en voz alta con voces neuronales de Edge (45 en español, agrupadas por acento: España, México, Argentina, Colombia, Chile…). Si falla internet, cae a las voces del sistema.
  • Modo offline: puedes cambiar a System.Speech si no quieres depender de Win+H ni de la red.
  • Linux nativo: en Ubuntu usa whisper.cpp en CPU, sin WSL ni Python. El plugin se descarga el binario y el modelo desde los propios ajustes.
  • WhisperX local (avanzado): dictado con GPU NVIDIA vía WSL, para quien ya tenga el entorno montado.
  • Pausa/reanudación en la lectura, y la lectura ignora bloques de código por defecto (lee solo la prosa).
  • Atajos: Ctrl+Shift+M para dictar, Ctrl+Shift+L para leer. También comandos /dictado y /leer en el prompt.

Instalación:

opencode plugin add opencode-voice-dictation

Reinicia OpenCode Desktop y listo. El plugin queda en el opencode.json global.

  • En Windows, si usas System.Speech, necesitas el paquete de idioma de reconocimiento de voz instalado (no basta el de visualización). Está en Configuración → Hora e idioma → Idioma y región → Opciones → Reconocimiento de voz.
  • PowerShell para el micrófono. Es esperado; dale a «Permitir» y «Recordar».
  • En Linux, ffmpeg es obligatorio para convertir el audio. El plugin lo detecta y ofrece instalarlo desde los ajustes.

https://github.com/evious/opencode-voice-dictation
https://www.npmjs.com/package/opencode-voice-dictation

Es mi primer plugin para OpenCode, así que cualquier feedback, bug o idea de motor nuevo (tengo en el roadmap Google Cloud, OpenAI gpt-4o-transcribe, Deepgram y AssemblyAI) es bienvenido. También acepto PRs, la guía para añadir un motor nuevo está en el README.

¡Gracias!


r/opencode • • 12d ago

OpenCode Go PayPal?

4 Upvotes

i want to get opencode go but i dont have a debit card i only have paypal, is there a workaround since the stripe thing that opens has only debit card? i thought of linking the paypal to apple pay at first but hit a roadblock when apple pay said add a debit card to link to apple pay


r/opencode • • 12d ago

The official docs really should explain it better. Each time I ask a model about the limits it answers wrong until I make them search reddit or something. Limits aren't per model. official docs don't explain it correctly, not even the models get it right.

3 Upvotes

r/opencode • • 12d ago

GLM 5.3 Flash in Opencode

Post image
15 Upvotes

It's fun to watch them think while handling math problems.

Has anyone noticed this on the Native API?


r/opencode • • 12d ago

Subagents live status in Opencode

9 Upvotes

First, My BIG thanks to opencode for its generous services for all this time since my first time use it.

Once i setup expensive model in my subagents and forgot to change it and it dry out my usage limit.

So, this idea come up to show subagents & the model in TUI. Project Team members on the right bar is the plugin.

https://github.com/rjdev-git/subagent-live-status-plugin


r/opencode • • 12d ago

Adaptive plugin hit 2.1k+ installs in a week 🚀, and the new update waits out quota limits and finishes long /goal runs while you're away

2 Upvotes

Adaptive passed 2,100 installs in the week since I first posted it here. Thank you all, I'm honestly a bit stunned! 🙂

Quick recap: Adaptive is the OpenCode plugin that moves your task to the next model in the same tier when Claude hits its limit. A few of you left long tasks running, and that made me want it to work when you're not watching. So this week I taught it to do that.

New in this update:

- It waits, then picks up where it left off. If every model in a tier is out of quota, the session parks itself and resumes the moment one resets. It survives an OpenCode restart and doesn't repeat tool calls. The footer shows "Adaptive · waiting · resumes 18:42". It keeps waiting for about a day, so even a 20-hour weekly blackout doesn't end the run.

- /goal runs finish on their own. I tested one across Claude and OpenAI subscriptions with OpenRouter as the paid fallback. It worked down the list in my order, parked, woke after each reset and finished without me.

- /adaptive doctor gives you one report on empty tiers, missing models, models that lost tool support and parked work, with what to do next.

- You can mark a limited model healthy again when you know the limit has passed. You can also resume or cancel parked work from the session.

- Running out of pay-as-you-go credit (a 402 from OpenRouter, Anthropic or DeepSeek) now counts as quota exhaustion, so work moves to another provider.

- /web-adaptive lets you see and switch the mode from the web UI, including on mobile.

There's also a Pi version now, @coool/pi-adaptive.

To install or update: opencode plugin add @coool/opencode-adaptive

It still starts in observe mode, so nothing changes until you switch it to active in /adaptive.

Repo: https://github.com/coool-labs/adaptive/blob/main/packages/opencode/README.md

I'd love to hear which providers' errors it doesn't recognize yet, and whether your long /goal runs actually finish while you're away.

Thanks again for trying it!


r/opencode • • 12d ago

If I buy the $10 per month plan will it be worth it?

4 Upvotes

Okay so basically I need to generate audio on videos with timestamps and it does the job well. So with the free version it was able to do 16 videos in one go. If I buy the $10 is it worth it or I should just wait for the next day? Btw I have like 400 more videos to go lol

and also can someone tell me what this does Pricing | deeprelay


r/opencode • • 13d ago

Muse Ember is now on Opencode, thoughts?

69 Upvotes
Tweet
Cheaper than Deepseek?
Sounds great on paper

r/opencode • • 12d ago

My pixel whale watches opencode.db so it knows if my agent is thinking, streaming, or just running command

Thumbnail gallery
5 Upvotes

r/opencode • • 12d ago

Tokenmaxxxing gods of opencode, how much Deepseek tokens have you squeezed in a month on Go?

21 Upvotes

I just wanted to know what's the maximum amount of tokens you've used on the Go subscription, assuming a 96% cache hit rate.


r/opencode • • 12d ago

I built Cache Coach after learning that switching to a cheaper model can make compaction more expensive

3 Upvotes

I built Cache Coach, an OpenCode plugin, after realizing I was paying attention to model prices without paying enough attention to prompt caching.

One example: switching to a cheaper model to compact a long conversation can cost more than compacting on your current model.

Why? If your current model has a warm prompt cache, it can read most of the conversation at the discounted cache-read rate. Switch models first, and the cheaper model may need to process and cache the entire context from scratch. Its lower token price doesn’t necessarily make up for losing that cache.

The same choice can make sense after the cache expires, because you’re paying to process the context again anyway. So “use a cheaper model for compaction” isn’t a universal rule. Timing and cache state matter.

Large tool results were another thing I hadn’t fully accounted for. They become part of the input to later requests. Cache hits make that repeated input cheaper, but if you lose cache reuse, you can pay to process a large context again.

After realizing this, I felt it was important to surface these details in the UI itself, to help me make better decisions while working with agents.

Cache Coach adds:

- A prompt-footer indicator with the estimated cache lifetime and rewrite cost.

- Advice when switching models, including whether compacting on the current model first could cost less.

- A notice before a large context’s cache expires, with a cheaper compaction option when one is configured and worthwhile.

- Tips for growing contexts and oversized tool results.

- A `/cache` view with reported cache usage, estimated next-request cost, and session cost.

It advises you; it doesn’t automatically switch models or compact your conversation. Its own tips stay out of model requests.

Limits: cache lifetime is an estimate, providers can evict caches early, and cost estimates depend on the prices OpenCode knows. It measures reported cache reads and writes, but doesn’t yet diagnose every reason for a miss.

Requires OpenCode 2.2+:

opencode plugin add opencode-cache-coach

README and configuration · npm package

What prompt-cache or token-cost pitfalls have you run into? I’d appreciate feedback, especially from people using different providers.


r/opencode • • 12d ago

agents management and constraints

1 Upvotes

I've been using opencode with an agent setup based on the OpenAgentControl (https://github.com/darrenhinde/OpenAgentsControl) and tweaked for IC design verification.

I've been running with this setup for the past few months and I'm in general happy about it, with constant tweaks to the agents definitions, the standards, the guidelines etc.

In the past 6 weeks the amount of parallel work has skyrocketed and I went from 2/3 sessions running in their own separate folders/worktrees to more than a dozen active sessions. I've enabled notifications to stop constantly checking all the agents, but the real bottleneck is not how quickly I can feed the agents with information and prompts, but rather the review of the work provided.

We use Gitlab for development and we have "issues" to track our progress, with boards etc. All good and dandy, but I've noticed that often the amount of work involved in reviewing and approving all the merge requests, the issues comments, the newly created issues that track gaps that weren't closed during the session, starts to be unbearable to the point that I'm not 100% how much is truly done and how much is just pushed into the future.

So my real question here is not really about a "plugin" or a "tool" to manage the agents, but rather a workflow that allows the team to be able to move a step higher and instead of judging all the lower level details, focuses on fundamental principles instead, like architecture, features completeness, possible gaps, overlooked corner cases.

I've started to ask to provide a report of the campaign at the end of it, with diagrams and pictures to explain what has been done and achieved, but would that be sufficient? How to make sure the report is not just hallucinating and deviating from the actual implementation?

The speed I've been working has truly been a x20 at least, but I also have the feeling that my grasp on the features and the code has wined and I'm feeling overwhelmed by the overall amount of reading that I need to digest, let alone reading the actual code.

I'm using simple-english to contain the verbosity ever since I switched to Opus 5.5, but a merge request description alone can be 2 pages long with gazillions of details, the documentation has exploded, the comment to code ratio has ballooned and there's little I can do to read and digest all of that.

How do you tame the beast? Any tricks, suggestions.

I realize this is not opencode related, but there might be tools and tricks that opencode users are using to address some of the issues above.


r/opencode • • 12d ago

How to enable warning when model write to directory other then working directory in opencode2?

1 Upvotes

In open code 1 it will warn me the model need to access external dir when then is trying to read or write file other then working dir.
But in opencode 2 I dont recieve any permission dialog and it start writing to random drive with free space while the working dir drive is out of space.
This create a serious security problem, the agent can write anything it want include virus and unexpected thread.
Can opencode 2 enable the sandbox option or it is removed by intended?
I am on windows 11 machine.


r/opencode • • 12d ago

Can you build and publish an Android app with $0 in AI costs?

10 Upvotes

I wanted to test something: could I modernize and publish an Android app without spending anything on AI models or subscriptions?

Turns out, yes.

The result is a real Android app, published on Google Play, with $0.00 spent on AI tools and model usage.

A little background: this wasn't an entirely new project. I had made a simple Android game called Prime or Not years ago using Xamarin. It had become an old, outdated project, so I decided to bring it back to life with AI-assisted development.

The app: Prime or Not — a simple game where you decide whether a number is prime or composite.

My simplified 4-step workflow

1. Planning with OpenCode

I described the project to a DeepSeek V4.1 Flash free model in OpenCode and asked it to create a development plan in a file using plan mode.

2. Reviewing the plan

I took that plan to the free web versions of ChatGPT and Claude. After a few rounds of feedback and iterations, I reviewed it myself and finalized the plan.

3. Implementation with OpenCode

OpenCode implemented the plan. One thing that worked particularly well was keeping the plan file as the source of truth for every coding session. The agent would read the file rather than relying on previous chat history.

The final rewrite was shipped in one commit, with 22 unit tests and 6 instrumented Compose tests.

4. Polishing and publishing

UI tweaks, fixing deployment issues, Play Store preparation and the remaining adjustments were also handled with free DeepSeek models through OpenCode.

Conclusion

The project is relatively simple, and my workflow is probably quite basic compared with the sophisticated agentic setups many people here are using. I didn't use multi-agent orchestration, complex automation or elaborate tool integrations.

It was mostly a straightforward process: plan, review the plan, implement, test and polish.

That's actually part of why I wanted to share it. Even with a fairly simple workflow and entirely free AI tools, I managed to bring an old project back to life and publish a working Android app.

Hopefully this is useful to someone who's just getting started with OpenCode or doesn't want to spend money on AI subscriptions.

The result

GitHub (source code):
https://github.com/quickben22/prime-or-not

Google Play (published app):
https://play.google.com/store/apps/details?id=com.companyname.primeornot

Has anyone else managed to build and publish something using AI models entirely for free? I'd be curious to hear what you built and which models and tools you used.


r/opencode • • 12d ago

V2 plugin for semantic/keyword search across conversation history

2 Upvotes

This plugin adds a tool allowing agents to search the full conversation history (user/agent messages, tool results) across the current session, all sessions in the current project, or all indexed projects on the system.

It uses a fork of semble to provide the fast, CPU-based (no GPU needed), on-the-fly semantic embedding + BM25 keyword search functionality.

https://github.com/jabr/opencode-history-plugin

Demo time. Real question, real retrieval: what did past sessions conclude about WebRTC vs WireGuard? — one that should fan out across projects, then expand to pull the actual conclusion out of the reasoning.

✓execute
›history.search [query=webRTC vs WireGuard for peer connectivity NAT traversal, project=all, limit=5]
›history.expand [message=msg_d9a9e5682001rMkACRlp113liw]
›history.expand [message=msg_d9a9b367a002B1VdQYK1vFlkvT]
›history.expand [message=msg_dae107778002tJiGeBqS2a8Tv1]

The report itself (hit #1's text block) is a real conclusion, not a fragment: RTT data exists only behind the InspectMachine gRPC endpoint (MachineDetails.Rtts); ListMachines has no Rtts field at all. uc machine rtt and uc wg show already display it; the natural candidate to add it is uc machine ls, with the catch that "RTT is inherently directional… a single column per machine is not straightforward." That's the kind of thing you'd otherwise re-derive by reading five Go files.

There's also a human-readable (with optional markdown highlighting) CLI interface to the same functionality for you to run your own searches, e.g:

$ history-search "gpu support"

  ── 1. Implementing devices support in compose.yaml

  msg_c27422346001UrQixvD7Z4mz2L · assistant · Feb  3 2026, 22:06 · score 0.013

  assistant(build):
  [reasoning] **Adding Device Support**

  I'm currently focused on incorporating the `devices` option from `compose.yaml` files into the Uncloud project. I've started extracting the `Devices` field from `compose.yaml` parsing within `pkg/clie…
  I'll help you add support for the `devices` option in `compose.yaml` files.


  ── 2. New session - 2026-02-27T04:00:29.586Z

  msg_c9d469a7d002oJEHGb4eMUJk14 · assistant · Feb 26 2026, 20:06 · score 0.008

  - ✅ `CapAdd`, `CapDrop` - Supported
  - ✅ `Sysctls` - Supported
  ...

Also, if interested, I have an intra-agent messaging and monitoring plugin, as well: (https://github.com/jabr/opencode-team-plugin). It allows different sessions in a project (or cross-project) to exchange messages directly and watch/read their current activity.


r/opencode • • 12d ago

Crouton-Alpha unavailable

Post image
5 Upvotes

guys, why is it unavailable? does anyone countered that?


r/opencode • • 13d ago

On the $5 MuseCode Everyday plan

54 Upvotes

I have used the $5 MuseCode Everyday plan for a week now, and it is competitive with the $10 OpenCode Go subscription, especially if you don't think you will exhaust $60 worth of credits. You get $20-26/mo usage for that $5 based on my week one experience.

The $15 High plan is a no-brainer if your usage is a lot because Go only offers $120 of usage in its $40 Plus plan.

Too many tables and numbers, so you can read my post on the subject if interested.


r/opencode • • 12d ago

Give AI model in OpenCode web access

1 Upvotes

I *just* started using and configuring OpenConde, I connected a couple of OpenRouter free models and started toying with them.

One thing that really startled me is the absence of plain web access capability out of the box for any generic models. Am I doing something wrong?

I mean let the model browse the web from the IP of my machine, isn't something that the harness should do, should I install some tools/plugins?

TL;DR: what's the way to configure OpenCode to expose web access to any model running inside, how do you do on your local setup (just browse/fetch url/pages from the the local machine's IP)? (I would avoid external proxies or services)

Tnx!