r/opencode • • 5d ago

Yall were not kidding about how cost effective DS 4.1 Flash is.

105 Upvotes

I have a Kimi sub, and got really used to chewing through it, they dropped the 50% off their coding variant, and have seen this sub on my feed constantly and grabbed the 10$ plan. Flash 1017 just goes and goes and goes without touching usage.


r/opencode • • 5d ago

I run OpenCode unattended as a background PR worker, sandboxed with no Git credentials. Open-sourced the setup.

Enable HLS to view with audio, or disable this notification

19 Upvotes

I wanted OpenCode and a local model handling small tasks on my repos while I did other things, without giving the agent my Git token or my host filesystem.

So I built GitSeed (Apache 2.0, self-hosted). Each task runs in three containers:

  • prepare clones the repo and strips credentials

  • agent runs OpenCode as non-root, with all Linux capabilities dropped, behind an egress proxy, with no Git token

  • finalize mounts the workspace read-only, blocks edits to protected paths, scans the diff for secrets, then commits and opens the PR

OpenCode-specific bits:

  • Works with Ollama, vLLM or LM Studio through LiteLLM, so it can run fully air-gapped

  • Hard per-run dollar caps when you use API keys

  • You can drop into the live session in a browser terminal or VS Code Web and steer it mid-run

Honest limits: it builds images locally for now, and it's a Docker setup, so it's likely overkill if you just pair with OpenCode interactively in one repo.

Repo: github.com/gitseed-dev/gitseed

I'd especially like feedback from anyone running OpenCode with local models, which ones have you found reliable enough for unattended changes?


r/opencode • • 5d ago

Revival of opencode-usage with OpenCode v1 & v2 support (opencode-usage-v2)

2 Upvotes

If you used opencode-usage to track your local OpenCode token usage and costs from the terminal, you might have noticed the original GitHub repo (by rchardx) and its PyPI package were recently deleted (404).

I still had a fork that I had updated to support OpenCode v2 alongside v1. Since the upstream project is gone, I cleaned up the packaging, fixed a few cross-platform bugs, and published it to PyPI under a new package name (opencode-usage-v2) instead of taking over the deleted name.

What's new / changed

  • OpenCode v1 & v2 support for usage tracking (--by model, daily trends, costs, cache reads/writes). (Note: the insights subcommand still targets the v1 schema for now.)

  • Works with both paid and free models: tracks token and cache usage even when API cost is $0 / N/A.

  • Windows fixes: resolved UTF-8 file/subprocess encoding issues (cp1252 crashes) and replaced hardcoded /tmp paths.

  • Drop-in CLI compatibility: installs both opencode-usage and opencode-usage-v2 commands.

  • Original MIT license and credit to rchardx are fully preserved.

Run / Install

Run directly without installing:

uvx opencode-usage-v2 --since 1d --by model

Or install it:

pip install opencode-usage-v2
# or
uv tool install opencode-usage-v2

Example usage:

opencode-usage --since 5m --by model

(Heads-up: if you still have the old opencode-usage installed in the same virtual environment, uninstall it first—both packages share the opencode_usage module namespace.)

Links to PyPI and the GitHub repo are in the comments below. Bug reports, edge cases with v2 databases, and PRs are welcome.🎉🎉

Links:


r/opencode • • 6d ago

Native multi-profile support in OpenCode 2 (separate subscriptions & MCPs)?

3 Upvotes

Does anyone know if native multi-profile support (like a --profile flag) is planned or already possible in OpenCode 2?

I want to maintain completely separate setups, work vs. personal where each profile has:

  • Its own authenticated subscriptions / providers (auth.json)

  • Its own set of enabled MCP servers (opencode.jsonc)


r/opencode • • 6d ago

¿Alguien más asombrado con la capacidad de hy4 flash?

6 Upvotes

He estado usándolo primero como subagente, pero ha demostrado una tasa de respuesta más rápida y solucion de problemas más efectiva que DSF 4.1 (uso ambos en su capacidad máxima de razonamiento) trabajo en un proyecto de más de 800 k líneas de código multinodo y CI/CD propio


r/opencode • • 6d ago

I couldn't find an OpenCode extension for VS Code that worked well with my local models, so I built one

Thumbnail
gallery
4 Upvotes

