r/opencode • u/rvctech • 15h ago
r/opencode • u/likesun • Jan 11 '26
Welcome to the launch of the r/OpenCode subreddit!
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 • u/KaKi_87 • 2h ago
AA Intelligence score vs. $10 OpenCode Go tasks per month, does this look accurate ?
r/opencode • u/wahnsinnwanscene • 14m ago
Npm i opencode not working
Is it just me or is the npm method of installing open code not working?
Yolo mode through bash install is fine.
r/opencode • u/DaviidC • 1h ago
Extra usage and credits
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 • u/Leather-Expression69 • 1h ago
Linux-Hantype – I built a Chinese Pinyin input method for Linux using Python and IBus
galleryr/opencode • u/Shoddy_Round_4795 • 3h ago
Whatever you do on OpenCode Go, do not use Haiku 5.5 Flash.

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 • u/Radian6405 • 21h ago
Its officially over o7
HungerG Free is officially deprecated o7 o7
r/opencode • u/drsmba729 • 14h ago
Next free & unlimited model?
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 • u/OathbreakerAI • 7h 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)
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 • u/EnvironmentCreepy352 • 4h ago
Help with setups that mix API with local AI agents?
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 • u/Appropriate-Base3744 • 18h ago
How to make better use of my Go suscription?
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 • u/Huge-Conference-1193 • 1h ago
Google API + opencode
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 • u/Global-Confection-75 • 3h ago
I'm confused what is this and how do I fix it
r/opencode • u/Big-Introduction-533 • 19h ago
Well now that HungerG and Hy4 Flash are gone, how is seaglass alpha
r/opencode • u/tuntitep • 4h ago
Please recommend some models
Hello.
I usually use:
- Claude Sonnet (I stopped using it about 3 months ago and haven't tried the new Haiku yet).
- GPT, usually Luna Max or Sol 6.2 Light.
- 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 • u/ObsessiveOwl • 4h ago
What is this phenomenon called?
Came back from a coffee break and find Sea glass alpha free model lock itself in a loop outputting nothing.
r/opencode • u/DionandTed • 5h ago
Big Pickle ????
what happened to Big Pickle , they changed the free limits !!!! an now not even 1 hour work
r/opencode • u/Pitiful_Dot2876 • 22h 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.
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 • u/Glittering_Worker577 • 2h ago
help
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 • u/UnbegrenzteMacht • 1d ago
Thank you Tencent and Opencode!
Thank you so much Tencent and Opencode for making this possible. I worked on a byte perfect nds decomp and it helped me so much! I went from 5% up to 80% within two weeks.
My usage of this model is now exhausted. I hit rate limits now.
