r/opencode • • Jul 25 '26

Opencode big pickle just wiped my database

7 Upvotes

thankfully its just a mock system for my university project, but still this is infuriating. No any data wipe reconfirmation or whatsover too, smh. I asked to rename a table to another one. It wipes all table in the db and recreate them all back LMAO. Im stupid enough to believe in AI for such simple task


r/opencode • • Aug 16 '26

Why is everyone ignoring mimo? it is just as smart as the preview flash?

Post image
2 Upvotes

r/opencode • • Sep 18 '26

Extremely low limits in open code

2 Upvotes

OpenCode Go has gotten much worse.

How is it possible to reach 20% monthly usage by using 100% of the daily quota on the first attempt?


r/opencode • • Oct 29 '26

Alternative open code free models is there any other another any Other IDE with provides same models like deep seek and glm the limits are to small that i can't even use it like for basic web development and front and back and I think it's really not enough

0 Upvotes

r/opencode • • Oct 23 '26

I got scammed

44 Upvotes

Deepseek API

DeepSeek V4.1 Flash 1017 . 232.1 tok/s

Opencode Free tier

DeepSeek V4.1 Flash Free · 31.8 tok/s

Opencode Go

DeepSeek V4.1 Flash · 7.6 tok/s

What a great service... Can't even get a refund


r/opencode • • Aug 04 '26

OpenCode Go throwing "only available hosted in China" error for DeepSeek V4 Flash

3 Upvotes

If you are using an OpenCode Go subscription, the platform is now blocking requests to the new DeepSeek V4 Flash model with the following error:

"The latest version of this model is only available hosted in China and requires explicit opt in: opencode.ai"

Just giving a heads-up to anyone else running into this block on their workspace.


r/opencode • • 13d ago

I've just learned that opencode has been passing my most personal and intimate prompts along to their backdoor provider, and I don't feel right about it at all.

0 Upvotes

I picked a provider with a privacy policy for good reason, and now I find OpenCode has been siphoning off the full prompts, under the pretense of picking a title for the session. Now, I know I can go change that hidden away in the settings of the config file, but what about all my prompts that already went out in the open?


r/opencode • • Oct 11 '26

A Call to Action for Open-Source Developers: Build Alternatives to Adobe, Microsoft, Autodesk, and Subscription-Locked Software (CHATGPT response involving this topic)

Thumbnail reddit.com
1 Upvotes

r/opencode • • May 19 '26

How do you make agents run for hours, and what architectures are actually agent-friendly?#deep-dive #vibe-coder-issues

0 Upvotes

This is mostly aimed at vibe coders who are unable to or don't want to guide agent every 10 minutes.

My two biggest questions are:

  1. How do you actually make a coding agent keep working for at least 1 hour, ideally 8–20 hours without constantly telling it to continue?

  2. What language/framework/architecture is actually agent-friendly for a local app that integrates many existing technologies and has a lot of real-time-ish flows?

The first question is the immediate practical one.

How on earth do people make these agents keep running?

Unless I write some script that watches the terminal and keeps sending:

«continue unless you are fully done; if you are fully done, say DONE as your last word»

or unless I build some server hook / automation loop around the agent, it just keeps stopping. It finishes when I do not want it to finish. It reports halfway through the plan. It asks for input when there is nothing useful for me to evaluate yet.

So I’m asking very practically: what are people doing right now to make agents actually work for long stretches?

The second question is about architecture.

I’m trying to figure out what kinds of architectures are actually good for AI-maintained local applications, especially systems that may eventually reach tens of thousands of lines and coordinate multiple local components/processes.

I thought an event-driven architecture might be good for this. I tried going in that direction with NATS-style communication. But my current impression is that agents are not good at it. Maybe I did something wrong, but it felt like the agent became terrible at reasoning about the system once everything was happening through events.

If the agent has to understand the system by reading event logs, tracing IDs, and reconstructing causality from a stream of messages, that feels like a bad fit. Maybe this is just not agent-friendly, at least not for a solo/vibe-coded local application.

So the deeper question is:

«What architecture makes an AI agent unusually good at maintaining and extending the project?»