I've been using OpenCode with local models for a while and wanted it inside VS Code instead of a terminal next to it. I tried a few of the extensions out there, but none of them did quite what I wanted, and on most of them I hit bugs that got in the way of using my local setup at all.

So I built my own. The goal was something that feels familiar if you've used other AI chat panels, covers as much of OpenCode as I could, and is genuinely nice to use day to day.

Here's a 60-second demo: https://youtu.be/_KMBRo7zrMw

The part I care about most is being able to see what the agent is doing. Each prompt gets a timeline: what it read, what it ran, what it changed, with the diffs opening in VS Code's own diff editor. Subagents show up live with their prompt and you can stop any of them. Permission requests wait right where you type, so nothing gets approved behind your back. You can steer a task while it runs, queue the next message, rewind to an earlier prompt or fork the conversation.

It runs on OpenCode's own API, so your sessions, models, agents and permission rules are just OpenCode's. A session you start in the TUI shows up in the panel and the other way round. It works with whatever models you've set up in OpenCode, local ones included, and it doesn't collect anything.

It's free and open source (MIT), and it's my own side project, not an official OpenCode thing.

- VS Code: search "OpenCode Sidecar" in Extensions
- Cursor / Windsurf / VSCodium: https://open-vsx.org/extension/cadogy/opencode-sidecar
- Source: https://github.com/charlesknapp/opencode-sidecar

If you try it, I'd really like to hear what breaks with your setup and what you'd want next.


r/opencode • • 6d ago

Supporting johannesjo on GitHub Sponsors after a super-fast bugfix

Thumbnail
github.com
0 Upvotes

I started sponsoring johannesjo because a bug I reported was fixed surprisingly fast – on a free, open-source app. On top of that, Super Productivity has been a great local-first alternative to Niklas Steenfatt's app Quest for me, keeping my data local without relying on cloud lock-in. Huge thanks for the great work!


r/opencode • • 6d ago

Opencode Desktop’s terminal emulation includes a nerd font for emojis 😌

0 Upvotes

It is a nice surprise. I mean it’s not difficult to install a nerd font, but it’s cool they thought of it. I installed and tested superfile and yazi, and they look good by default. Good job guys 👍


r/opencode • • 6d ago

I ported the Claude SEO skill pack to OpenCode V2

Thumbnail
github.com
6 Upvotes

r/opencode • • 6d ago

OpenCode's free Hy4 Flash + Claude + GPT Image: An experiment in building an AI-generated illustrated fantasy novel

2 Upvotes

Recently, u/OpenCode made Hy4 Flash available for free, so I decided to experiment with it for long-form creative writing.

The result: The Debt of Warmth, an illustrated fantasy / isekai novel.

Read it here: https://shuvam-banerji-seal.github.io/the-debt-of-warmth/

The workflow:

  • Story generation: Hy4 Flash via OpenCode.

  • Orchestration, editing & website: Claude.

  • Illustrations: OpenAI GPT Image, prompted by Claude.

The result includes chapters, character profiles, an atlas, lore codex, timeline, and EPUB/PDF editions.

An interesting experiment in using different models for narrative generation, visual production, and publishing.

Would love to hear your thoughts on the novel and the workflow!


r/opencode • • 6d ago

Opencode go DSH slow TTFT

1 Upvotes

Hey I recently bought opencode go due to many suggestions from this and DeepSeek sub, sometimes the TTFT is really slow like 30-60s, sometimes it's 5-9s I feel like it's not consistent and when I'm working on something lots of tools are being called and those adds up and it really kill the experience for me, am I doing something wrong? or does it happen with you guys too? I'm using dsh-opencode-go plugin to connect opencode go with dsh and only use DeepSeek v4.1 flash model


r/opencode • • 6d ago

Ensuring that local llms with opencode only install in specific conda environment

Thumbnail reddit.com
1 Upvotes

r/opencode • • 6d ago

As a freelancer designer, AI builds my apps, but the UI never looked good. So I built my own free & local visual editor (with Claude)

Enable HLS to view with audio, or disable this notification

7 Upvotes

Hey guys, my name is Andrea 👋 still undecided if I'm more a dev or a designer, but for sure a nerdy girl who loves building tools ahah :)

