r/opencode • • 20h 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'm an interior designer using AI to turn 2D floor plans into interactive 3D webpages

Thumbnail
gallery
50 Upvotes

I work in interior design, and lately, I’ve been itching to see if I could use a hand-drawn sketch or a rough floor plan to have AI generate a 3D interior preview one that a client could then explore interactively right in their web browser.

I tested three models in OpenCodeGo: MiniMax M3.1 Flash, GLM-5.3-Flash, and DeepSeek V4.1 Flash 1017. I gave each model the same floor-plan image and prompt, and set each one to the highest reasoning effort available.

Here is the prompt I used (image 1 above).

My impressions & results:

  • GLM-5.3-Flash It was the fastest to complete. At first glance, the result seemed nice, but there were many unnecessary trees outside the house. The walls also stayed opaque when I rotated the view, which made the interior difficult to observe from some angles.
  • MiniMax M3.1 Flash finished second. The apartment felt complete. The overall layout was coherent, and the interactive preview looked polished enough.
  • DeepSeek V4.1 Flash 1017 It was the slowest, taking about an hour and a half with a few long pauses to reason through the task, but to my eye it produced the best-looking result.

In terms of token usage, GLM-5.3-Flash used 180,283 tokens, DeepSeek V4.1 Flash 1017 used 425,241 tokens, and MiniMax M3.1 Flash used 297,367 tokens, including cached tokens.

For this, I’d probably stick with MiniMax M3.1 Flash. It didn’t use the fewest tokens, but it seemed to offer the best balance between output quality and execution time. However, the OpenCodeGo does not provide a sufficient quota for this model. Does anyone know of other subscription plans or providers that offer more generous access?


r/opencode • • 5h 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

OpenCode running inside an Android phone through proot, no computer involved

10 Upvotes

cl0udly (used to be called OpenCode mobile) downloads Ubuntu Base and OpenCode into a proot environment on first launch, and from then on the agent works right on the phone. If you'd rather use OpenCode on your computer, it can pair with it over a QR code too.

Beta-4 came out a few days ago, and the video shows most of what it can do. It builds small apps and shows them live, keeps a MEMORY.md with things you told it, splits big tasks between helper agents, takes voice input, and can set alarms through the Clock app. There's also a pixel cloud living in the app that you can pet and play a couple of games with. Nobody asked for it, it's just there.

Android 8+ on arm64, plus an armv7 build for older phones. There's a desktop version for Linux, Windows and macOS as well. Free, MIT, and not affiliated with the OpenCode team.

It's still a beta. People have already sent PRs and bug reports, and that has helped more than anything, so if something breaks or a feature is missing, an issue is the best way to reach me.

GitHub: https://github.com/mistqkw/cl0udly-mobile

Site: https://almost-apps.vercel.app/en/download/cl0udly


r/opencode • • 1d ago

OpenCode + Mistral Vibe plugin 0.2.0: use your Vibe subscription as an OpenCode provider (ACP), now with subagents, skills and MCP tools

Post image
5 Upvotes

r/opencode • • 6h ago

Бот в тг для OpenCode

0 Upvotes

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

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

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

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

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

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

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


r/opencode • • 1d ago

Opencode go and upgrading

4 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?


r/opencode • • 1d ago

i didnt know my free usage is pretty A LOT until i bought GO plan... thank you opencode.

Post image
10 Upvotes

r/opencode • • 21h 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

GLM 5.4

5 Upvotes

Do we know if they will add it to opencode go and when?


r/opencode • • 1d ago

When you free credits run out and people are left hanging on the sky?

Post image
6 Upvotes

While it was building crowd for your game 😂 😂


r/opencode • • 1d ago

Is opencode/iceman-free unlimited

4 Upvotes

Idk i used 90b tokens this month and i can still use it


r/opencode • • 23h 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 • • 23h ago

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

Thumbnail reddit.com
2 Upvotes

r/opencode • • 21h ago

Any good abliterated/uncensored frontier model provider?

1 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

Bye, Beam Free

51 Upvotes

r/opencode • • 1d ago

Mirador 0.16.3: a visual canvas & desktop app for opencode — diagrams, clickable previews, guided code reviews, worktrees and rooms

Post image
29 Upvotes

I built Mirador — a free, MIT-licensed local desktop app that runs the real opencode you already have (~/.config/opencode, your providers, local models, MCP servers, and permission defaults untouched) and puts a live canvas beside the chat.

Trailer (1:46): https://youtu.be/WXC6VZq3JaQ

Writing code isn't the slow part anymore — reading diffs and understanding what the agent just did in a scrolling terminal is. Mirador gives opencode a set of visual tools right next to the conversation:

  • show: draws architecture diagrams, sequence flows, mockups, or charts (Mermaid, D3, and three.js built in, working offline) — click Point and ask on anything it drew to ask about it or change it in place
  • ask: visual previews you pick with a click instead of numbered text lists (with multi-select checkboxes and free-text "Something else")
  • tour & review: guided walkthroughs of changes in execution order, with PR findings pinned to lines, updated in place when you push back, and ready to post to GitHub via gh
  • Plugins: official plugins (review, checklist, delegate, media, github, jira, beads, google-docs, neo-manuscript) plus any git URL, installed from the in-app gallery

