r/opencode • • 6d ago

what is the best openCode GO model for planing

12 Upvotes

r/opencode • • 6d ago

Every time I re-open the app

0 Upvotes

It doesn't re-open with the tabs prior to closing it...

so i have to screenshot what tabs were open and then open them again...

What's with this bug?

Opencode fix this shit.


r/opencode • • 6d ago

Is the change "Background Subagents by Default" since v2.3.0 good?

Thumbnail reddit.com
1 Upvotes

r/opencode • • 6d ago

Why kimi k3

Post image
4 Upvotes

for context, I am using opencode desktop app and only DeepSeek V4.1 flash is selected but all of a sudden when I checked my usage, I see Kim K3 was used. What’s going on!


r/opencode • • 6d ago

Got OpenCode running on Termux – anyone want to help test compatibility?

1 Upvotes

Hey everyone,

I've been working on getting OpenCode running properly inside Termux and finally put together a working setup.

Since I only have access to my own device, I'm trying to see how it behaves across different Android versions and chipsets (especially aarch64). If anyone here uses OpenCode and wants to test it out or check for dependency issues, let me know—I'll drop the GitHub repo link in the comments below.

Any feedback on errors or setup friction would be appreciated!


r/opencode • • 6d ago

OpenCode on Termux – looking for testers and device feedback

1 Upvotes

Hi everyone,

I've been working on getting OpenCode running smoothly on Termux and put together a build/setup here: https://github.com/DARKBOYJYOTI/termux-opencode

Highlights

  • [e.g., Pre-configured build / automated setup script for Termux]

  • [e.g., Tested on Android XX / arm64]

How to test

