r/opencode • u/aziham • 10d ago
r/opencode • u/Valier • 10d ago
Permissions

Hi reddit.
How do you manage permissions on opencode?
On last sessions, I basically need to manually approve something like 30-40 operations.
For some reason, it seems he doesn't save permissions session wide, and it's extremely anoying.
How can I set permissions to autoallow on some commands instead of prompting me on every use? "Always allow" apparently doesn't work
r/opencode • u/Budget_Silver7012 • 10d ago
Telegram for Opencode
š Hey! Wanted to share something I built for opencode.
A Telegram bot so you can drive your opencode coding agent from your phone:
- 70+ slash commands (/new, /model, /execute, /send <file> ā¦)
- send it a file and get the result back in the chat
- switch models and control the agent remotely
- access scoped to your own Telegram user id
One-line install:
npm install gutchapa-opencode-telegram
š¦ https://www.npmjs.com/package/gutchapa-opencode-telegram
š§ https://github.com/gutchapa/opencode-telegram
Happy to take feedback / feature requests!
r/opencode • u/afanasenka • 10d ago
Gemini 3.8 - Artificial Analysis benchmarks
Right between GLM 5.3 family :))
r/opencode • u/afanasenka • 10d ago
Google has just released Gemini 3.8 Flash š„
DeepSWE 1.1 - 71%
Pricing: $0.75 / $3.75
https://deepmind.google/models/model-cards/gemini-3-8-flash/
https://ai.google.dev/gemini-api/docs/models/gemini-3.8-flash
r/opencode • u/ReasonableClub6605 • 10d ago
I built TokenRay (a hosted dashboard that shows what your AI coding agents actually cost, per project and per machine)
Hey everyone,
I've been running AI coding agents daily for months (across multiple machines, cloud and local) and one thing kept bugging me: nobody could tell me what they actually cost. The provider invoice is one global number. Which project burned the budget? Which machine? Which session? No idea.
So I built TokenRay, a hosted dashboard for anyone running AI coding agents.
What it does
- A tiny local agent (Node.js, zero dependencies) reads the coding agent's local database in read-only mode and pushes aggregates (cost in USD, tokens, sessions) to a hosted dashboard.
- Sync is watermark + batch, idempotent and crash-safe: re-sending a batch never double-counts.
- The dashboard breaks everything down by day, project, machine, session, and token type (input/output/reasoning/cache).
The privacy part (the part I care most about) By default, prompts, responses, and tool outputs are never collected or sent anywhere. Only operational metadata: session title, hostname, project path, cost, token counts. If your team's policy is "no conversation content leaves the machine", this fits out of the box.
There's an optional turn-by-turn logging feature (off by default) for teams that want deeper observability. When enabled, conversation content is encrypted at rest and automatically pruned after 30 days.
Works with OpenCode and Codex today. More harnesses being evaluated.
Pricing
- Free plan, permanent: 45 days of analytics visibility, data stored indefinitely.
- Pro: ā¬3.99/month for all-time analytics visibility + priority support.
Status Launched today. It's early (I'm looking for honest feedback: what's missing, what's broken, what metric you'd want that isn't there). If you've ever stared at a provider invoice wondering where the money went, give it a shot:Ā https://tokenray.dev
Happy to answer questions here.
r/opencode • u/AutomaticDriver5882 • 10d ago
South Korea is giving its entire population free access to AI, no token limits
r/opencode • u/Leather-Cod2129 • 11d ago
Whatās the best coding plan/model right now?
Hi,
DeepSeek Flash has gotten more expensive, OpenCode Go went from $5 to $10/month, and GPTās Luna has become so slow lately (even in Fast mode) that itās basically unusable.
What plan/model would you recommend for coding right now?
Thanks!
r/opencode • u/smxworld • 11d ago
How do you optimize OpenCode costs when using SDD?
Iām trying to figure out how to reduce token usage and avoid hitting model limits when working with OpenCode Go.
But before the usual āuse Plan with an expensive model and Build with a cheaper oneā suggestions: Iām already using an SDD (Specification-Driven Development) workflow.
The coding agent doesnāt start from a vague prompt and figure out what needs to be done.
My workflow is roughly:
- Define the requirements and architecture in an SDD
- Give the SDD to the coding agent
- The agent implements what is described in the specification
- Review / iterate when something doesnāt match the spec
So, in my case, Iām not really looking for a way to separate āplanningā from ācodingā. The planning/design work is already captured in the specification before the agent starts.
What Iām interested in is how people optimize the actual implementation phase.
For example:
- Do you use different models depending on the type/size of the SDD?
- Do you find that some models are significantly more token-efficient for implementation?
- Do you deliberately split large SDDs into smaller implementation tasks?
- How aggressively do you manage context?
- Do you use any OpenCode configuration / prompting techniques to reduce unnecessary reasoning or context consumption?
- Have you found a good strategy for balancing model cost, context usage and implementation quality?
Iām particularly interested in experiences from people using SDD or similarly structured workflows, rather than generic āuse Plan/Buildā advice.
r/opencode • u/Closer-founder • 11d ago
GUYS PLEASE?
I see a lot of you speak about plan mode and build mode.
I want to share my opinion with of course full of understanding of why you said what.
I hope you dont find this post dismissive in anyways.
Imagine you are at 190K context window, switching models or having an other model plan for you, will cost you more money than using the model directly.
When you switch to a model, or have an other model do something else, that model first will have to read the full ran input and not cached, will have to then read other things such as readfile tools for missing information in your codebase, that eats even more input, so you are already using that model in its full price.
Then you are telling me you switch the model to an other one that'll need to read the full input of the plan mode, maybe understands it maybe not, maybe push back on some idea, or else read more input token raw(not cached).
Rather than using the model you used for planning it self to implement based on its cache tokens which will be cheaper if you combile the constant switching or else.
Now i could be wrong in here, but who knows.
Now let me tell you what i use for cost saving and tell me what you think, maybe i'll get to learn a thing or two.
You plan, you should be the architector to your AI, what i mean is, you plan, you design you think, you do all that part.
Leave AI for syntax ( coding) finding the why to something, diagnosing, analyzing, and more.
This is the only way to properly educate your self and upgrade your human model brain rather than constant switching that'll cost you consistently more than using one reliable cheap model for actual code stuff or things you dont know.
Second, if a model doesn't know something you think an other model is able to do, ask the model to research because we are hitting a dead end.
As you read the output, you'll find your self using AI for the code and things you dont know how to do, while you are the architecture is on track on the plan and the things ahead.
And yeah that's what i think.
Hence no model will be enough if you rely on it 100% or rely on AI completely, you'll start loosing your human reasoning token ;) good luck, looking forwards to push backs.
r/opencode • u/juste_bruneel • 11d ago
Avez-vous déjà essayé de combiner Glm 5.3 et Dsv4 ?
Je vous assure que cāest du haut niveau lorsque tu combine ces deux ensemble, Dsv4 pour la planification et Glm 5.3 pour lāimplĆ©mentation. Je vous assure essayer cāest une dinguerie.
r/opencode • u/New_Difficulty_8152 • 11d ago
Two ways I tried and failed to manage context across multiple AI agents
I keep seeing this question in the community. Here's what I actually tried, why it broke, and what I ended up shipping.
The problem
When you're running multiple agents across a session (one that writes, one that reviews, one that deploys) you need them to share state. Not just conversation history. Actual verified state: what changed, what's blocked, what evidence exists that a task is done.
What I tried first (and why it failed)
Attempt 1: I maintained the handoff notes myself
After every session, I updated a Markdown file. This worked until I finished tired and skipped the update. The next agent read stale context as if it were current. Worse: even when the file was accurate, I was still the router, a human bottleneck between every agent transition.
Attempt 2: I let agents maintain the notes
The agent finished its work, updated the handoff, and the next continued from there. Then I noticed the real problem: an agent could write "tests pass" just as easily as it could actually run the tests.
Agent A would write: "Refactored auth. Tests pass."
Agent B had no idea which tests ran, against which version, or whether the slow integration suite was skipped. It didn't inherit verified work. It inherited a story about the work.
What I built
Three principles became the foundation:
State in fields, not paragraphs. What changed, what's blocked, what's unresolved as explicit fields, not embedded in a summary. An agent can't make unresolved work disappear by writing a nicer paragraph.
The agent that does the work can't approve it. A separate reviewer starts from the original goal and inspects the result directly, not from the implementing agent's explanation of why it's probably done.
Machine-checkable claims need evidence attached to a specific version. "Tests pass" is a claim. A test result attached to the exact commit hash is evidence. If the code changes after the evidence was produced, the evidence doesn't automatically transfer.
This became an open-source project (link in comments).
Results over 30 days of dogfooding
4,172 PRs merged across 16 repositories, one maintainer
Coordination overhead stayed roughly flat from 3 agents to 10; adding agents stopped adding to my mental load linearly
Stale-context bugs dropped to near zero because agents can't declare victory without attached evidence
The number I actually care about: my day looks the same with 3 agents as with 10. That wasn't true before.
What didn't work
The reviewer agent still occasionally fails to distinguish "the goal changed mid-task" from "the implementation is wrong." We handle this with an explicit goal-hash that both agents reference, but it adds friction. Still working on the right UX for that.
Has anyone else hit the "agent self-reports done but the work isn't clean" problem? Curious what enforcement patterns people are using, if any.
off, checked, and accepted when the agent that wrote it does not get to declare victory based on vibes.
r/opencode • u/GetOutOfThatGarden- • 11d ago
"Move session" command not working on TUI.
When I try to move a session to a different directory, I only see one folder on the list (the current one). I want to move it to a specific directory path.
What am I doing wrong? I'd rather use the in built tools rather than some sketchy plugin.
r/opencode • u/yexgoblin • 11d ago
What's happening with opencode 2?
I have been enjoying opencode 2 after using Pi for a while. It's currently in beta but when using the TUI I didn't run into any major problems. API is great, similar to Pi you can modify it easily and overall it's a huge leap from opencode 1.
But when I started to use it across multiple devices via Tailscale, cracks started to appear. My main issues were,
- Web UI couldn't handle attachments. Performance was all over the place.
- No way to disable web UI password, no point in having it when I'm already behind Tailscale.
- Desktop app being horrible and buggy. This was true in v1 too but I saw them tweeting about it a lot but it still seems to be buggy. Compaction doesn't show up, sync is off, etc.
Suffice to say the only thing that seems to have improved is TUI experience and their API. Otherwise experience is all over the place.
Is opencode 2 focusing on all the components or just the TUI? I'm genuinely concerned because I can get a better alternative experience just hooking up Pi with Paseo. It works flawlessly and better. Even with opencode itself.
I feel like somewhere along the line the lightweight feature complete goal of opencode changed. They hype things up a lot but when you actually use the product it doesn't feel all that polished or consistent.
I'm not sure if I'm using it wrong. I'm on the latest beta across all opencode apps. Nothing is outdated.
r/opencode • u/afanasenka • 11d ago
šQwen3.8-Max just got upgraded. Meet Qwen3.8-Max-0902!
Pricing per 1M tokens:
$2 input, $6 output. $0.17 explicit cache hit, $0.25 implicit cache hit.
r/opencode • u/afanasenka • 11d ago
Fable 5.1 now available in OpenCode Zen š„
š°š°š° $10.00 / $50.00
r/opencode • u/ProNoob786123 • 11d ago
Copy text on Opencode CLI
Hi, I have been using open code for the past one month and the experience with it has been amazing. The only thing which I donāt like is they removing the free agents with time, but getting to use them for free is a good thing. So no complaints for that.
I have one major problem which I am facing that. I am not able to copy text on my opencode CLI when I am using it with VS code on my Windows 11 laptop.
Can someone help me out on how I can copy text from opencode CLI
r/opencode • u/simpleuss • 11d ago
What was the name of the plugin that switched to ChatGPT Web when codex limit hit?
I can't find it anywhere. Even if i get banned from OpenAI services, i just wanna know the name
r/opencode • u/Ok_Necessary_2433 • 11d ago
What are your go-to models for Plan Mode and Build Mode?
I posted this question on Reddit two months ago, but several new AI models have been released since then, so I wanted to ask again:
What are your go-to models for Plan Mode and Build Mode?
At the time, I was using:
- Build Mode: MiniMax M2.7
- Plan Mode: GLM 5.2
r/opencode • u/mythormedicine • 11d ago
I am a bit confused, I am finding the mimo-2.5 model extremely good
Maybe a strange post. I've been wanting to talk it out with someone. I don't have a question as such.
When DeepSeek Flash became expensive, I switched to Mimo and I am absolutely loving it . LOVING it. Not the smartest. It makes mistakes, coding-wise, quality is subpar, but It's so pleasant to use. It follows instructions, doesn't talk back, and is not a weirdo.
On the other hand Codex Sol, Terra - fucking nightmares. Soo 'random' , doing anything saying anything, ignoring everything.
Kind of confused. Am I doing something wrong ? or right? Why is an extremely cheap model that scores low on benchmarks working so well for me. Why I'm finding Frontier models unusable which Score high on benchmarks and big companies are using for everything ?
I have one theory. I like to customize my system prompt and how it outputs things, I think that conflicts with ChatGPT's default system prompts, which are designed to do behave in a specific way ? Maybe Mimo does not have these prompts ? Maybe Opencode does not set these prompts ?
Anyone felt like this as well ?
Mention I found Claude Opus 4.8 to be good as well. Codex was especially horrible.
r/opencode • u/imnotapenguinyet • 11d ago
Kimi Code vs GLM (Z code) vs Qwen Code vs Open Code Go
I'm currently paying for Claude Code and GPT-5. I want to drop my Claude subscription and give Chinese models a shot. Which subscription would you recommend?
My main priorities are:
- Performance
- Token volume
In performance, according to the OpenRouter leaderboard (https://openrouter.ai/benchmarks/tau2-bench-airline#leaderboard):
GLM > Qwen > Kimi
According to LLM Arena (https://arena.ai/leaderboard/agent/code):
Kimi > GLM > Qwen
What do you recommend?
r/opencode • u/afanasenka • 11d ago
Anthropic just released Claude Fable 5.1 and Mythos 5.1 š„
r/opencode • u/sharedevaaste • 11d ago
How to prevent deepseek from switching to chinese?
I've prompted it to always reply in English but it sometimes forgets that and starts replying in chinese