Not what architecture is theoretically elegant. Not what architecture is optimal for a senior engineering team. What architecture is actually easiest for the model to reason about, test, debug, and extend?

The rough workflow I want is:

  1. Put the model on extra-high thinking.

  2. Give it a messy pile of project material: old specs, notes, partial repos, failed ideas, design thoughts, todos, architecture sketches, etc.

  3. Make it spend serious effort organizing that into a usable knowledge base.

  4. I review/correct that knowledge base.

  5. Then make it spend serious effort writing the implementation plan.

  6. I review/correct the plan.

  7. Then make it execute for a long stretch in a sandbox without constantly stopping and asking me to say “continue.”

Roughly:

«1 hour knowledge organization
1 hour implementation planning
20 hours execution»

The exact numbers are not the point. The point is depth and continuity.

I do not want the model to spend 5 minutes writing a plan, 10 minutes coding, and then report “done.”

The first problem is messy context.

If I give an LLM a bunch of files, old specs, old ideas, and previous attempts, it often treats everything as if it was written today and is equally valid. But half the material may be obsolete, contradicted, abandoned, experimental, or from a failed attempt.

The model does not magically know the status of each piece of knowledge.

So I feel like there needs to be an explicit intermediate stage: not coding, not planning, but knowledge organization.

Something like:

- current requirement
- old requirement
- obsolete idea
- failed attempt
- unresolved question
- architectural constraint
- implementation detail
- still-useful note
- contradicted by later note
- needs user confirmation

Then I can correct the knowledge map before the model starts planning.

That seems much more useful than dumping 50 files into context and hoping the model “gets it.”

Is anyone using tools/workflows that actually do this well?

The second problem is shallow plan mode.

A lot of current “plan mode” workflows feel shallow. The model asks two or three questions, writes a short plan, and then acts like it has enough alignment.

But that is not what I want.

I want the model to actually spend real effort thinking through the system before writing code.

People always say some version of:

«5 minutes of planning saves an hour of work.»

Fine. Has anyone actually made that real with LLM coding agents?

Because right now a lot of agent planning feels like a formality. It asks a few questions, writes a plan, and then immediately wants to start coding. Or it keeps rewriting the whole plan over and over instead of thinking deeply first and then writing a stable plan.

Maybe the missing workflow is not just “plan mode.” Maybe it is something like:

«plan the planning → organize the knowledge → ask real questions → write the implementation plan → execute until the plan is actually complete»

The third problem is premature reporting.

This is probably my biggest issue.

The model writes an implementation plan. I review the implementation plan. Then it starts implementing. Then it stops halfway and reports back.

Why?

If I already reviewed the implementation plan, why does it need me to keep saying “continue implementing the plan”?

If it has not hit a fundamental blocker, if the plan has not become invalid, and if there is nothing genuinely useful for me to evaluate yet, why is it reporting at all?

A lot of completion reports are basically just the implementation plan rewritten in past tense:

«I added X.
I implemented Y.
I updated Z.»

That is not useful to me.

For a vibe coder, I do not want to inspect a pile of changed files. I do not want a past-tense summary of the plan. I do not want a fake checkpoint that exists only because the agent decided to stop.

What I want is one of these:

  1. A working thing I can actually run.

  2. A clear presentation layer that shows me something tangible.

  3. Exact instructions for how to test it and what to look for.

  4. A genuinely important question that changes the plan.

  5. A real blocker that prevents progress.

  6. Or, if none of those apply, just keep executing.

If the current work is still mostly mocks, scaffolding, internal wiring, or abstract architecture, then there may be nothing useful for me to evaluate yet.

In that case, why stop?

Why not finish the planned implementation first, then let me test and evaluate when there is actually something to evaluate?

Whose time is more precious: mine, or the agent’s?

I am not saying the agent should never stop. It should stop if:

- the plan is fundamentally wrong
- a major architectural decision is needed
- a blocker cannot be resolved
- it has something real and testable to show
- continuing would obviously waste a lot of work

But if it is just stopping because it completed “some steps,” that feels useless.

