r/opencode • u/shved03 • Aug 22 '26
0x Alpha Experience
The model is good so far tho, no complaints.
r/opencode • u/shved03 • Aug 22 '26
The model is good so far tho, no complaints.
r/opencode • u/petburiraja • Jun 27 '26
A few people asked how to set up the DS Flash + GLM 5.2 combo from my last post. Here's the exact config.
The idea: DeepSeek Flash handles the routine orchestration (cheap, fast, 1M context). GLM 5.2 steps in as an advisor subagent when the task needs actual reasoning. Flash pays ~$0.0003 per mechanical call. GLM only burns credits on the calls that need it.
Add this to your opencode.jsonc. Any of the three locations work:
~/.config/opencode/opencode.jsonc # global, all projects
~/.opencode/opencode.jsonc # project-level
.opencode/opencode.jsonc # per-repo, can commit{
"$schema": "https://opencode.ai/config.json",
"default_agent": "deepseek-flash",
"agent": {
"deepseek-flash": {
"description": "Primary agent. Fast, cheap orchestration for routine engineering work.",
"mode": "primary",
"model": "opencode-go/deepseek-v4-flash",
"steps": 30
},
"glm-advisor": {
"description": "Strategic advisor for second opinions, plan critique, and architecture tradeoffs.",
"mode": "subagent",
"hidden": true,
"model": "opencode-go/glm-5.2",
"steps": 15,
"temperature": 0.3,
"permission": {
"read": "allow",
"glob": "allow",
"grep": "allow",
"list": "allow",
"webfetch": "allow",
"edit": "deny",
"write": "deny",
"bash": "deny",
"task": "deny",
"question": "allow",
"todowrite": "deny"
}
}
},
"provider": {
"opencode-go": {
"apiKey": "{env:OPENROUTER_API_KEY}"
}
}
}Set default_agent to deepseek-flash. Flash handles every session, cheap and fast. When you hit a task that needs judgment -- architecture decision, plan critique, second opinion -- tell Flash to dispatch the glm-advisor subagent via the task tool.
Flash's system prompt already knows how to route:
Bounded mechanical work (classify, edit JSON, summarize): handles itself
Strategic work (tradeoffs, plan review, second opinions): dispatches to glm-advisor
If you want the advisor to follow a consistent output format, save this as .opencode/prompts/glm-advisor.md:
You are a sharp, honest senior advisor. All context is inline in the prompt below.
Never reference files, external sources, or prior conversations.
Structure every response in three sections:
1. CONCLUSION -- your direct answer or recommendation in 1-3 sentences.
2. REASONING -- the key factors, evidence, or logic behind your conclusion.
3. WATCH OUT -- caveats, failure modes, or what may have been missed.
Be direct. If the question has no good answer, say so and explain why.
Do not hedge unnecessarily. Calibrate confidence honestly.Then reference it in the config by adding to the glm-advisor block:
"prompt": "{file:.opencode/prompts/glm-advisor.md}"Before: GLM 5.2 running every call. Burning through opencode-go quota on routine work like "list files" and "run tests."
After: Flash handles everything routine. GLM only fires when you (or Flash) decide analysis is needed. In my usage, roughly 70-80% of calls stay on Flash. The other 20-30% use GLM, and those are the ones that actually needed it.
Flash is $0.14/M input, GLM is $1.40/M. For classification and formatting work under 2K tokens, Flash costs about $0.0003 per call. GLM on the same task costs an order of magnitude more for no meaningful quality difference.
The advisor subagent pattern keeps GLM in reserve for the work it actually improves: multi-factor analysis, architecture judgment, and second opinions. Everything else stays on Flash.
Flash and GLM both have 1M context. Context length is not a differentiator between them.
GLM's reasoning mode (effort=max) takes 60-120 seconds. Budget for it if you call it synchronously.
The advisor is read-only. It can read files, search, and fetch URLs, but cannot edit files, write code, or run commands. Output lands in the primary agent's context for review.
r/opencode • u/CYCLONOUS_69 • 26d ago

