r/opencode • • Jan 11 '26

Welcome to the launch of the r/OpenCode subreddit!

55 Upvotes

We recently were granted access to this subreddit after it had been neglected for several years. Please feel free to post anything relevant to the OpenCode community. OpenCode is the open source agent which you can find at https://opencode.ai/


r/opencode • • 4h ago

Free 1B Tokens for meta muse ai

Post image
41 Upvotes

use this referral code : SFWC4S


r/opencode • • 14h ago

I enjoyed using HY4…and now…

Post image
160 Upvotes

r/opencode • • 1h ago

AA Intelligence score vs. $10 OpenCode Go tasks per month, does this look accurate ?

Post image
6 Upvotes

r/opencode • • 19h ago

o7 Now, what the best current free model?

Post image
129 Upvotes

r/opencode • • 18h ago

hungerG-free was Step 5!

59 Upvotes

r/opencode • • 58m ago

Linux-Hantype – I built a Chinese Pinyin input method for Linux using Python and IBus

Thumbnail gallery
2 Upvotes

r/opencode • • 2h ago

Whatever you do on OpenCode Go, do not use Haiku 5.5 Flash.

2 Upvotes

I used Haiku 5.5 for 1 hour a few days into my Opencode Go sub, it took 10 days to use the equivalent chunk of my sub with Deepseek.

The one time I used Haiku 5.5 was the only time I hit the 5-hour limit - and it did not build anything - just a few turns of conversation (150k output). The entirety of the cost was "cache writes".

I think the actual lineup is really limited - Deepseek (for most stuff), Muse (for better conversations), GLM-5.3-flash (for a new take vs Deepseek) and Mimo-v2.6-flash (if you are not in a hurry).

Everything else in the model lineup is a PR stunt and should probably be ignored cus the exact moment the work gets complex enough for their intelligence to matter is the exact moment they slam at 120mph into your plan limits.


r/opencode • • 20h ago

Its officially over o7

Thumbnail
gallery
56 Upvotes

HungerG Free is officially deprecated o7 o7


r/opencode • • 13h ago

Next free & unlimited model?

14 Upvotes

Now that Hy4 Flash has been stripped from the clutches of us cheapskates, what is the next best free & unlimited option?

I'm experiencing with Particle-1 from OpenRouter with decent results. I'm just waiting on the rate limit...

What do you guys & gals recommend for an orchestrator role that dispatches subagents in a long engineering schema?


r/opencode • • 6h ago

Running an abliterated model in OpenCode? It won't push back, so your config has to. What I'd set first (1.x and 2.x)

4 Upvotes

Firstly, a disclosure on where we’re coming from: we run Oathbreaker (hosted abliterated GLM, DeepSeek and Kimi; you may have seen our launch posts here), so we have a stake in people not wrecking their machines with these models... Everything below works with any provider or a local model.

The r/LocalLLM PSA last week ("Abliterated models will happily wipe your disk") is worth taking seriously, and there's a specific reason it bites in OpenCode. Out of the box OpenCode allows almost everything, shell included. With a stock model you get a second guardrail for free: the model hesitates, or refuses, before doing something destructive. Abliteration strips a lot of that out. Same with prompt injection. A stock model will sometimes balk at an instruction buried in a README or a web page. An abliterated one is more likely to just follow it.

So the harness has to be the one that says no. This is what I'd set before giving one a shell. Use the block for your version (`opencode --version`).

**1. Make shell ask, and allow only the boring commands.**

2.x (opencode.json or opencode.jsonc):

{
"$schema": "https://opencode.ai/config.json",
"permissions": [
{ "action": "shell", "resource": "*", "effect": "ask" },
{ "action": "shell", "resource": "git status *", "effect": "allow" },
{ "action": "shell", "resource": "git diff *", "effect": "allow" },
{ "action": "shell", "resource": "git push *", "effect": "deny" },
{ "action": "external_directory", "resource": "*", "effect": "ask" },
{ "action": "webfetch", "resource": "*", "effect": "ask" }
]
}

1.x (opencode.json):

