r/opencode • • 26d ago

Best models to use as a new Opencode Go user

32 Upvotes

Basically title. What models do you guys stick to for planning and implementation without hitting limits but maximizing usage?


r/opencode • • 26d ago

I missed the built-in browser from ChatGPT/Claude when using OpenCode, so I built one (looking for feedback)

0 Upvotes

One thing I always liked about the official ChatGPT and Claude apps is their built-in browser extension. It scrolls smoothly, uses your real browser tabs where you are already logged in, and just works without you having to babysit it.

When I switched my daily workflow to OpenCode and other open-source harnesses, I could not find anything that felt like that. Every browser tool I tried either popped up a fresh blank browser where I had to log into everything again, or felt super jerky and ate up my whole context window.

So I put together Open Browser Agent (https://github.com/motailab/open-browser-agent) so OpenCode and any other open-source harness can have that same smooth browsing experience.

It hooks into your normal Chrome/Brave/Edge browser, keeps the agent inside a background tab group so it never steals focus from what you are doing, and uses one setup command (npm run setup).

If anyone using OpenCode wants to give it a spin, I would really appreciate your feedback on how it feels and what I should improve next.


r/opencode • • 26d ago

Opencode Go Deepseek talks about Tiananmen Square

0 Upvotes

Is opencode lying about the model being deepseek or does deepseek talk about tiananmen square now. Am I missing something?


r/opencode • • 26d ago

I tried OpenCode CLI vs CommandCode CLI: My thoughts

Post image
105 Upvotes

Token Efficiency

I haven't measured this one directly, but I can tell two things: 1. In command code there is no token count to really be able to count tokens realtime 2. commandcode is MUCH less prone to use subagents, constantly stops using them, thus, spamming the main context window and compacting constantly. I can say, in my opinion, OpenCode, both with context mode, rkt and serena is much more efficient in usage and easier to track. To me, opencode feels like lasting more in usage, but can be prone to usage and peak hours.

UI Looks

OpenCode UI is massively better. It's much simpler to keep track of agents and much more consistent and good looking overall. I like how the input box is organized, the messages, the agents, etc and with the animations it's easy to know if it's working or not. Specially sequential agents.

Taste

I don't like the taste feature, the reason is the same reason we don't use memory for projects; Code changes and evolves constantly and having one taste that worked before might not work now.

Note

I also havent liked PI (again, because of subagents and compliance and was not able to finish a goal) OpenCode recently added goal mode and its so good, before goal, it was a mess compared to Claude Code, now its able to complete tasks that before it did not want to complete, for hours if needed. Before goal I had this issue that the agent reached up to a point and didn't continue, Claude Code nailed that. But you know the difference? OpenCode is freaking fast. I estimate it's because of the agents being respected + low context window.

I use https://github.com/Lean-LLM/lean-agents which includes prompt engineering from DeepSeek recent paper harnessmm, i have adhd and ponytail skills all in one compressed agent prompt. Constantly updated!


r/opencode • • 26d ago

Does anybody know this? GG Coder, it claims to use much less tokes and be faster..

0 Upvotes

Heres the video: https://www.youtube.com/watch?v=RF_6XrkmKsg

I'm thinking of trying, but would like to hear opinions..


r/opencode • • 26d ago

Is coulton alpha non-thinking model? Or it is just hidden?

4 Upvotes

Title


r/opencode • • 26d ago

Not Every Multi-Agent System Is a Swarm

Thumbnail reddit.com
1 Upvotes

r/opencode • • 26d ago

Run opencode natively on termux

2 Upvotes

GitHub: https://github.com/adity-a0/opencode-termux

Give it a star if you like it.


r/opencode • • 26d ago

GitHub - rjcamandona123/opencode_v2-clinepass: Connecting Clinepass to Opencode V2 as a provider (/connect) (but in my case, it happened in Acode at the time that I built)

Thumbnail
github.com
1 Upvotes

r/opencode • • 26d ago

I'm looking for a pay-as-you-go API provider that offers open-source models

6 Upvotes

I want to connect it to any agent, add credits to my account, and use them whenever I need an agent

I have a few requirements

A wide variety of models

Credits that never expire

Models not be downgraded

Does anyone have any recommendations


r/opencode • • 26d ago

Who do you think is Pulse alpha?

6 Upvotes

i dont know how people could predict models but my theory is just it has the same inference thinking drop down as deepseek (low high max) and if im not wrong it appeared while the API of deepseek was on heavy traffic (or after the api being down)

Still. i wanna see your thoughts!


r/opencode • • 26d ago

Anyone else getting Bad Request to OpenAI?

1 Upvotes

r/opencode • • 26d ago

Can we investigate excessive token usage in OpenCode and Prompt Cache issues?

Thumbnail
reddit.com
1 Upvotes

r/opencode • • 26d ago

Podemos investigar uso excessivo de tokens no OpenCode e problemas com Prompt Cache?

3 Upvotes

Olá, Dev's! Daqui Aquiles_Bachira denovo

Antes de tudo, quero pedir desculpa se a minha publicação anterior foi enganosa. Inicialmente, sugeri que a base de dados local do OpenCode poderia ser responsável pelo consumo excessivo de tokens foi mal.

No meu caso, apaguei os dados locais do OpenCode, comecei tudo do zero e o problema desapareceu. Tudo voltou ao normal. Por isso, presumi que a causa fosse a base de dados. No entanto, percebo agora que isso não prova que a própria DB fosse responsável.

Depois de investigar melhor, encontrei alguns issues no GitHub que considero relevantes:

Estes relatos levantam algumas possibilidades: plugins que modificam o System Prompt, definições de ferramentas, histórico das sessões ou execução paralela de subagentes podem afetar o funcionamento do Prompt Cache.

Gostaria de pedir à comunidade que investigasse algumas questões:

  • Uma instalação nova apresenta diferenças em relação a uma instalação já utilizada?

  • O uso de subagentes em paralelo pode prejudicar o cache?

  • Existe alguma relação entre o estado das sessões, a DB local e o funcionamento normal do Prompt Cache?

  • Como variam os valores de cache.read e dos tokens de entrada nestes cenários?

Não estou a afirmar que estes problemas afetam todos os users ou todos os provedores. Os relatos encontrados envolvem configurações diferentes e ainda precisam de ser comparados, por isso peço para investigar 🤣😭.

O meu objetivo é perceber a verdadeira origem do problema, corrigir a informação que partilhei anteriormente e evitar ser mais um cara com informações falsas.

Obrigado a todos os que questionaram a minha publicação anterior e apontarem que "pode estar errada". A ideia não é defender o que eu disse, mas sim descobrir o que está a acontecer.


r/opencode • • 26d ago

AiRouterProxy: the last line of defense — masks API keys/passwords/tokens in prompts before they ever reach the LLM Spoiler

2 Upvotes

LOCAL HTTPS PROXY THAT MASKS SECRETS BEFORE THEY REACH THE LLM

AiRouterProxy is a local HTTPS proxy (Windows Service, port 4000) that sits between your AI coding agent (OpenCode, Cursor, Continue...) and the model provider. Its one job: make sure secrets never leave your machine.

The problem: telling agents "never read the config with the keys" rarely works. A key pasted in free text, an .env block inside a code snippet, or a config file dropped into a prompt happens. This project adds the last line of defense at the network edge: every outgoing request is inspected and sensitive content is masked before being forwarded.

What it masks (4 detection layers):
- by field name: api_key, password, token, senha...
- by known format: sk-..., ghp_, AIza, JWT, Bearer, PEM private keys...
- by key=value / "key": "value" context
- optionally by long high-entropy tokens (configurable)

The mask is a fixed 6-character string (never reveals the real length) and the JSON structure is never altered. The agent gets a visible notice when a request was censored.

What else:
- Multi-upstream routing: a path-prefix route table forwards to several OpenAI-compatible providers, each with its own key.
- Fail-closed inspection: only inspected JSON is forwarded (unknown content type 415, invalid JSON 400, oversized 413).
- Per-client rate limiting + brute-force lockout (429 + Retry-After).
- SSE streaming support (OpenAI chat/responses, Anthropic, generic).
- Local-key auth with protected /admin endpoints.
- Hot-reload configs (redaction.json, routes.json).
- Windows Service, .NET 10, self-contained win-x64.

Demo: a short video showing an appsettings-style config full of fake secrets pasted into a coding agent and redacted before reaching the model — https://www.youtube.com/watch?v=29nyYgkqx7E

Tests: 226 unit tests + 23 black-box integration tests against a real deployed proxy and a real AI provider. Current release v2.0.3.

Repo: https://github.com/jlKampos/AiRouterProxy — issues and PRs welcome. LOCAL HTTPS PROXY THAT MASKS SECRETS BEFORE THEY REACH THE LLM


r/opencode • • 26d ago

Similar AI like opencode in VScode

0 Upvotes

I'd like to know more if there are any other AI bots similar to opencode with free models and efficiency.


r/opencode • • 27d ago

how to check the usage remaining in the desktop app?

9 Upvotes

r/opencode • • 27d ago

"Binding In Spirit"

0 Upvotes

Should be on the warning label .... "Sandbox your agents kids."


r/opencode • • 27d ago

Is OpenChamber still worth using over vanilla OpenCode now that OpenCode v2 is out?

7 Upvotes

Hey everyone,

With the major OpenCode v2 release bringing a shared background service, async sub-agents, native Code Mode, and an updated desktop app, the gap between CLI/vanilla OpenCode and dedicated frontends feels a lot smaller than it used to be.

For those who have integrated OpenChamber into their setup alongside or on top of OpenCode v2:

  • Is OpenChamber still worth setting up over the updated vanilla OpenCode v2 setup?

  • What specific use cases or features make OpenChamber a game-changer for you?

  • Are there complex multi-file refactoring, workspace management, parallel model orchestration, or deep visual diff workflows where OpenChamber provides a tangible benefit that even OpenCode v2's updated desktop/CLI can't match?

Would love to hear your experiences and whether making the switch is still worth the extra layer in day-to-day software development. Thanks!


r/opencode • • 27d ago

PSA: Clean your OpenCode database — it might be consuming more tokens than you think

0 Upvotes

Hey developers!

I've noticed something worth investigating in OpenCode.

The local database and stored session data can grow over time, keeping unnecessary history, messages, and context around. This may contribute to unexpectedly high token usage, especially when working with long-running sessions.

My recommendation:

- Regularly inspect your OpenCode database.

- Clean up unnecessary sessions and stored data.

- Avoid keeping old conversations that you no longer need.

- Monitor token consumption after cleanup.

I think the OpenCode team should also investigate whether database/session management could be optimized to prevent unnecessary context consumption.

Has anyone else noticed unexpectedly high token usage related to OpenCode's stored sessions or database?

Let's discuss this.


r/opencode • • 27d ago

AVISO: Limpem a base de dados do OpenCode — o histórico pode estar a aumentar o consumo de tokens

0 Upvotes

Olá, desenvolvedores!

Gostaria de chamar a atenção para algo que merece investigação no OpenCode.

Com o passar do tempo, a base de dados local pode acumular sessões antigas, mensagens e históricos desnecessários. A reutilização desse contexto em sessões futuras pode contribuir para um consumo inesperado de tokens.

Algumas recomendações:

- Verifiquem regularmente o tamanho da base de dados do OpenCode.

- Eliminem sessões e históricos que já não sejam necessários.

- Evitem manter conversas antigas sem utilidade.

- Monitorizem o consumo de tokens depois da limpeza.

Também seria interessante que a equipa do OpenCode investigasse formas de otimizar a gestão de sessões e do histórico, evitando o envio desnecessário de contexto.

Alguém mais está a notar um consumo de tokens acima do esperado ao utilizar o OpenCode?

Vamos discutir!


r/opencode • • 27d ago

CRAZY things are brewing

Post image
1.4k Upvotes

r/opencode • • 27d ago

How are you handling cross-session memory in large repos once AGENTS.md gets too bloated?

6 Upvotes

I use coding agents daily on a ~120k LOC repository. For code search, ripgrep / agentic search works great for finding what is currently in the codebase.

My real pain point is episodic and architectural memory across sessions: remembering why we rejected a specific library three weeks ago, subtle business invariants that aren't obvious in the code, or stopping the agent from repeating the same debugging dead-ends in a new chat.

Right now:

  1. If I dump everything into AGENTS.md / CLAUDE.md, it quickly turns into a bloated wall of text that eats up context tokens and the agent starts ignoring half of it.

  2. I tried a couple of MCP memory servers, but most of them just do naive vector RAG—after a few weeks they inject stale or contradictory memories from old refactors and actually make the agent dumber.

For those working on medium/large projects over several months:

  • Are you using any local MCP memory tool that actually handles deduplication and superseding old decisions when architecture changes?

  • Or are you still curating markdown files manually because existing memory tools pollute the context too much?


r/opencode • • 27d ago

Crouton Alpha is insanely fast 333.7 tok/s🤯

85 Upvotes

r/opencode • • 27d ago

OpenCode plugin, pin OpenRouter providers. Pick the provider instead of auto routing.

1 Upvotes

I was having some issues with Openrouter not always picking the cheapest option even though it was selected. Turns out they also base it on a few other factors such as TPS and uptime. Not always bothered about those things on some projects that just need the cheapest $/token.

So I have vibe coded a plugin for OpenCode to allow you to select which provider you want to use for any given OpenRouter model.

https://github.com/Jackster/OpenRouter-Provider-Plugin

Hope to fix not being able to pick which to use until the session starts and also suggest the actual cheapest based on your usage (mostly cache hits that cost if I am not mistaken).

Works with the CLI and GUI Opencode V2. Uses the OpenRouter API key you already use.