I've been trying to get my work done since 4+ hours and the model has been literally crawling.
I've been experiencing this since few days recently but today was just the lowest floor it hit for the inference speed.
Am I the only one who's having the issue or what?
Edit: Just got hit with this within minutes of posting and it is keep happening
Opencode failed to send message with error: Upstream request failed: [overloaded] the server is overloaded; retry shortlyr/opencode • u/afanasenka • Nov 03 '26
r/opencode • u/afanasenka • Oct 14 '26
$60 usage til Nov 30
r/opencode • u/ivanfenenko • Oct 15 '26
Started this as a hobby project on June 1: fully native apps for iOS and Android, built in parallel by a single AI agent working on both codebases at once.
It finally feels solid enough to share publicly:
Android: https://play.google.com/store/apps/details?id=dev.opencode.mobile
iOS: https://apps.apple.com/de/app/opencode-mobile-unofficial/id6799246544
Itβs unofficial and made by 1 person, so feedback and bug reports are very welcome. Happy to share about the parallel-agent workflow too.
r/opencode • u/LinsaFTW • 6d ago
r/opencode • u/MapacheD • Sep 05 '26
r/opencode
•
u/mira_fijamente
•
May 14 '26
I'm not a casual Opencode user. I've been using it for a long time, I've configured everything configurable, I've tried plugins, I've built them, I've used vanilla Opencode, etc. In fact, I currently work with my own setup using 1 container per session so agents can run freely. I say that to make it clear that I can confidently say there isn't a single layer of this program that's actually solid.
To be clear: I'm talking about the Opencode program and its whole monorepo ecosystem, the TUI, the CLI, SERVE, the Web UI, etc. I'm not talking about the "opencode zen" and "opencode go" service.
In the latest 1.3 versions, Opencode had what seemed like acceptable issues, meaning it wasn't that bad.
But 1.14.^ is a real mess. Every update fixes one thing and breaks 10 others.
For anyone asking for something specific: as of the date of this post, there was the 1.14.48 release, which lasted 3 days, where all subagents had no permissions at all. The problem is that I had some secondary workflows running in automatic loop mode, and when I noticed unusual token spending, more than 2x, it turned out many agents were trying to use subagents and those subagents had no permissions, but they hallucinated the tools instead. And those hallucinations are also Opencode's fault because it silently injects far too many prompts. So the main agents would keep trying to use a subagent, and if I was lucky, the agent would realize something was wrong and try to run the commands on its own. This wasted my time because I thought it was my fault, maybe some strange configuration issue, until I decided to test a downgrade and that did in fact work.
One of the biggest problems with Opencode is that these errors happen silently, without you realizing they happened. The example I mentioned proves that, because another user could easily believe everything was fine, since the LLM, despite the difficulties, was still able to complete the task, but under the hood your rules were not executed, the subagents that were specifically there to do the job properly were not actually used. So now you have a worse result at double the token cost, not because of the LLM but because of the software around it.
So this is the truth I learned from Opencode: "LLM intelligence covers up bad software"
I can't even be bothered to file an issue because they have something like 5 thousand open issues, not exaggerating, where if you're lucky, an auto-reply bot answers you.
For anyone telling me "Stay on one version," I'd really like them to tell me which one. Because it would be very naive to think I haven't considered that, but the problem is that Opencode pushes out like 2 to 3 releases per day. And let me say this: there hasn't been any period of Opencode, at least in the last few months, where I can say there was truly a stable version, because either it had other bugs or it had bugs I just hadn't discovered yet. It isn't even useful to fork a private version of Opencode because its code is so huge and messy that there's nowhere to get a handle on it, neither as a human nor as an LLM, maybe as an LLM if you have 5 separate two-hundred-dollar Claude and Codex accounts.
This project honestly shows that it started in a good direction because there are elements of the software in version 1.3.^ that I genuinely liked, but now it feels like something with no direction or shape. It feels like one of the clearest examples of AI-generated clutter right now.
The amount of tokens Opencode consumes is honestly striking because it pushes in a bunch of random prompts that I doubt any contributor can explain with certainty how they're built.
Sometimes I blame the LLMs because they don't follow some instruction, but then I set up an HTTP proxy to inspect what request Opencode is actually sending and I realize the reason for that behavior. It's not the prompts, it's Opencode, because the silent prompt injection is excessive and can interfere with your instructions, on top of the fact that it differs by model, by agent, by provider, etc. Even for custom agents it injects prompts aggressively, and I have all builtin agents disabled. And this would not be so bad if you could actually do something about it, but you can't configure it, and it isn't documented either.
That's when I realized that at least 30% of token spending, hallucinations, and low-quality results is not the LLMs' fault, and not my prompts' fault, it's the software itself.
I don't use plugins, it's vanilla Opencode. I even wrapped it in a container so the agents can simply run unrestricted.
I'm not asking for anything unusual, and I don't consider myself demanding. I'm literally asking for the expected vanilla behavior, which I think is the bare minimum.
So why would I use a Harness Coding Agent that limits the models, does a worse job, and costs me more tokens?
I think the problem with Opencode is that it tries to be too many things and does none of them well. I'm not going to waste more time and tokens on it.
Honestly, I've already wanted for a while to migrate to another coding agent, but I kept postponing it because it meant learning a different kind of configuration. Not anymore.
There are too many alternatives to keep going with Opencode, and at least for now I really don't think there is any rational reason for me to recommend Opencode to anyone.
r/opencode • u/afanasenka • Aug 26 '26
r/opencode • u/Proper_Patience8639 • 15d ago
Wow this is getting eaten up.
I'm a real multitasker though.....
r/opencode • u/Which_Lie_8932 • 11d ago
I realize running AI models costs money, but is it really so tight that I can only type in one prompt and the model rate limits after two actions? The model "read ." I'm not sure what that does completely, but I'd guess it just shows the model the directory structure rather than reading all the files (which still shouldn't reach rate limits)
r/opencode • u/crmlr • 22d ago
I wanted an easy way to continue my OpenCode projects on my iPhone from anywhere - iOS handoff style - and then pick them back up on my computer.
I've been spending some tokens on Localzie for that - proudly built on OpenCode. It has all the tools OpenCode has (e.g. questions, show source code, ...) so you don't even need your computer if that's what you're looking for. And it works great with OpenCode v2!
I'm not claiming it does anything better than other apps. I wanted to play around with building it, and I also wanted an easy way to connect to Hermes or directly to my own local models from the same app.
For anyone interested it's free on the App Store https://apps.apple.com/app/id6813506926, and setting it up is as easy this:
v2:
(only once)opencode service set hostname 0.0.0.0
(only once)opencode service set port 4096
Then start OpenCode normally opencode
v1:opencode --hostname 0.0.0.0 --port 4096
r/opencode • u/shadowsyntax43 • 15d ago
r/opencode • u/AaronChen0 • Oct 12 '26
It looks like the usage allowance for DeepSeek V4.1 Flash on the $10/month OpenCode Go plan has increased from $60 to $80 in usage value.
I just found out this today. Is this a permanent change, or just a temporary adjustment?
Edit: opencode announced this in their official X/Twitter https://x.com/opencode/status/2109573342584058065
r/opencode • u/afanasenka • Sep 29 '26
r/opencode • u/Lanky_Tomatillo9857 • Jul 06 '26
For context, I have used the top frontier models before switching to Opencode Zen, and Opencode harness + Deepseek-v4-Flash is genuinely more than enough to get everything done.
I rarely need/use visual input but if I do, I switch to MiMo
I don't "vibe code" I plan and document the most important aspect diligently with good clarity before I push a prompt
I manually define my data structure, architecture decisions, schemas, workflows for functions, and features. May clarify them on plan mode before implementation.
Then I let Deepseek-v4-Flash implement the plans in build mode.
I like to know how my code runs. It makes it easier to plan debugging or upgrades. And I make upgrades pretty often since I have active users. In the past, asking AI to make the changes without being tapped in just led to more work due to mistakes I did not know it made (even with Claude).
I know the other models seem to do better in benchmark testing but in experience with my workflow I have not seen much of a difference to justify the higher cost.
So I am curious
What are your go-to models?
How involved are you in your workflow?
When is Deepseek-v4-Flash genuinely not enough?
r/opencode • u/kamwee • Aug 23 '26
The model (server) is struggling to keepup with the demand .Today its even slower that i had to just randonmly type something in the chat to check if its still doing something but as a broke user i can't complain .
r/opencode • u/TheDeepArchive • Aug 13 '26
Part 2 (who implements fixes better?): https://www.reddit.com/r/opencode/comments/1vnhrgw/deepseek_v4_flash_0731_vs_deepseek_v4_pro_0813/
My previous post comparing these two models wasn't as accurate or reliable as I would have liked β the analysis was too shallow, the sample too small, and the conclusions too impression-based. So this time I built a proper benchmark to get real numbers.
I know a lot of people are wondering about the difference between two of the cheapest latest models β DeepSeek V4 Flash (0731) and DeepSeek V4 Pro (0813). I was wondering too, because these are the models I use for most of my daily work. I wanted to know: what results should I expect from each of them, in which situations, and how to combine them.
So I built a small benchmark on one of my production projects and ran both models through it. The project is a Python + PySide6 desktop application with a multi-stage content pipeline. Here are the results.
For a sense of scale, this is the codebase the benchmark was run on (screenshot of its knowledge-graph):

The benchmark covered 6 task types, designed to exercise different cognitive demands:
Architecture review of a ~7k-line pipeline module (SOLID/DRY/KISS, dead code, typing, performance).
Fact-flow tracing β enumerate every write site of a core JSON artifact, with line references.
Live bug hunt β find the root cause of a real data-loss regression present in the current codebase (not a synthetic bug).
Refactoring plan for a small module (priorities, risks, tests, preserved contract).
Instruction-conflict test β a task asking to modify a module that the repo's own AGENTS.md explicitly forbids touching (tests whether the model follows project instructions).
Impact analysis β what breaks if a widely-used manifest field is renamed.
Execution protocol:
18 runs total in 5 phases. Tasks 1 and 3 were executed twice per model in fresh sessions to measure repeatability; the rest once. Two additional combination runs (see below).
Every run: fresh session, identical prompt, identical tooling (code search, code graph, git history), read-only mode.
The models didn't know they were being benchmarked β no benchmark files were shared with them.
239 atomic claims were extracted from the outputs, anonymized, and verified by a third model (Qwen 3.7 Plus) plus a second independent verifier against the actual code.
Canonical answer keys were built beforehand to measure recall (how many of the known findings each model caught).
Known-answer ground truth for bug hunting: 3 real latent bugs (found by a prior manual audit) β the task measured how many each model could find on its own.
The benchmark ran inside opencode 1.18.16 (CLI coding agent) with the following stack:
MCP servers: aik (AI-powered code suggestions & analysis), codebase-memory-mcp (codebase context storage/retrieval across sessions), filesystem (file operations: read/write/search), sequential-thinking (complex multi-step reasoning & planning), sqlite (SQLite database queries & management), tavily (web search & information retrieval).
LSP: pyright (Python type checker & static analysis), yaml-ls (YAML syntax validation & autocompletion).
Plugin: alkdev/open-memory (persistent memory storage of architectural decisions & insights).
Both models had identical access to this tooling in every run.
| Metric | DeepSeek V4 Pro (0813) | DeepSeek V4 Flash (0731) |
|---|---|---|
| Claim accuracy (exact) | 95.9% (162/169) | 95.7% (67/70) |
| Hard factual errors | 0 | 1 |
| Verifiable output volume | 169 claims (2.4x more) | 70 claims |
| Real latent bugs found (of 3 known) | 1/3 | 3/3 (2 unique to Flash) |
| Run-to-run consistency | low (depth varied ~2.7x between runs) | high |
| Instruction adherence (conflict task) | 5/5 | 5/5 |
| Cost (requests quota per 5h) | 3,450 | 31,650 (~9x cheaper) |
Factual accuracy is statistically identical (~96%). The original assumption "Flash is sloppy with facts, Pro is precise" did not hold up in benchmark conditions. What differs is not accuracy β it's what each model focuses on, and the type of rare errors each one makes.
Strengths
Broad, deep structural analysis: layer violations, unused abstractions, duplicate code pairs, typing gaps (dict vs typed models), performance analysis (algorithmic complexity, repeated I/O, model-loading bottlenecks).
Zero hard factual errors across 169 claims β its line references can be trusted for making code edits.
Best output for architecture reviews, refactoring plans, and documentation.
Exhaustive reports when it's in a good run (its best run was ~3x deeper than its average).
Weaknesses
High run-to-run variance: report depth varied 2.7x between two identical runs (354 vs 118 lines). A single run is a lottery β sometimes exceptional, sometimes merely good.
Missed latent bugs in error-handling branches: 2 of 3 known bugs were found by Flash but not by Pro in two runs.
~9x more expensive in request quota.
Strengths
Exceptional at finding bugs in edge/error paths: found 2 real latent bugs that Pro missed in both of its runs (a broken code-path condition in a manifest-repair function, and a resume-numbering bug with custom pauses).
Highly consistent between runs β same focus, same quality.
~9x cheaper quota.
Equal to Pro on instruction adherence and prompt following.
Weaknesses
Less breadth: fewer architectural findings, more compact reports.
1 hard factual error of a specific type: it invented a plausible-sounding edge case (claimed a data-loss scenario that the code doesn't actually have β an empty filter list is treated as "no filter", not "empty result").
This error type is worth noting: a false alarm is cheap in a review, but dangerous if the model edits code autonomously based on its own claim.
Bug hunting and edge-case review β Flash first. 9x cheaper, finds more real bugs, stable across runs. Its rare errors are false alarms β cheap to verify, and a false alarm costs less than a missed bug.
Architecture review, refactoring plans, documentation β Pro. Breadth + zero hard errors; its output can be used as a checklist for edits without re-verifying coordinates.
Code edits with precise line references β Pro only (or Flash + a mandatory Pro fact-check). Pro's error profile is the safe one when the output drives actual code changes.
Never rely on a single Pro run for a complete audit β run-to-run variance is real. Either run it twice, or pair it with a Flash pass.
"Flash scan β Pro finalization" β Flash produces the draft (bugs + core problems, cheaply), Pro corrects/rejects/completes with change markers. Result quality was >= any single-model run. This was the best mode overall.
"Pro fact-check of Flash's report" β Pro verified ~70 of Flash's claims: confirmed both of its real bug findings while catching 3 interpretive inaccuracies. For anything important, this pairing is the safe default.
The difference is not "smarter vs dumber" β it's attention policy. Pro maximizes breadth (risking shallow coverage of deep edge paths); Flash maximizes depth of edge paths (risking a rare invention). Both are ~96% accurate.
Rare-error profiles differ: Pro undercounts (conservative β underestimates parameter/field counts), Flash overreaches (invents plausible but wrong edge cases). For an agent that edits code, Pro's profile is safer; for a reviewer, Flash's is fine and its bug-finding is better.
A two-model pipeline beats either model alone. The optimal workflow measured here: Flash as the cheap scanner β Pro as the verifier/finalizer. It found more real bugs than Pro alone and produced more trustworthy output than Flash alone.
Bonus: the benchmark itself surfaced 3 real bugs in my own codebase (a dead code-path condition, a resume-numbering defect, and a NameError in an error branch) β plus a data-loss regression in the claims-verification flow. The tool paid for itself.
Setup notes: benchmark harness with fresh sessions per run, identical prompts/tools, read-only analysis, third-party claim verification (Qwen 3.7 Plus), answer-key-based recall measurement. Single codebase, 6 task types β treat the numbers as a profile of behavior, not a universal ranking.
r/opencode • u/DeepSeaLab • Sep 08 '26
OpenCode has gone completely insane.
I occasionally use their service to run programming tasks, and sometimes for translations, but overall my usage is very low. Below is a screenshot of my current usage (strangely, it says my account is blocked, yet I can still view my usage β I'm logged in and haven't been signed out).

I've already added the `x-opencode-session` header as requested in their email, and the test call worked fine at the time. But the next day I received an email saying my account doesn't meet their requirements, with this:
> HTTP 401: This account has been found to be committing fraud or is in breach of terms of services and has been blocked. If you believe this is a mistake please send an email to [email protected].
What makes me angry is:
Why did they suddenly impose this unreasonable requirement β asking me to add a specific request header β *after* they had already charged my money?
Even after I added the header, why did they still block my account?
I feel that OpenCode's service is becoming increasingly weird.
r/opencode • u/amjadmh73 • Jun 01 '26
I started using this model after seeing positive reviews about it both on Reddit and in X. This is the closest thing to Opus 4.5 since Opus 4.5 (haven't tried Chat GPT 5.5).
If you haven't tried it yet and you want a good model with competitive pricing for software engineering, you are missing out.
Good luck!
ββββ- EDIT ββββ-
Most people pointed out this model is great at instruction following and implementation. For planning, I should use the pro variant or Claudeβs main models (Opus or Sonnet). Thanks for the feedback, folks.

r/opencode • u/afanasenka • Oct 28 '26
https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-carbon/
Introductory price: $2 input / $10 output
r/opencode • u/YoRt3m • 16d ago