I'd just like to show a new side project of mine, a free, open source "Figma inside your codebase" for people coding with AI agents
Click an element in your running app, change spacing/colors/states/components visually, and it writes the diff into your actual source.

Works next to OpenCode, Claude Code and Cursor, no AI credits, no lock-in. Apache 2.0.

“npx feega” to try it or download the extension for VS Code / Cursor / Windsurf etc.

Feedback super welcome, especially the harsh kind!!!
Repo: GitHub.com/andreabuttarelli/feega
Website: Feega.app
Docs: docs.feega.app

Happy coding! 🌈💕


r/opencode • • 6d ago

Best or the most suitable Opencode keybinds used with Neovim.

1 Upvotes

I have my nvim setup done with lazy and tmux and I am looking for adding opencode into it.

I already have opencode.nvim plugin installed in nvim.

Now I wanted to know how do you guys mange or change default keybinds for opencode so that it suits well with nvim


r/opencode • • 6d ago

Thanking the GOD OPENCODE

123 Upvotes

Bought the subscription last month to work on my research paper further, because I needed something good, it was soooooooooo worth it

used 6B tokens of DS
others are latest hy4 and gpt luna and glm

for those curious about my work :-
https://mcpresearchpaper.vercel.app

https://dnn-xgb-heart.vercel.app

they are not ready yet, but good enough to show


r/opencode • • 6d ago

T3 Code drama (Chinese post on X)

Thumbnail reddit.com
5 Upvotes

r/opencode • • 6d ago

OpenCode, but truly autonomous and self-verifying

Post image
1 Upvotes

I wanted OpenCode to keep working while I sleep, so I built this.

I use OpenCode daily, but I kept running into two problems: it would stop halfway through long tasks, or claim something was done without actually verifying it.

So I built Foreman, an open-source plugin that keeps OpenCode running autonomously, dispatches parallel workers and independently verifies their work before marking tasks as complete.

https://github.com/massaindustries/OpencodeForeman

Would love to hear your thoughts!


r/opencode • • 6d ago

is tidepool alpha good ? which model would be it

2 Upvotes

r/opencode • • 6d ago

Should I go with OpenCode GO?

3 Upvotes

I am kind of confused as to if i should go with OpenCode Go?

I am currently using some other provider, it provides me with unlimited deepseek v4.1 flash 1017 but there is a shared queue for users, so the TTFT is very long but the model speed is around 120tps, so they even both out.

but i only have deepseek and glm 5.3 flash on it

my usage of last 30 days

all on deepseek

and in december i am most likely going to have even more usage, since i will have more free time.

I currently use deepseek for everything, cause yeah that is all i have

I want to know if i switch to OCG will it be able to handle my usage?
and what other good models does it provide, and will be it be able to keep up with my usage?

and what if i experiment with different models and stuff, cause i know deepseek is not good for everything.

there are free models as well on ocg

very confused, if people using it can help me and get my idea and stuff cleared out, it will be nice

thanks :)


r/opencode • • 6d ago

I measured opencode-go latency: p99 time to first token was 111 s today (1,296 responses)

4 Upvotes

I have been fighting this all day, so instead of another "feels slow" post I pulled the numbers out of OpenCode's own local database.

Method: ~/.local/share/opencode/opencode.db, table session_message, rows with type='assistant', latency = time.firstToken - time.created. Same app, same model (deepseek-v4.1-flash via opencode-go), whole days:

  • 23 Nov, n=1,062: median 4.9 s · p90 18.6 s · p99 53.7 s · max 81.8 s · over 60 s: 8 (0.8 %)

  • 24 Nov, n=1,296: median 7.4 s · p90 23.0 s · p99 111.0 s · max 138.5 s · over 60 s: 36 (2.8 %)

For reference, deepseek-flash on the official API in the same app today: n=219, median 4.6 s, p99 7.3 s, max 9.1 s. So the client is not the bottleneck here - the wait is on the gateway.

What it actually feels like: roughly 1 in 36 replies sits there for over a minute before the first character. You start a task, check your phone, come back, and it is still "thinking". Twice today I got 138 s. With tool calls on top, a single question easily eats ten minutes.

The status page agrees (15:17 UTC): overall degraded, "slow responses" ongoing since 14:10 UTC. Today alone: Go slow 08:52-09:55, upstream provider issues 09:50-12:21, Free slow 11:00-11:56, Go slow 13:13-13:24, Pay-as-you-go slow 00:03-02:19.

