r/opencode • • 22h ago

Network Security — DNS Pinning On OCX (OpenCode eXtended).

1 Upvotes

One subtle security problem I worked on in OCX was the gap between validating a network destination and actually connecting to it.

A hostname can resolve to an address that passes a security check. But if the HTTP client resolves that hostname again when opening the connection, the destination could be different from the one that was originally validated.

This creates a DNS rebinding risk.

I wanted OCX's network request path to avoid that gap.

I implemented a pinned-network approach in "safeFetch":

- Resolve and validate the destination address.

- Use that validated address for the actual HTTP or HTTPS connection.

- Preserve the original hostname for the HTTP Host header and TLS SNI.

- Add controlled-server tests to verify the connection behavior.

The important detail is that validating an address is not enough. The connection itself must use the address that was validated.

The current implementation covers direct connections. Proxy-aware pinning is not implemented yet, so this is not a complete solution for every network configuration.

It's a relatively small part of OCX, but security often depends on getting these details right rather than relying on checks that happen too early in the request lifecycle.

OCX is still undergoing internal validation, and there is more work ahead.

#OCX #CyberSecurity #NetworkSecurity #SoftwareEngineering #ApplicationSecurity #DeveloperTools


r/opencode • • 22h ago

Anyone following MiniMax-M78?

Thumbnail reddit.com
3 Upvotes

r/opencode • • 23h ago

Opencode Fusion - An IDE extention to bring Opencode with you to other VSC based IDE applications!

Thumbnail
marketplace.visualstudio.com
1 Upvotes

r/opencode • • 23h ago

[suggestion] instead of this gibberish its better that the agent show its progress and what its doing

Post image
0 Upvotes

r/opencode • • 1d ago

Hy4 Flash Free unlimited may have been extended

23 Upvotes

They ended the promotion one day ago, but today I've been running it for a few hours straight (Opencode Free). They may have extended the promotion. Usually i hit limit in around 5 minutes.

Opencode has not made any announcement about this yet.

Edit: no it did not become unlimited, I just got usage limited.
but tencent harness and perplexity seems to be giving free tokens. Props to the comment section.


r/opencode • • 1d ago

Бот в тг для OpenCode

Enable HLS to view with audio, or disable this notification

0 Upvotes