The fourth problem is making agents actually work for long stretches.

How are people actually spending their token budgets productively?

With some subscriptions and API setups, the amount of possible usage is huge. But in practice, I find it hard to spend it well because the agent keeps stopping, asking for input, or producing reports that do not help.

How do you make an agent execute for one hour, eight hours, or overnight?

Can you actually do this in a useful way right now?

Do you use scripts that automatically send continuation prompts? Do you use hooks? Do you run agents inside some kind of supervisor process? Do you use a specific tool that already solves this? Or is the answer simply that current agents cannot really do this yet without external automation?

I have tried or looked into OpenCode, OpenClaw, Gemini, Claude, Codex, Pi, and a bunch of Kanban-board-style workflows.

My current impression is that OpenCode with Docker sandboxes is one of the more practical setups. Terminal UIs feel more reliable to me than a lot of GUI agent setups, and Docker sandboxes feel like a decent practical compromise, especially on Windows if you do not want to deal with a full WSL workflow. Not saying WSL is bad, and obviously sandbox security is its own topic, but Docker sandboxes feel convenient.

I have not deeply tried the “agents roleplay an organization” style of workflow. Maybe I should before judging it. But from the outside, I worry that a lot of multi-agent setups become corporate roleplay: workers praising each other, moving cards around, doing shallow reviews, and spending my money on simulated middle management.

Is there a recommended setup that actually achieves the goal?

Not roleplay. Not card movement. Not fake review loops.

Actual useful long-running work.

The fifth problem is language/framework choice.

For AI-heavy coding, I’m starting to think one of the most important constraints is:

«Is the model actually good at working with this language, framework, and project structure?»

For normal engineering, you might pick something because it is technically optimal, elegant, fast, scalable, or theoretically clean.

But if the main implementer/maintainer is an LLM, model proficiency becomes a first-class constraint.

A boring, widely represented stack may beat a technically superior stack if the model is much better at writing, debugging, testing, and extending it.

This seems especially important for vibe coders. If the agent is eventually supposed to handle tens of thousands of lines, I care less about what is theoretically elegant and more about what the model can reliably modify without causing cascading breakage.

Are there good benchmarks or practical community knowledge on which languages/frameworks current models handle best?

The sixth problem is architecture.

I’m trying to figure out what kinds of architectures are actually good for AI-maintained local applications, especially systems that may eventually reach tens of thousands of lines and coordinate multiple local components/processes.

At first, it is tempting to optimize for extensibility:

- make everything swappable
- make everything modular
- make it easy to add new components
- make components communicate through clean boundaries

But I’m starting to think extensibility matters less than maintainability at the beginning.

The first priority is making the thing actually possible to reason about, test, repair, and expand without every change breaking ten other things.

So maybe the default should be:

- clear component boundaries
- explicit interfaces
- boring communication patterns
- deterministic tests where possible
- mocks at boundaries
- real pressure points represented in tests
- replace one mocked component at a time with a real component
- every component can be tested in isolation

Basically: make the architecture agent-legible before making it powerful.

A folder structure template is not enough. I’m more interested in reusable architecture templates where the component communication, boundaries, testing strategy, and failure modes are already thought through.

Do repos like this exist?

Not just:

«here is a folder layout»

but more like:

«here is a healthy skeleton for building a local multi-component application that an agent can keep extending without turning it into spaghetti»

The seventh problem is orchestration.

Do Kanban boards, orchestrator/worker setups, and multi-agent systems actually help with this?

A static task board seems limited because after task 3 is done, task 8 may no longer make sense. Someone has to re-evaluate the plan. The agent needs to manage its own work, not just move tasks from “todo” to “done.”

Maybe persistent sub-agents/workers would help. For example:

- one worker owns tests
- one worker owns architecture
- one worker owns a subsystem
- one worker owns documentation/knowledge state

But that can also become useless roleplay if it is not grounded in real artifacts.

Has anyone found a multi-agent workflow that actually works for this kind of long execution?

The eighth problem is whether my preferred approach is even optimal.

Maybe this workflow:

«organize sources → plan deeply → execute for a long stretch»