Beyond the canvas:

  • Profiles & searchable model picker: spin up separate profiles with different OPENCODE_CONFIG / OPENCODE_CONFIG_CONTENT or local endpoints (with keychain/vault KEY=$(command) support), and search across opencode's 500+ models right from the conversation header.
  • Git worktrees, Changes & Undo files: give each conversation its own git worktree, inspect diffs, commit, and rebase-merge straight from Changes, or roll back workspace files to any earlier turn without touching your git history or staging area.
  • Side chats (/btw or ⌥B): select any words in a reply to ask a side question beside the conversation without interrupting a running turn. Side chats can draw on the canvas too.
  • Rooms (experimental): invite teammates into a room on your Mirador with a single peer-to-peer encrypted link (roles from Guest to Approver). Tag agents (@Builder) in their own threads, vote together on canvas questions, and bring your own opencode agent into the room.
  • Peer-to-peer devices: link another computer running Mirador (or the Android app) with one mirador:// invite link — end-to-end encrypted, no VPN or proxy to set up, plus sealed push notifications when an agent needs you.
  • Also included: per-conversation split terminals, hands-free voice (local on Apple Silicon or via OpenAI-compatible servers), /later & /remind, 5 languages (EN/HU/ES/DE/ZH), nested workspace groups, and deferred card rendering so huge sessions stay snappy.

Mirador also runs Claude Code, pi, Codex, Copilot, and Antigravity over ACP — you can switch agents mid-conversation or have them delegate work to each other (e.g. pairing a cloud agent with a local model on opencode). Everything stays local. MIT licensed. Desktop app for macOS, Linux, and Windows.

Site: https://mirador.sodre90.com/
GitHub: https://github.com/sodre90/mirador


r/opencode • • 1d ago

Can OpenCode fetch the engineering guidance a shuffle request needs?

0 Upvotes

"Add Spotify-style shuffle" hides more than an algorithm choice: should every ordering be equally likely, or should the player avoid consecutive tracks by the same artist? What happens when one artist dominates?

I maintain SeniorMode, an open-source skill with MCP support. OpenCode and compatible agents can retrieve relevant guidance on demand instead of loading every note into each request. A runnable six-track example (two each from Eminem, Drake, The Weeknd) shows a random comparator at 3 adjacent repeats, Fisher–Yates at 1, artist-aware at 0 on that list, and why zero can't always be promised.

It's free and open source. Repo + example: https://github.com/EnesKeremAYDIN/SeniorMode#example-music-shuffle

What product decision would you want an agent to surface before implementing shuffle?


r/opencode • • 1d ago

We ran 90 isolated Aider Polyglot sessions on OpenCode V2 to test a 3-tier Operator + Clef-Flash + Orchestrator loop (with paired p-values and where it does NOT help)

2 Upvotes

A common idea in coding agents is splitting work across three roles: a fast operator for routine edits, a lightweight decision gate watching for loops or drift, and a stronger orchestrator called only when needed. We wanted to see if that actually holds up in practice inside OpenCode V2 or if extra calls just add latency and false alarms.

We built a drop-in OpenCode V2 server plugin (three hooks, optional agent scoping, JSONL spend log) and ran 90 isolated sessions on 30 Aider Polyglot exercises (10 Python, 10 JavaScript, 10 Rust, reference solutions stripped, skipped tests enabled, original tests restored before grading).

Full benchmark data, paired McNemar and Wilcoxon p-values, and plugin setup:

https://regolo.ai/opencode-orchestrator-decision-operator-loop-regolo/


r/opencode • • 1d ago

Started using OpenCode in July. Somehow burned 20.3B tokens by December.

0 Upvotes

Not sure if I should be proud of this or worried about my context windows.


r/opencode • • 1d ago

Should i use subagents by default?

14 Upvotes

I have mostly worked with one main agent doing everything in the same context and it does fill up the 1M context window very fast.

Does the orchestrator approach work better where the agent spawns a subagent even for one scoped task?

And is this slower or faster?


r/opencode • • 2d ago

AA Intelligence score vs. $10 OpenCode Go tasks per month, does this look accurate ?

Post image
58 Upvotes

r/opencode • • 2d ago

It was a great run

Post image
26 Upvotes

I got a great ton of work done using HY4 Flash when it was free and had unlimited usage. I didn't have any AI subscriptions except the google jio AI pro plan which was not so great. Ik I didn't pay for it but I thank Opencode for this🫡🙇‍♂️


r/opencode • • 1d ago

Yesterday vs today: Big Pickle

8 Upvotes

Big Pickle: Why did the allowance change so much?

I already understand that Big Pickle is routed to different underlying models. That's not what I'm asking.

What I'm trying to understand is why the experience over the last two days was so different.

For two days, Big Pickle appeared to be backed by a model that behaved very similarly to GLM 5.x. The reasoning style was extremely recognizable: very concise, telegraphic thought traces ("need this, compiled that, tested this"), extremely fast responses, and excellent coding performance.

At the same time, the available allowance seemed huge. I was able to use it heavily without running into limits.

Today, I got a completely different experience. The behavior changed noticeably, and after roughly 14M-20M cached tokens I was out of usage until midnight.

So my question is not whether Big Pickle routes to different models. I know it does.

My question is whether different Big Pickle backends can come with dramatically different usage allowances and limits.

Also, while I understand why OpenCode doesn't publicly commit Big Pickle to a specific model, it would be helpful to know which model was serving requests when a particular experience was especially good. The version I got during the last two days was by far the best Big Pickle experience I've had, and I'd like to know which paid model is closest to it so I can choose a subscription tier accordingly.


r/opencode • • 2d ago

I enjoyed using HY4…and now…

Post image
270 Upvotes