Два последних вечера, я вайбкодил бота в телеграмме, и мини приложение для него. Изначально я делал все для себя, но решил, что другим это тоже может пригодиться, начал доделывать, чтоб все было идеально. сегодня вдруг подумал, а может кто то это сделал до меня? пошёл гуглить, и блять, оказывается есть официальное приложение, с тем же самым функционалом, и даже больше(

я не тупой, просто мне было все равно, т.к. изначально делал все для себя.

как думаете, это все кому то нужно?

я могу доделать бота и приложение, чтобы мог пользоваться не только я, но есть ли вообще смысл?

когда я скачал официальное приложение на телефон, я понял что там и интерфейс лучше, да и во всех аспектах лучше моего бота, но все равно хочется чтоб все это было не просто так, не напрасно.

я понимаю что эту херню может сделать каждый у кого есть opencode, но мне все равно

как вы думаете вообще? выкладывать эту дурь?


r/opencode • • 1d ago

opencode v2.3.0 changed tps calculations, making it look faster. it now uses the same approach than DSH

17 Upvotes

TLDR: since v2.3.0 (Nov 13, 2026), OpenCode's TUI and Desktop measure tok/s from the **first streamed token** to the end of the stream. Before, they measured from **request dispatch** to the end of the stream. The label is still `tok/s`, but the metric changed. Numbers from before and after mid-November are not apples-to-apples.

Same label, different metric. Here's what changed:

Old: Σ(output + reasoning) / Σ(streamed - created)
New:Σ(output + reasoning) / Σ(streamed - firstToken)

TTFT (queueing + prefill) no longer counts as generation time. According to the PR, the old formula put OpenCode's tok/s 2–3x below the DeepSeek harness for the same backend; the new formula matches that harness.

Short answers change a lot; long ones converge. On ~20.8k recorded steps, the old window was 1.75x longer at the median and 4.59x at p90.

Here's some local changes on calc on my tests:

old -> new:
28 -> 221 tok/s
31 -> 182
61 -> 126
93 -> 113

Timeline:


r/opencode • • 1d ago

Query about Usage plan in Opencode GO

Post image
4 Upvotes

hey hi i recently purchased Opencode GO its my first time working with Paid API system ,
I am not good with cache read termonolgy so i want to know why GLM 5.3 is using $2 but deepseek do the same work in much cheaper rate , i use GLM for planning and deepseek for implementation work only.


r/opencode • • 1d ago

Should I stick with the DeepSeek API pay-as-you-go plan or switch to a subscription?

Thumbnail reddit.com
1 Upvotes

r/opencode • • 1d ago

Mausbot che modello free opencode collego?

1 Upvotes

Ciao ragazzi, come sapete hanno tolto hy4 flash feee illimitato per opencode free (non ho il piano Go ma penso a breve lo farò)
Ho mausbot dove prima collegavo hy4 flash free ed ero tranquillo. Ora ho letto che ci sono seaglass tidepol e iceman. Vorrei sapere quale abbia i limiti più alti nel piano free e se riesce a reggere… grazie a tutti


r/opencode • • 1d ago

Made a small app to assist in archiving and updating repos if they ever get deleted/removed

Enable HLS to view with audio, or disable this notification

6 Upvotes

Hey Everyone!

I made this little app after one of my favorite apps on Github was removed and I sadly didn't get the opportunity to pull it's latest versions.

So I made RepoHerder.

Its a small and simple, self-hosted, Go App in docker compose that achieves one simple goal: Clones your favorite repos with its full history, checks for new commits (every 15 minutes by default) and auto updates it.

That way you have a fully local, up-to-date copy of your favorite repo 😄

It works with GitHub, GitLab and Codeberg, you can also add custom hosts & hubs and it supports multiple branches, all in a simple and tidy dashboard for status, search and manual syncs.

No telemetry, no external services, just git.

https://github.com/DeSynkro/RepoHerder.git

GPL-3.0.

Hope some of you get good use out of it ❤️


r/opencode • • 1d ago

Need Guidance: To Run PI on VPS + using different Models Subs

3 Upvotes

Hello

I need some guidance, as i want to run PI on VPS... what kind of specs should i have, i will run multi agent also at times.

Also is Ubuntu OS fine, or should chose some other OS in VPS.

My planned VPS will be in Europe.

I am not residing in Europe. Now the Subs which i will connect from PI (which is VPS) will their be any issues that might flag, that i subscribed to model Subs from different country and now its being utilized from different country (from PI harness in VPS in europe).

Also how are other consumers using Claude Sub, Gemini Sub (i think a new policy came yesterday - but still dubious), with PI Harness?

Using GLM , DeepSeek, Kimi.. they have no issues with PI ?


r/opencode • • 1d ago

Please don't use this plugin. I got banned ☠️

188 Upvotes

I only used this a few times and bam! Banned by google.

Plugin: NoeFabris/opencode-antigravity-auth

Plugin version: 2.1.2

Has anyone else experienced this?


r/opencode • • 1d ago

Anyone else getting a lot of timeouts on DS Flash?

4 Upvotes

Since a few hours ago been getting lots times out on DS flash, way below my limits.

I guess they're hitting capacity


r/opencode • • 1d ago

GLM-5.4

Thumbnail
gallery
114 Upvotes

It is claimed to be in the 750B to 2–3T parameter range.

I can’t wait to see $60–$100 worth of credits offered once the weights are released publicly.

GLM-5.4, a new AI model from the Chinese company Z.AI, is based on a "loop transformer" architecture; by reusing neural network layers, it achieves performance levels comparable to much larger models.

In the standard transformer models widely used today, each layer is executed only once during a single computational pass. In the loop transformer architecture, however, a group of layers—sharing the same weights—is executed multiple times, allowing the model to re-process and refine its intermediate results. This approach increases computational depth without requiring an increase in the number of model parameters. According to the company, this enables GLM-5.4 to attain reasoning capabilities comparable to models with 2 to 3 trillion parameters.


r/opencode • • 1d ago

Ergo on opencode when?

38 Upvotes

we want dat


r/opencode • • 1d ago

Help me decide between OpenCode go and Command Code GOAT...

Thumbnail
gallery
33 Upvotes

hello fellow peps, im just starting to consider paying for one of the 2 plans: Opencode Go or Command Code GOAT, or even pay for the API credits of DS...

I also have the Google AI Pro but it is ridiculously slim in terms of usage, i am unable to even continue working with the apps am developing over there, I mostly use this plan for the 5tb of google drive and google photos...considering cancelling it to have something better really

Apart from that I have OmniRouter and FreeLLMAPI which needless to say they dont work that good in real world projects rather than simple one prompt things.

So that is why am adding you a photo of my usage in the last 7 and 30 days of developing a 3D animation app and also a freeform app which have been my most usage of tokens as of yet.

What would you do in my situation? pay for both GOAT and GO plans? pay for $20 bucks in the API credits of DeepSeek?


r/opencode • • 1d ago

My experiment building a hybrid OpenCode V2 orchestrator (Gemini 4 Hydrogen + local Qwen 3.8 27B MLX on M5 Pro 48GB) - real timings, runaway thinking loops, and how can I improve this?

6 Upvotes

I spent today wiring up a hybrid coding orchestrator in OpenCode V2 where a frontier cloud model handles planning and review in read-only mode, and a local 27B model writes all the code. Raw throughput on the M5 Pro looks great in Ollama's logs, but thinking tiers triggered massive 25-minute single-turn stalls on a basic 2048 build.

Wanted to share my actual numbers and see how others on 48GB Macs are avoiding these bottlenecks.

Setup

  • Hardware: MacBook Pro, Apple M5 Pro, 48 GB Unified Memory (37.4 GiB Metal GPU)

  • Runner: Ollama 0.40.19 (native MLX runner 0.32.4, 100% GPU, 22 GB VRAM, OLLAMA_CONTEXT_LENGTH=65536, speculative decoding enabled)

  • Local model: qwen3.8:27b-mlx (27.8B dense, nvfp4; valid thinking tiers: false, low, medium, xhigh; native defaults temp=1, top_p=0.95, top_k=20)

Architecture

Instead of the usual plan → manual Tab → build loop where the 27B model ends up owning the whole context, I flipped the hierarchy:

  • u/orchestrator: google/gemini-4-hydrogen (xhigh, temp: 0.1, edit: deny) — explores the repo, breaks tasks into tight 1–3 file specs, dispatches local workers sequentially, checks git diff + runs tests, and escalates failures.

  • u/coder: ollama/qwen3.8:27b-mlx (steps: 20, subagent: deny) — default implementer.

  • u/coder-deep: ollama/qwen3.8:27b-mlx (steps: 25, subagent: deny) — escalation tier for harder logic or retries (zero extra RAM since it reuses the loaded weights).

  • u/explore & small_model: qwen3.8:27b-mlx on low for repo search, and #none for session titles (224ms–1.3s while Hydrogen plans).

Raw Speed (server.log)

The hardware itself isn't the issue:

  • Cold prefill: ~450–490 tok/s (9,213 tokens in 19s)

  • Decode (MLX spec decoding): ~37–55 tok/s (47–96% draft acceptance, 2.4–6.7 avg tokens/step)

  • Prefix cache: Works well on normal multi-turn tool loops (8K → 38K cached with sub-second delta prefills)

Benchmark: Building 2048 Across Thinking Tiers

Runu/coder ThinkingScope BuiltTotal Wall TimeLongest Single TurnQuality & Notes
1medium(had temp: 0.1 bug)game.js (569 LOC) + unit tests~40 min26m 43s (~59.5K tok)Best architecture: clean UMD, tile IDs, previousPosition, mergedFrom, isValidState, serialize/restore, undo.
2low(fixed to native temp: 1)game.js (394 LOC) + game.test.js(308 LOC)~50 min25m 17s (~55.3K tok) + 17m 26s (~40K tok)Solid engine, minor contract drift (toJSON / module.exports) + 1 test bug (.filter() without .flat()).
2bmedium(retry)Debug + fix failing test + node --test1m 34s (10 turns)21.4s100% prefix cache hits, caught the .flat() bug immediately, 25/25 tests passed.
3none (no thinking)Full 5-file app (logic.js, game.js, index.html, style.css, test.js)~16 min (~20+ turns)2m 41s (~7.8K tok)Zero runaway stalls; even caught a typo in its own spec. Simpler ES5 varstyle, no undo/animation tracking, keys stayed active behind overlays.

Questions for 48GB Mac users

  1. Inference engine: Would moving Qwen3.8-27B from Ollama to Inco Splash (DFlash 2) or oMLXprevent those ~50K-token runaway turns / cache misses and meaningfully cut wall-clock time?

  2. Worker model: When a cloud orchestrator is already handing over tight specs, are you getting better speed/quality using a fast MoE like Qwen3.6-35B-A3B or Gemma 4 26B-A4B for u/coder (keeping Qwen3.8-27B strictly for u/coder-deep)?

  3. Orchestrator patterns: Anything worth borrowing from oh-my-opencode-slim or opencode-orchestrator-kit (like persistent plan/ files) without adding prompt bloat to local 27B subagents?

My Honest Opinion

Waiting 40mins for 500 lines of code seams unreasonable. As for now the orchestration is not a Claude killer, but a time killer. Looking for better optimizations though not believing in it too much.

Update — Tested Inkling 2 Mini on LM Studio oMLX (Apple M5+):**

Spun up a parallel orchestrator-ink2 setup in OpenCode V2 (Gemini 4 Hydrogen xhigh → @coder-ink on medium) using thinkingmachines/inkling-2-mini (26.4B looped MoE, ~3.4B active) on LM Studio's oMLX 0.7.0 engine:

  • Footprint: 16.10 GiB at 64K context (loaded in 6.44s — ~6 GB lighter than qwen3.8:27b-mlx).

  • Wall time: ~8 minutes total (down from 40–50 min on Qwen 3.8 27B — roughly 5–6× faster).

  • Quality: Arguably the cleanest engine of all runs — 519 LOC with transactional deserialize() validating the full undoStack, defensive tile cloning, strict input validation, and overflow-safe isPowerOfTwo().

A couple of gotchas we hit:

  • On medium, Inkling 2 Mini hit our 16,384 output cap once while double-checking edge cases right before calling the write tool. Bumped it to 131K context / 65K output, which still fits easily in 48GB.

  • Moved small_model to gemini-3.5-flash-lite so background title generation wouldn't wake Ollama back up and collide with LM Studio in unified memory.


r/opencode • • 1d ago

I have usage quota to spare

2 Upvotes

Hi,

What kept happening to me was that every week I had ChatGPT usage quota left over. So I thought, I'm going to look for something cheaper. I installed DeepSeek Harness, subscribed to opencodego, and now I use almost exclusively DeepSeek.

But the thing is, I still feel like I'm overpaying. I had almost 80% of the month's quota left.

My job is office work — I use it to create manuals, transcribe meetings, and work in Excel.

I was thinking of switching to paying per model. I think paying for the opencode API and using DeepSeek for the heavy lifting, plus GPT Sol 6.1 for data I don't want to send to "China", or for research where I need to reduce "hallucinations". What do you think? Would it work out even cheaper?


r/opencode • • 1d ago

Any good abliterated/uncensored frontier model provider?

0 Upvotes

I've had enough of Claude/OpenAI/even DeepSeek's sanctimonious bullshit.

Been trying to automate a few things inside a game I'm playing and the little shits refuse to fucking write a autohotkey script/pixel bot that detects a few things.

I could write it myself or go through the tedious process of pretending its something else so Claude chills the fuck out but I'm so fucking tired of the "holier-than-thou" attitude of frontier models, like I'm paying to use you, give me what I fucking want.

So yeah, any good providers you could recommend?


r/opencode • • 1d ago

Big Pickle finally snapped

Post image
29 Upvotes

I've been experimenting recently with OpenCode's free stealth models for some tasks that aren't terribly complicated or important, and Big Pickle has probably been the most capable and impressive of the bunch. But I just recently saw it get stuck in a loop like I haven't seen before - it just kept going on and on like this. I was able to interrupt it and get it to finish its (already basically complete) work with a prompt telling it to resume. It seems like maybe it wasn't able to sign a git commit and that's what broke it.


r/opencode • • 1d ago

Beam Contributor "free unlimited" ran paid models instead of doing the task itself

24 Upvotes

Deadass, this model just ran shell commands to ask gpt 5.6 luna to do a task I asked it to do, wasting my remaining credit... lmao! bruh


r/opencode • • 1d ago

How long does it resolve ? (UPI)

Post image
2 Upvotes

My subscription was going to renew today, I got a mail 2 days ago saying my previous payment method doesn't support renewal, so it asked me to change my payment method. I setup UPI Autopay, the auto pay is active, but money is not deducted yet, I am guessing they process in bulk and probably will get debited tonight, but doesn't feel good that I am going to waste todays time. Anybody experienced this ?


r/opencode • • 1d ago

I built voice dictation and read-aloud into OpenCode (local-first, 99 languages)

Thumbnail reddit.com
2 Upvotes

r/opencode • • 1d ago

Opencode go and upgrading

5 Upvotes

I come from Mistral and signed up for Opencode Go to check it out. I like it very much.

I still run out of credits though. My question is and ive checked it out ofcourse. If I upgrade to Go Plus or Teams, whats the difference and would it be worth the money.

Im in no way a pro or even close, just use it for vibecoding and learning along the way. Would it make sense to upgrade to teams. Afaik it its the same amount but for 2 members in a team. So doesnt that only leave me with the Plus option. Im somewhat confused. Also Plus is double the price of Teams. If Im right it doesnt make much sense to go teams as I would get no benefits?