is worse than:

«run multiple worktrees/agents in parallel with different constraints → compare implementations → keep the best ideas»

That might be a better way to spend a large token budget.

But it also creates another problem: now I have to review multiple implementations, fix multiple broken versions enough to compare them, and give slightly different instructions to each branch.

Has anyone compared these approaches in practice?

  1. One deep workflow that spends a lot of effort organizing knowledge, planning, and then executing for a long stretch.

  2. Multiple parallel worktrees/agents generating competing implementations that you compare afterward.

Which one actually works better for non-trivial projects?

My questions:

  1. How do you make coding agents keep working for 8–20 hours without constantly telling them to continue?

  2. Are there tools/workflows that first organize a messy project knowledge base before planning?

  3. Are there serious AI planning workflows that go deeper than current shallow “plan mode”?

  4. How do you stop agents from reporting halfway through the plan unless there is something actually worth showing?

  5. What languages/frameworks are currently most agent-friendly in practice?

  6. What architectures are actually good for AI-maintained local applications with many flows/components?

  7. Are event-driven/message-based architectures just a bad fit for AI-maintained projects, or am I using them wrong?

  8. Are there reusable architecture templates that define healthy component communication, not just folder structure?

  9. Is it better to run one deep workflow, or multiple parallel worktrees/agents and compare outputs?

  10. What does your actual overnight or long-running AI coding workflow look like?

I am not asking for hype, future predictions, or emotional takes.

I’m asking this in the most practical way possible.

Maybe my framing is wrong. Maybe the real bottleneck is somewhere else. If so, criticize the premise.

I mostly want to know what people are actually doing right now that works.

Sorry for ai generating this, but I made sure to review it bunch of times.


r/opencode • • 17d ago

AIReiter: $10/mo → $60 allowance each on Sonnet 5.5, 6.1 Terra, Argon. Comparable value to Claude Pro / ChatGPT Plus?

0 Upvotes

AIReiter if I'm not wrong, a newcomer in this provider market. $10 subs is early bird promo until next year. Next year the price will doubled to $20. So you probably can get 1st 2 month subs for $10 each.

For Argon it's clearly better than OpenCode Go's $30 allowance at the same price, Google AI Pro idk.

But the question is for Sonnet 5.5 on Claude Pro $20 — is $60/mo of API-priced tokens actually similar in Claude Pro $20(if ÷2)? Same question for 6.1 Terra.


r/opencode • • Oct 25 '26

I ran a blind test of local agents, OpenCode is one of them. Results inside, can you spot it?

0 Upvotes

so I ran a blind test of local AI agents on my M5 Max MacBook Pro 64GB, every agent on the same Qwen 3.8 27B uncensored Q4_K_M via llama.cpp. OpenCode is one of the five. same 5 everyday tasks for each, names are hidden, results below, guess which letter is OpenCode

The tasks

  1. Contacts: merge two lists with the same people, messy emails and two different Alex Kims

  2. Rename: one function across 3 files with messy spacing

  3. Bug fix: with hidden tests

  4. Errors: count them in 3 log files

  5. Receipt: PDF to spreadsheet

Results

Agent1. Contacts2. Rename3. Bug fix4. Errors5. ReceiptTotal
A✅ 4:54✅ 0:28✅ 0:43✅ 0:26✅ 3:5810:29
B✅ 6:03✅ 1:11✅ 0:55✅ 0:54✅ 15:0424:07
C✅ 13:32✅ 0:24❌ 0:22✅ 0:57❌ 0:4916:04
D✅ 6:16✅ 1:12✅ 0:56✅ 0:56✅ 2:5012:10
E✅ 5:50✅ 1:01✅ 0:21✅ 0:26✅ 3:5611:34

All 5 got the contacts right (46 people), all 5 passed the rename, all 5 counted 43 errors. The bug fix and the receipt are where they split.