{
"$schema": "https://opencode.ai/config.json",
"permission": {
"bash": {
"*": "ask",
"git status *": "allow",
"git diff *": "allow",
"git push *": "deny"
},
"webfetch": "ask"
}
}

In both, the last matching rule wins, so the catch-all goes first.

**2. On 2.x, turn the "outside the project" prompt back on.** 1.x asked before touching paths outside your project folder. 2.x allows it by default (it's in the migration guide). That's the external_directory line above.

**3. Don't lean on deny lists.** Denying `rm` does nothing about `find -delete` or a three-line Python script. Allow the handful of commands you're fine with running unattended and let everything else ask. If you want a block that an "allow always" click can't undo, 2.x has policies at the top level of the config:

"policies": [
{ "action": "tool.use", "resource": "shell:git push *", "effect": "deny" }
]

**4. Anything unattended goes in a container.** Permissions are prompts, not a sandbox: the shell tool runs as you. With `--auto` on 1.x, every "ask" becomes "allow" and only your denies hold. So if you auto-approve, or leave it running overnight, do it in a container with only the project folder mounted and no SSH keys, cloud CLIs or .env files inside. There's an official image (ghcr.io/anomalyco/opencode).

**5. Know what /undo covers.** It restores files inside the project, and only in a git repo. It won't bring back ignored files, anything outside the folder, a dropped table or a force push. Commit before long runs.

**6. Give the agent its own API key with a small prepaid balance.** Not your main key, and no auto top-up. If a loop runs away at 3am, it stops when the money does. (Ours is prepaid: when the balance can't cover a request it returns a 402 and the run ends.)

None of this is special to abliterated models. A stock model will `rm -rf` the wrong path too. It's just more likely to ask first.

What does your permissions block look like? Curious what people let through without asking.


r/opencode • • 3h ago

Please recommend some models

2 Upvotes

Hello.

I usually use:

  1. Claude Sonnet (I stopped using it about 3 months ago and haven't tried the new Haiku yet).
  2. GPT, usually Luna Max or Sol 6.2 Light.
  3. GLM 5.3 Flash, sometimes switching between Luna Max.

I mainly work in development, finding/debugging bugs and adding new features. Luna Max usually suits my needs, except for very complex projects or when I don't want to wait, in which case I use Sol 6.2 Light.

My question is, for OpenCode, are there any models that are as intelligent as or better than Luna Max and GLM 5.3 Flash?

Free or paid is fine.

And if not for coding, are there any models you would recommend for something other than coding?

I'm still subscribed to ChatGPT, I just want to try something new.


r/opencode • • 3h ago

Help with setups that mix API with local AI agents?

2 Upvotes

I've tried OpenCode and like it a lot as a harness, both for API usage and running local models.
Right now my process uses DS4.1FLASH1017 (API) for spec and review, with local Q3.8FN through Basalt for coding, but it's a manual swap. I haven't really figured out a way to assign the local model to the API model as a subagent.

I remember dsh had a method to do that, but I stopped using it for a variety of other reasons.
It'd be even better if I could assign it a number of specialized local models and It'd just spawn the agents it needs, like a crazy fast embeddings model, or a low temp small model for bash tasks.


r/opencode • • 17h ago

How to make better use of my Go suscription?

25 Upvotes

As a non-programmer, Opencode has been the best suscription I've ever paid for, it has allowed me to create tools that save me lots of time as a content creator, using DeepSeek V4.1 Flash (Literally) 98% of the time

My suscription will renew in a few days, and my total usage was... around 60%, and the concept of 40% of my usage going through the sewer is a little sad, so I ask for your advice in how to make better use of it, not to use 50% in one sit (Already happened to me with Argon...), but to use around 80-90% at the end of the month

Any advice and ideas are appreciated


r/opencode • • 9m ago

Google API + opencode

1 Upvotes

Has anyone tried cycling through multiple Google AI API Keys as an AI agent in opencode with multiple Google accounts?

Is it even allowed?

If yes, how should I go about setting this up in opencode?

Any help is much appreciated.


r/opencode • • 9m ago

Extra usage and credits

1 Upvotes

If I have an Opencode Go 10$ subscription and I spend all my quota, if I add 10$ of credits I would get approximately 10% of work done that I did with the first 10$ of the subscription right?

Since the subscription gives 100$ of credits worth.

Am I understanding that correctly?


r/opencode • • 1h ago

help

0 Upvotes

can any useful human being help me reduce my token usage its honestly insane, ik i use the free tier ik im not entitled to anything free (for the assholes that just wanna hate on anybody that uses anything free) and yes i am grateful there is a free tier but my main issue is that like after barely one prompt im down 10mil tokens and my shit is up idk what i can do im thinking of switching to another provider, someone did point me towards commancode, ive been thinking about getting the one dollar subscription but first i wanna know if any of you guys think you could help and what your thoughts are about commandcode (if you are a piece of shit human being and an asshold please dont comment i dont want any hate i wanna be left alone because alot of yall are creeps and wierdos and send me death threats the second i mention im a free user i want no issues i just want some help)


r/opencode • • 2h ago

I'm confused what is this and how do I fix it

Post image
1 Upvotes

r/opencode • • 2h ago

Grok Plus - quels sont les quotas cursor ?

Thumbnail reddit.com
1 Upvotes

r/opencode • • 18h ago

Well now that HungerG and Hy4 Flash are gone, how is seaglass alpha

21 Upvotes

r/opencode • • 3h ago

What is this phenomenon called?

1 Upvotes

Came back from a coffee break and find Sea glass alpha free model lock itself in a loop outputting nothing.


r/opencode • • 4h ago

Big Pickle ????

0 Upvotes

what happened to Big Pickle , they changed the free limits !!!! an now not even 1 hour work


r/opencode • • 21h ago

GitHub - radekwojpl2/session-observer: Live dashboard for AI coding agents: Claude Code, Codex, OpenCode, pi and omp. Every prompt, tool call, subagent and token, on your machine or a remote one.

Thumbnail
github.com
14 Upvotes

I've created a small open-source observability plugin for myself to better understand what's going on under the hood when working with multiple AI agents and the orchestrator pattern. I recently added support for OpenCode and would love to hear feedback from anyone who uses it heavily. Along with that, I added support for comparing different agents with each other for evaluation purposes.

This tool supports:

  • Claude Code
  • Codex
  • OpenCode

In the near future, I'll also add Pi and omp support.

All feedback welcome.


r/opencode • • 7h ago

ERNIE just cheated.

Thumbnail reddit.com
0 Upvotes

r/opencode • • 7h ago

Tethergate for Opencode - Secure MCP access to your remote machines

0 Upvotes

I'm not sure if anyone else has run into this using Opencode, but I really didn't like the setup of giving Opencode straight up SSH creds/keys to my remote machines I wanted it to have access to, even with best practices it just felt kinda janky.

 

So I made a MCP server that runs locally plus a small agent that gets installed on your remote machines. This gives Opencode gated, end to end encrypted access that is locked down to specific opencode sessions.

 

Github repo

 

If you want to get setup quickly you can just tell your opencode session:

"Read https://github.com/peva3/tethergate/blob/main/STARTUP.md and follow it to set up Tethergate on this machine. Ask me for the node details it requires."

 

The default setup would be using something like Tailscale, or being on the same LAN as your nodes, I would not recommend doing this over public IPs, just because I don't think it would be smart to open up a possible attack vector, but there's nothing stopping you from doing that technically.

 

So that's it, basically it's just a small MCP server with a web ui, you set that up, then create either one time use or fleet keys for your nodes, run the command on your node, and they sync up and download the needed files and config. Then you login to the web ui or use slash commands in your Opencode session, and grant that session access to specific nodes, then you're set, that session should now be able to run gated commands remotely.

 

Also, just want to be upfront that this is a totally self hosted setup, there's no central server, no phoning home, no goal of making this some sort of SAAS product, you own it, it's your private deployment, I don't want to touch your servers.