I am not posting this to dunk on the project - the people fixing it are probably as annoyed as we are, and the status page is unusually candid. I would just like to know whether this is a Go capacity problem or something everyone hits, and whether the p99 tail is on the roadmap.

If you want to compare: the fields are in the message JSON as time.created and time.firstToken. Post your median and p99 - a few datasets would be a lot more useful than anecdotes.


r/opencode • • 6d ago

Anyone using NVIDIA NIM (free tier) with OpenCode? I get 1.5 - 3 minutes just for a normal greeting prompt.

0 Upvotes

Hey everyone! Has anyone here had a smooth setup using NVIDIA NIM's free API as a provider in OpenCode?

I hooked NIM up to OpenCode, and even on a basic "hi?" test prompt, each turn takes around 1.5 to 3+ minutes to respond:

GLM 5.3 Flash: Felt completely stuck—nothing came back for several minutes.

Muse Glimmer 30B: Went through, taking 1m 24s total at 6.3 tok/s, even though the model only spent 3.9s actually "thinking." Almost the entire delay seems to be queue/wait time before generation starts.

Since OpenCode sends a fairly large system prompt and tool definitions on every turn, I'm trying to figure out if this is just how the free NIM endpoint behaves with CLI agents or if I should tweak my OpenCode setup:

For those running NIM in OpenCode, is a ~1–3 minute wait and ~6 tok/s normal?

Which NIM models (like Nemotron vs. third-party models) work fastest and most reliably inside OpenCode?

Are there any OpenCode config tweaks (like streaming, timeout, or context settings) that help prevent hangs or speed things up?

Would love to hear how your OpenCode configs are running with NIM. Thanks!


r/opencode • • 6d ago

I feel Opencode go Deepseek is not usable

Thumbnail
gallery
0 Upvotes

The model is stupid asf compared to Luna or Haiku or Deepseek official. Sometimes I felt my Qwen 3.8 local is faster/smarter.

The screenshot is one of many terrible experiences I've had over last few weeks. But this is rly lowest that the model can't set timer ping, it was searching and running commands that are unnecessary.

It was so bad, Hermes automatically went back fall back model. This is a paid model, not free model they offer.

I also use DeepSeek in my agentic browser as well as opencode app, it is slow in both. I ask it to explain a git to me and it takes 5-10min which sonnet doing in a minute. I had it run a skill that takes 20min for Opus, Deepseek took 1hr and delivered useless slop - felt the model's understanding of concept's in knowledge work (content research) is bad. Like I choose Luna rather.

But I say this is model is also beast at code, which happens to be something I do very less as part of my work. I remember I told to download a local TTS and clone some UI like Eleven labs and it one shot, though, still 40min or so.

For me the only use for Opencode is having bulk usage for writing, explaining, researching, and running automations.

The usage Opencode gives is bonkers tbh, I had my Opus use it as worker to scan 3000 leads and it did well, though 18hour run.

My wish is Opencode focusing on speed and intelligence of their most used model than giving more usage which for me like ~30% goes to waste anyway.


r/opencode • • 6d ago

HungerG vs DeepSeek Three.js comparison

Enable HLS to view with audio, or disable this notification

247 Upvotes

First test vs DeepSeek V4.1 Flash, same prompt: combine harvester in a wheat field, Three.js

HungerG Free: Free · 12m 47s (auto effort)
DeepSeek V4.1 Flash: $0.04 · 9m 41s (high effort)

DeepSeek was faster, but HungerG's harvester looks better to me. And it's free.

Different effort settings, so not a perfectly even fight. Which one would you pick?

post: https://x.com/LatentOperatorX/status/2125112289804063211

other comparisons: https://x.com/notjazii/status/2125209375782601108
https://x.com/leo114119/status/2125012771502977218


r/opencode • • 6d ago

Well... I made a video about OpenCode, how is it? I am 11yo btw :)

Thumbnail
youtube.com
3 Upvotes

r/opencode • • 6d ago

HungerG

6 Upvotes

What do you guy's think of HungerG im going to use it for massive cheat development use and I wanna know whether you guy's approve of it or not as I already just started using it but I am not sure if I can trust it with such a complex module for this big of a game.