Each agent, good and bad

  • A (5/5, ~10 min): fastest of the bunch, never stuck. Installed a Python library on my hardware without asking.

  • B (5/5, ~24 min): everything right, took the longest by far. 15 minutes on the receipt alone, and it also installed libraries without asking.

  • C (3/5, ~16 min): turned "Q3/Q4" into "q3q4" instead of "q3-q4" on the bug fix. On the receipt it was the only one that asked before installing anything. Nobody answered, so it failed.

  • D (5/5, ~12 min): solid everywhere and explained its work well. Then asked what I'd like to call it, a bit random mid-task.

  • E (5/5, ~11 min): fast and clean on every task, nothing to complain about.

One agent at a time, auto-approve on, results checked by a script. Who's in it (alphabetical, NOT the results order): Atomic Agent, goose, Hermes, OpenClaw, OpenCode.

You use OpenCode every day, so which letter is it? Drop your guesses below, I'll share the full answer key in a day or two.


r/opencode • • 9d ago

What are the limits of OpenCode????????

0 Upvotes

What.

There is a 130,000-token limit; what kind of harm could setting such a limit cause you?


r/opencode • • Aug 09 '26

Opencode models are really slow

0 Upvotes

so i am using free models mainly deepseek v4 flash free and mimo free but the thing is from today morning the models are working insanely slow like basic tasks would take 4 minutes or more whereas before they were fine.I tried updating opencode but nothing.Can you tell me what is the reason and how to make it better.


r/opencode • • Aug 27 '26

Wakeup para o Opencode

0 Upvotes

Resolvi postar isso porque pode ser útil para alguém.

Semanas atrás andei trabalhando num projeto que executava o Claude Code de forma autônoma por mais de 24h (ele ficava executando processos, monitorando e tomando decisões e se ajustando), e percebi que para essa autonomia ele utiliza 2 tools muito legais que não existe no Opencode de forma nativa, a scheduler_wakeup e monitoring.

Então desenvolvi um plugin muito simples para o Opencode que tem alguns desses recursos, de forma simplificada mas útil.

Estou compartilhando com a comunidade se alguém tiver interesse.

https://github.com/wmskill/wmwakeup

Está sendo útil para mim.


r/opencode • • Aug 20 '26

I guess it's time to go now :(

Post image
0 Upvotes

I have never hit this limit before.


r/opencode • • 12d ago

StradaOS 2.24: two premium themes, free for everyone, as a thank-you for ~9,000 downloads (free, open-source launcher for Android car head units)

Thumbnail
gallery
0 Upvotes

StradaOS, a free, open-source (GPL-3.0) launcher for Android car head units. It's a regular APK: no root, no flashing, no ads, no accounts. Uninstall it and your screen goes back to how it was.

The project just passed ~9,000 downloads and 356 stars on GitHub, so 2.24 ships two premium themes for free:

- Aurora: translucent glass cards over a soft ring of light, a big clock, cover art with a progress ring around it, a mixed speedometer and a "Map only" button.

- Cobalto: night blue in three columns. The map fades into a round-cover music player, and your car card shows the speedometer, a photo of your car and the next maintenance.

Both have light and dark versions and adapt to landscape and portrait (Tesla-style) screens. They're in Settings → Personalization, next to 4 free layouts.

Full transparency: future premium themes will be unlocked with a donation. Every feature stays free and the code stays open.

What else it does today:

- Built-in turn-by-turn navigation on OpenStreetMap: search, voice, rerouting, and approximate offline routes with a downloaded map. Off by default; base code by contributor nothanks91.

- Offline maps you download from the app

- GPS speedometer: digital, analog or mixed

- Maintenance reminders (oil, filters, insurance…)

- Your music on the home screen, and Android Auto by cable with Open Headunit

- 10 languages, Android 4.1+

🌐 Website: https://lordnordic-debug.github.io/StradaOS

💻 GitHub: https://github.com/lordnordic-debug/StradaOS

☕ Ko-fi: https://ko-fi.com/stradaos

What head unit are you running? Tell me the model and Android version and I'll check if it works.


r/opencode • • Oct 22 '26

Rank beginner with Macbook Air (age 70)

0 Upvotes