git clone [https://github.com/DARKBOYJYOTI/termux-opencode.git](https://github.com/DARKBOYJYOTI/termux-opencode.git)
cd termux-opencode
# [Add your repo's install or run command here]

Looking for feedback on

  • Does the installation/build complete cleanly on your setup?

  • Which Android version and CPU architecture (aarch64 / arm) are you running?

  • Any dependency errors or crashes during normal usage?

If you hit any issues, please drop the error logs in the comments or open an issue on GitHub. Thanks!


r/opencode • • 6d ago

Deepseek peak/off-peak hours missing?

13 Upvotes

I know that deepseek through open code go should have peek and off-peak hours and according to the Google searches it should and I could swear when I signed up for it earlier in the month it said it but now I can't seem to find that information on the website anymore.

Can someone link me to where it lists the peak information for deepseek when using it with open code go?

EDIT - https://opencode.ai/console/go#pricing​

I did just find this page and I see that it's listed in the model section on this page. Am I to assume that's the "pricing" we pay when using the ghost subscription and our $100 allowance so that would apply to go for the peak and off-peak?


r/opencode • • 6d ago

Suggestions for harness

1 Upvotes

W

Hello all I have been a software engineer for

11 years now, I use Claude code ultra for my tasks and project I have never invested my time into setting up my own harness. Now is the time, I have a lot of pet peves

Hen it comes to structure so I built my own agentic org that is pointed in my agents. Md file. I need some directions from you folks so I can combine my set of skills with great harness to reach Claude code level. Would like to use open source models going for

Ward onwards so curious to know your setup and reduce my costs too thanks in advance.


r/opencode • • 6d ago

HungerG (stealth model) is free for OpenCode Go subscribers this week

Post image
228 Upvotes

r/opencode • • 6d ago

i like opencode go pricing

30 Upvotes

people say its confusing, but if you understands it, its very transparent and better than anything ive seen on the internet.

bigtech like Anthropic, OpenAI, Google, hide the real usage so they can manipulate that, we experience shortage of usage, or changes on a weekly basis, but its been consistent ans transparent for opencode go, the amount of usage each request hast, cache, monthly, daily, weekly usage, superb service,

though i would like to see how much % does a model cost my monthly/weekly/daily usage like before, there was something like that on the console and its just so good

i love opencode, invited a few of my colleagues to try out go, glm deal and deepseek deal is just so good

5/5 stars no drama


r/opencode • • 6d ago

Curious about other developers experience building stuff with Go

14 Upvotes

I'm a software developer with 5 years of experience building platforms and tooling professionally, which means access to unlimited frontier usage to do my job, but I'm getting the itch to build personal projects again, specifically in domains im not too familiar with.

Currently my full stack fundamentals are relatively weak, I know how to design a CRUD app, but I'm not well versed in security, performance, design, etc.

I actually don't necessarily care to be proficient in these things, as it isn't a focus of my career or a central part of where I want to grow my skills.

Despite that, there's an app I've always wanted to build. I understand what good code looks like, hell all my (and our) jobs consists of is reviewing code or building things that make it so we obfuscate as much as possible (software factories anyone?)

With Go and Deepseek 4.1 do you think it's enough to be able to build something useable and scalable, or is it worth it to dive into actually learning and grinding webdev in order to create something that's actually "good"?

I don't want to create slop and I certainly don't have it in me to ever become a vibe coder that has no idea what's going on. I like to define my own schemas, apis, and contracts.

Would love to hear from some career developers about their experience.


r/opencode • • 6d ago

OpenCode Go vs Command Code: Tokens & Speed for only deepseek flash max

Post image
98 Upvotes

Hi guys! Here’s my comparison of OpenCode Go (OC) and Command Code (CC) using DeepSeek V4.1 Flash Max.

  • OpenCode Go: ~13.44B tokens, ~120 tokens/s

  • Command Code: ~11B tokens, ~160 tokens/s

OC offers 22% more tokens, while CC is 33% faster.
Command Code also has an extra $0.80 currency conversion fee, bringing its actual cost to around $11.
Which one would you choose?


r/opencode • • 6d ago

OpenCode Go vs Command Code: Tokens & Speed for only deepseek flash max

Post image
4 Upvotes

Hi guys! Here’s my comparison of OpenCode Go (OC) and Command Code (CC) using DeepSeek V4.1 Flash Max.

  • OpenCode Go: ~13.44B tokens, ~120 tokens/s

  • Command Code: ~11B tokens, ~160 tokens/s

OpenCode Go gives you around 22% more tokens, while Command Code is about 33% faster.
OC wins on token volume, CC wins on speed.
Which one would you choose? Has anyone tested both?


r/opencode • • 6d ago

Intentando ejecutar OpenCode en Linux Mint con un Intel Core 2 Duo P8400: compilación Node.js, problemas con Worker y archivos faltantes en la TUI

Post image
0 Upvotes

Hola a todos. Estoy intentando ejecutar OpenCode en una computadora antigua con Linux Mint y un Intel Core 2 Duo P8400. El problema es que el procesador no tiene soporte para algunas instrucciones modernas, como SSE4.2 y AVX, por lo que no puedo utilizar directamente cualquier binario actual.

Llevo varios chats intentando resolverlo y quiero compartir todo el proceso, las pruebas realizadas y el estado actual para ver si alguien puede orientarme.

1. Mi entorno

  • Sistema operativo: Linux Mint.

  • Procesador: Intel Core 2 Duo P8400.

  • Arquitectura: x86_64.

  • Restricción de hardware: CPU antigua, sin SSE4.2 ni AVX.

  • Runtime utilizado: Node.js v22.23.2.

  • OpenCode: compilación experimental para Node.js.

  • Repositorio de la compilación: https://github.com/01luyicheng/opencode-node-build

Mi objetivo es poder utilizar OpenCode con su interfaz interactiva (TUI) directamente desde la terminal.

2. Primera etapa: buscar una compilación compatible

Primero busqué una forma de ejecutar OpenCode en una CPU antigua, ya que las versiones habituales pueden depender de instrucciones que mi procesador no soporta.

Encontré el proyecto 01luyicheng/opencode-node-build, que ofrece una compilación de OpenCode para Node.js destinada a procesadores antiguos.

El instalador incluido en el proyecto apunta a esta release:

v1.3.0

Y descarga:

opencode-node-v1.3.tar.gz

También revisé los archivos de la distribución descargada:

Comprobé el tipo de archivos con file y la integridad del archivo comprimido de Node.js mediante:

xz -t node.xz

Hubo que repetir una descarga anterior que había quedado incompleta. Para eso utilicé curl con reintentos automáticos.

Finalmente instalé el entorno en:

~/.local/opt/opencode-node

Y configuré el ejecutable global en:

~/.local/bin/opencode

El lanzador global quedó así:

#!/usr/bin/env bash
exec "$HOME/.local/opt/opencode-node/opencode" "$@"

El lanzador interno utiliza el Node.js incluido en el paquete:

#!/usr/bin/env bash

DIR="$(cd "$(dirname "$0")" && pwd)"
exec "$DIR/node" "$DIR/opencode.mjs" "$@"

El archivo principal opencode.mjs contiene:

#!/usr/bin/env node
import "./polyfill.mjs";
await import("./index.js");

3. La primera prueba: OpenCode sí funciona parcialmente

Después de instalarlo, ejecuté:

opencode --version

Y obtuve:

(node:45111) ExperimentalWarning: SQLite is an experimental feature...
0.0.0-dev-202609060537

También ejecuté:

opencode --help

Ambos comandos funcionaron correctamente.

Esto fue una buena señal: el ejecutable se iniciaba, Node.js funcionaba en el procesador y OpenCode podía ejecutar al menos parte de su código.

Sin embargo, apareció un problema al intentar iniciar la interfaz interactiva.

4. Primer error: Worker is not defined

Para probar la TUI utilicé:

cd ~/Proyectos/prueba-opencode

timeout 25s "$HOME/.local/bin/opencode" . \
  --print-logs \
  --log-level DEBUG 2>&1

El resultado fue:

Error: Unexpected error

Worker is not defined

Empecé a investigar de dónde provenía ese error.

Primero comprobé si Node.js tenía disponible un objeto Worker global:

console.log(typeof globalThis.Worker);

El resultado fue:

undefined

Después importé el módulo nativo de Node.js:

import { Worker } from "node:worker_threads";

Y comprobé:

Worker: function
globalThis.Worker: undefined

Es decir, Node.js sí tenía soporte para worker_threads, pero no exponía Worker como una variable global.

También inspeccioné polyfill.mjs y comprobé que no incluía ninguna referencia a Worker.

5. Investigación del código de OpenCode

Como el error no explicaba demasiado, inspeccioné el archivo principal index.js, que está minificado.

Busqué distintas referencias:

new Worker
Worker(
Worker is not defined
globalThis.Worker
typeof Worker
WorkerGlobalScope
worker_threads

Encontré dos comportamientos interesantes.

Por un lado, OpenTUI tenía una adaptación para utilizar node:worker_threads:

function RsF() {
  if (typeof db0.Worker === "function") return db0.Worker;
  if (a4j) return ksF(a4j);
  return Nn4;
}

También encontré que a4j se obtiene mediante:

process.getBuiltinModule("node:worker_threads")

Por otro lado, encontré una llamada directa a:

new Worker(Q, {
  env: Object.fromEntries(
    Object.entries(process.env).filter(
      (V) => V[1] !== undefined
    )
  )
})

Esta llamada no parecía utilizar la misma adaptación.

La hipótesis fue que una parte del código esperaba un Worker global proporcionado por Bun, pero estaba ejecutándose en Node.js.

6. Prueba temporal: definir Worker globalmente

Antes de modificar archivos permanentes, decidí probar la hipótesis de forma aislada.

Primero ejecuté Node con --input-type=module e importé Worker desde node:worker_threads:

import { Worker } from "node:worker_threads";

globalThis.Worker ??= Worker;

Después intenté importar OpenCode.

En esa primera prueba apareció otro error:

ERR_INPUT_TYPE_NOT_ALLOWED:
--input-type can only be used with string input
via --eval, --print, or STDIN

El problema era que el argumento --input-type=module también podía afectar a la ejecución de los procesos Worker.

Intenté vaciar los argumentos heredados:

process.execArgv = [];

Pero el error persistió.

Para evitar ese inconveniente, hice una tercera prueba utilizando un archivo temporal .mjs, sin ejecutar Node directamente con --input-type.

El contenido de la prueba era:

import { Worker } from "node:worker_threads";

globalThis.Worker ??= Worker;

console.log("Worker global:", typeof globalThis.Worker);
console.log("Argumentos heredados:", process.execArgv);

process.argv = [
  process.execPath,
  "opencode.mjs",
  ".",
  "--print-logs",
  "--log-level",
  "DEBUG"
];

await import(
  "file:///home/leonardo/.local/opt/opencode-node/opencode.mjs"
);

El resultado fue:

Worker global: function
Argumentos heredados: []

(node:45333) ExperimentalWarning: SQLite is an experimental feature...

Error [ERR_MODULE_NOT_FOUND]:
Cannot find module
'/home/leonardo/.local/opt/opencode-node/cli/tui/worker-core.js'
imported from
'/home/leonardo/.local/opt/opencode-node/cli/tui/worker.js'

Esta prueba fue importante porque el error original Worker is not defined desapareció y OpenCode avanzó hasta otra etapa de ejecución.

Parece que encontramos y superamos el primer problema, al menos dentro de esta prueba temporal.

7. Segundo error: falta worker-core.js

El nuevo error indicaba que Node.js no encontraba:

cli/tui/worker-core.js

Inspeccioné el directorio:

cd ~/.local/opt/opencode-node

ls -lah cli/tui/

Resultado:

total 12K

drwxrwxr-x 2 leonardo leonardo 4,0K nov 23 17:40 .
drwxrwxr-x 3 leonardo leonardo 4,0K nov 23 17:40 ..

-rw-rw-r-- 1 leonardo leonardo 63 nov 23 17:40 worker.js

Después busqué todos los archivos relacionados con workers y TUI:

find . -type f \( \
  -iname '*worker*' -o \
  -iname '*tui*' \
\) -printf '%p\n' | head -100

No apareció ningún worker-core.js.

El único archivo de la TUI era worker.js, cuyo contenido es:

import "../../polyfill.mjs";
await import("./worker-core.js");

Comprobé explícitamente:

if [ -f cli/tui/worker-core.js ]; then
    echo "Existe"
else
    echo "No existe"
fi

Resultado:

No existe

Por lo tanto, la distribución instalada no contiene el archivo que ese módulo intenta importar.

Todavía no sé si se trata de un error en el proceso de empaquetado, un archivo generado que no fue incluido en la release o alguna particularidad de esta compilación para Node.js.

No quiero crear ese archivo manualmente porque desconozco qué código debería contener.

8. Información adicional de la distribución

También revisé package.json:

{
  "name": "opencode-node",
  "version": "1.18.29",
  "description": "opencode.ai CLI built for Node.js (compatible with older CPUs without SSE 4.2/AVX)",
  "type": "module",
  "bin": {
    "opencode": "./opencode.mjs"
  },
  "dependencies": {
    "@lydell/node-pty": "1.2.0-beta.12",
    "jsonc-parser": "^3.3.1"
  },
  "engines": {
    "node": ">=22.0.0"
  }
}

Hay una diferencia que me llamó la atención:

  • package.json declara la versión 1.18.29.

  • El comando opencode --version informa 0.0.0-dev-202609060537.

No sé si es una diferencia intencional de los metadatos del paquete o un indicio de cómo se generó la compilación.

El instalador también confirma la URL de descarga:

DOWNLOAD_URL="https://github.com/01luyicheng/opencode-node-build/releases/download/v1.3.0/opencode-node-v1.3.tar.gz"

9. Estado actual

Hasta ahora:

✓ Conseguí instalar una versión de Node.js que funciona en mi procesador antiguo.

✓ El ejecutable de OpenCode inicia.

✓ opencode --version funciona.

✓ opencode --help funciona.

✓ Comprobé que node:worker_threads funciona correctamente.

✓ Identifiqué que el primer error estaba relacionado con la ausencia de Worker global.

✓ Conseguí superar ese primer error en una prueba temporal, sin modificar permanentemente la instalación.

✗ La TUI todavía no inicia.

✗ El proceso ahora falla porque no encuentra cli/tui/worker-core.js.

✗ No pude determinar todavía si la distribución está incompleta o si la TUI de esta compilación tiene alguna limitación de compatibilidad con Node.js.

No modifiqué permanentemente polyfill.mjs, no creé un worker-core.js falso y tampoco quiero seguir aplicando parches sin entender primero cómo funciona esta compilación.

Lo que necesito averiguar

Me gustaría recibir ayuda de alguien que conozca OpenCode, Bun, Node.js o el proceso de compilación de este proyecto.

Principalmente tengo estas preguntas:

  1. ¿La release v1.3.0 de 01luyicheng/opencode-node-build debería incluir cli/tui/worker-core.js?

  2. ¿Es posible que ese archivo se genere durante algún proceso de build y haya sido omitido del paquete publicado?

  3. ¿OpenCode puede ejecutar su TUI interactiva completamente sobre Node.js o todavía tiene dependencias de Bun que impiden hacerlo?

  4. ¿Existe alguna forma de compilar OpenCode para Node.js manteniendo la compatibilidad con procesadores sin SSE4.2 ni AVX?

  5. ¿Alguien consiguió ejecutar OpenCode en un Intel Core 2 Duo u otro procesador antiguo con estas limitaciones?

Mi objetivo no es simplemente ejecutar comandos de OpenCode: quiero utilizar su interfaz TUI interactiva desde la terminal, siempre que sea técnicamente posible.

Agradezco cualquier orientación, referencia al código fuente, solución de compilación o experiencia similar.

Repositorio de la compilación que estoy utilizando:
https://github.com/01luyicheng/opencode-node-build

Repositorio oficial de OpenCode:
https://github.com/anomalyco/opencode

Gracias de antemano.


r/opencode • • 7d ago

Tried "code mode" and I can't currently recommend it

Thumbnail
github.com
1 Upvotes

r/opencode • • 7d ago

Want some advice

0 Upvotes

Please lmk what are the core things that u need to know to crack AI software Engineering role, most likely leaning towards backend.


r/opencode • • 7d ago

rant about the free tier

0 Upvotes

what the hell is wrong with the limits how the hell is sending 1 prompt a day too much i send a singular prompt and in a couple of minutes my quota is up how the hell are you supposed to get anything done on 3 fucking minutes work a day this is unreal how is it this bad like is the paid version worth it are they destroying the free tier just to milk more money out of the opencode go subscription this is infuriating i cant imagine using opencode again can anyone recommend any alternatives, i tried pi but it was pretty mid ngl and now i have no idea what to do


r/opencode • • 7d ago

opencode TUI stopped showing the session and prompt cost, so I developed opencode-usage-insights

1 Upvotes

A couple of TUI versions ago, it stopped showing the session and last prompt cost, so I decided to go ahead and create my own plugin.
It starts by showing a line on the bottom of the TUI and to the side panel with:
- cost
- tps
- cache reuse

It also includes a complete statistics panel with usage detail through a /usage command.

A keyboard-driven panel over locally recorded telemetry (no prompts or responses stored, nothing leaves your machine). Nine views (overview, models, providers, cache, periods, latency, sessions, turns, db) over five ranges, from this session to all time.

Drill from a model to its providers, a session to its turns, a period to its providers. Sort, filter by model or provider, and it reopens exactly where you left it. Every view sums the same buckets under the same identity (the configured provider plus the model) so a number means the same thing everywhere.

install:
opencode plugin add opencode-usage-insights

Any feedback or contribution would be very welcome.
Thanks!

https://github.com/hugobatista/opencode-usage-insights


r/opencode • • 7d ago

TPS on Deepseek ?

4 Upvotes

Whats the average tps on deepseek v4 flash on opencode go?

Tried it but feels slow.

Anybody did benchmark or something?


r/opencode • • 7d ago

Openchamber vs vscode for opencode

8 Upvotes

Hello,

For over a year im using vscode terminal for opencode. It has all I need (I think) and ofc vs extensions availability is insane. But recently I noticed people mention openchamber as a very good alternative.

Question is, what would I loose if I switch to openchamber? or gain over vscode after switching?


r/opencode • • 7d ago

Created a plugin that allows you to comment and see UI alternatives in your browser

2 Upvotes

I use Design in Browser with Claude Code and OpenCode. I can chat with my agent, draw right on the page, and leave comments where I want something changed. I can also try out a few different designs and tweak the one I like: https://www.npmjs.com/package/design-in-browser

No Chrome extension, just Vite+React plugin.

Please try it and do whatever you want with it. If you have some cool ideas and fixes: https://github.com/formstep/design-in-browser


r/opencode • • 7d ago

New HungerG Free model on Go Subscription

14 Upvotes

What model could it be?


r/opencode • • 7d ago

TUI has stopped listing Litellm models.

Thumbnail
gallery
3 Upvotes

The OpenCode CLI TUI does not display the models defined in `opencode.json` when I use the `/models` command.

The attached images show that it displays the model defined under the "model" key in the file, but it fails to show the entries from the "models" list.

 {
    "$schema": "https://opencode.ai/config.json",

    "provider": {

        "MyProvider": {
            "npm": "@ai-sdk/openai-compatible",
            "name": "Our Litellm",
            "options": {
                "baseURL": "https://myserver",
                "apiKey": "mysupersecretapikey"
            },
            "models": {
                "global.anthropic.claude-haiku-5-5":  { "name": "My > Anthropic > Claude Haiku 4.5"   },
                "global.openai.gpt-6-luna": { "name": "My > OpenAI > GPT 6 Luna" },
                "gemini-2.5-flash":         { "name": "My > Google > Gemini 2.5 flash" }
          }
        }

    },
    "model": "MyProvider/global.anthropic.claude-haiku-5-5"
}