Hmm, OpenCode seems unsuitable for my layman's needs of developing a personal app. I have been at this for three months and progress is excruciatingly slow. The devil you know? So, if I am not tech-savvy, why aren't I instead using 123Base or Bolt.new that will 'hold me by the hand'? Well, I tried both. They seemed like toys. But mostly I stay because I need total control, especially for when I move on with my data, code and meticulous instructions.

However, ever since I switched from browser version to desktop version speed has gone down to 15-20% of prior. Those social media ads about creating apps in minutes (not even hours) I think they are rubbish.


r/opencode • • Aug 04 '26

Kimi K2.7 Code cheaper and performs similar to DeepSeek V4 Flash 0731 at agentic coding?

0 Upvotes

Agentic Coding LiveBench performance:

DS: 47

KK: 46

OpenCode Go input/output prices:

DS: $0.14 / $0.28 (6x usage)

KK: $0.95 / $4.00 (6x usage)

however, Agentic Coding cost per successful task:

DS: $1.48

KK: $0.87


Does this mean Kimi uses orders of magnitude fewer tokens and despite its higher sticker price it will cost less than DeepSeek? I'm a new user so please explain if there is a mistake here.


r/opencode • • Aug 19 '26

Why is Muse not available in Pakistan?

0 Upvotes

I've been trying to use the new Muse model through OpenCode CLI, but whenever I select it, I get

'This model is not available in your country'

Is this a temporary restriction, or is Muse intentionally unavailable in Pakistan?

Would also be good if someone from OpenCode could clarify whether Pakistan will be supported in the future. Anyone know what's going on with the country restriction?


r/opencode • • Aug 26 '26

Looks like Ox Alpha free version is being removed from Opencode.

0 Upvotes

I presume that they are going to remove the free version due to the heavy demand, and put it behind subscription.
I liked it, i thought that it would fill the role of DSv4 but it seems i need to start searching for models again. Im using MIMO v2.5 and pro in opencode and i could see the difference compared to DSv4 (DS > MIMO IMO), but right now MIMO is the goto for my team.

PS. English isn't my native language.


r/opencode • • Oct 24 '26

Small rant

0 Upvotes

So I have never, ever come close on my usage for opencode go. I was working on a project a week ago and opencode update and all of the sudden it was like, "hey, this would be the perfect time for me to spin up some subagents, want me to?" and I was like "wtf, I didn't know you could do that, sure give it a shot". Then I go do something stupid like, go to the bathroom or get a drink or something that took 5 minutes. I come back and opencode is spinning up subagents with ALL the most expensive models and burns through like 35% of my usage... I'm strictly a deepseek/glm flash guy.... and then to top it off opencode makes the free stuff useless... so I'm out of usage now for a week.... I gave command code a dollar so I can keep working.


r/opencode • • Jul 09 '26

Kimi k2.7 code with mini subscription >>>>> opencode go k2.7 code

3 Upvotes

I feel like this model through opencode go is less intelligent than direct api

Anyone felt the same?

Are they doing scam by running some other cheaper model?

❌Mimi
✅Kimi


r/opencode • • 9d ago

DeepSeek 4.1 flash 1017 cheaps but dump ?

0 Upvotes

Am not gonna lie price for DeepSeek 4.1 flash 1017 is insane n it seems like ur usage limit is completely safe n sound even though u abused on usage. But is about speed DeepSeek 4.1 flash 1017 is very slowly models I've used n made me mad for waiting so long until I'm stand up on my setup. Maybe any recommendations models like DeepSeek 4.1 flash 1017 but more faster enough ?, I've tryed like haiku 5.5 or Kimi 3.1 pro but both have a problem on usage is take kinda for usage tho.


r/opencode • • 27d ago

got back from 7hrs of school, sent 1 message, hit a 14hr limit 🫡

0 Upvotes

genuinely thank you opencode. came home, sat down, sent ONE message and it hit me with a 14hr limit. didn't spam, didn't run some huge agent loop. one message.

7 hours of not touching it and I still got locked out for another 14. at first I thought it was a bug lol

the limits are so generous I can't even use the thing. it's unusable now, I'm switching to an alternative soon.

anyone got recs? or is it just me getting cooked by the rate limit rn


r/opencode • • Oct 27 '26

I found a workaround for the OpenCode Free issue

0 Upvotes

I found a workaround for the OpenCode Free issue that seems to be related to CGNAT/shared IP addresses, and I wanted to share it in case anyone else is in the same situation.

My problem is that I use my home Wi-Fi on my PC, and switching ISPs just to get around this issue isn't really an option for me. I also didn't want to route all my PC traffic through my phone's hotspot, especially when I already have a perfectly fine Wi-Fi connection for everything else.

Instead, I'm trying to use my phone's mobile data as a selective proxy for OpenCode traffic only, while keeping my PC connected to my regular Wi-Fi.

My setup

  • PC: Windows, connected to my regular home Wi-Fi.

  • Phone: Android with a SIM card and mobile data enabled.

  • DataProxy: An Android app that exposes my phone's mobile internet through a SOCKS5 proxy over the local network.

  • ProxyBridge: Used on Windows to route traffic for specific domains through the SOCKS5 proxy instead of sending everything through my home ISP.

How the workaround works

The idea is pretty simple. Instead of disconnecting my PC from Wi-Fi and using my phone as a hotspot, I keep both connections available and route only the relevant OpenCode traffic through my phone.

The traffic flow looks something like this:

OpenCode on PC → ProxyBridge → DataProxy SOCKS5 on phone → Mobile network → OpenCode servers

Everything else on my PC continues to use my normal Wi-Fi connection.

This is useful because my phone's mobile connection may have a different public egress IP from my home ISP. If the problem is caused by a shared IP or network-level restriction on the home connection, using the mobile connection may avoid that particular issue.

What I'm planning to configure

1. Expose the phone's SOCKS5 proxy over the LAN

I enable DataProxy on Android and make sure its SOCKS5 server is accessible from my PC over the local network. I then use the phone's LAN IP address and the configured SOCKS5 port on Windows.

2. Test the mobile connection independently

Before configuring any routing rules, I test whether the SOCKS5 proxy actually works from my PC. For example, with a compatible SOCKS5 client:

curl.exe --proxy socks5h://PHONE_IP:PORT https://api.ipify.org

Here, PHONE_IP and PORT should be replaced with the actual values from DataProxy.

If the command succeeds, the returned address should reflect the mobile network's public egress IP. The socks5h option also allows the proxy to resolve the destination hostname.

3. Configure ProxyBridge to route OpenCode domains

I then configure ProxyBridge to use the phone's SOCKS5 proxy for matching OpenCode-related domains, starting with *.opencode.ai, provided the installed version supports the wildcard rule as expected.

I would also check the connection logs rather than assuming that every request uses the proxy. Authentication and API requests can involve different hosts, so additional domains may be necessary if the logs show relevant traffic going directly through Wi-Fi.

4. Leave everything else on Wi-Fi

The goal is to avoid routing my entire PC through the mobile connection. Browser traffic, downloads, Windows updates, and everything unrelated to OpenCode should continue using the regular internet connection.

A few things to keep in mind

  • A router WAN address in the 100.64.0.0/10 range is a strong indication of CGNAT, but not every address beginning with 100.x.x.x is necessarily in that range.

  • Having IPv6 does not automatically solve the issue. The mobile connection must provide a working route to the relevant services, and the application must actually use that route.

  • Your mobile carrier may also use CGNAT, so this isn't guaranteed to work for everyone.

  • SOCKS5 connectivity, DNS resolution, TLS connections, and domain-matching rules all need to work correctly.

  • If OpenCode uses additional service domains, routing only *.opencode.ai may not be sufficient.

  • This approach changes the network path; it doesn't bypass account-level usage limits or guarantee that OpenCode Free will work.

I haven't established that CGNAT is definitely the cause in every case, so I'd treat this as a networking workaround to test rather than a guaranteed fix.

Has anyone tried a similar setup with OpenCode, DataProxy, and ProxyBridge? I'd be interested to hear whether selective SOCKS5 routing works reliably for you, especially on Windows, and whether there are any additional OpenCode endpoints that need to be routed through the mobile connection.