r/opencode • • Oct 07 '26

Mistral Large 4 is now on Opencode Zen (50% off 🔥)

Post image
113 Upvotes

Discount is for the next 2 weeks only.


r/opencode • • Aug 07 '26

Cmon

Post image
113 Upvotes

r/opencode • • Jul 24 '26

Which one should i use?

Post image
112 Upvotes

Between deepseek v4 flash and GLM 5.2, what one could get performance close to SOL?

I need it to write games, in rust and javascript.

As you can see prices are dirt cheap here, its like 90% off. I canceled my codex subscription because I really couldn't get anywhere with the limits.

There's also kimi 2.6k if it's any good, although I doubt it.


r/opencode • • 9d ago

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

111 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 • • Oct 11 '26

Costs analysis: DeepSeek v4.1 Flash vs GLM 5.3 Flash

111 Upvotes

Myself included, a lot of peeps have had concerns about GLM 5.3 Flash consumption vs DeepSeekv4.1 Flash, hence the analysis. This is seen across both CommandCode and OpenCode.

Let's refer to these recent usage numbers as detailed in OpenCode (and also Commandcode) dashboards.

Usage and cache hits

Deepseek did about 2.5x the work for only 20% extra cost.
GLM cache hit rates are lower than DeepSeek.
DSv4.1F - 641M/663M cached (96%)
GLM5.3F - 200M/218M cached (92%)

Rates:

  • DeepSeek V4.1 Flash: Uncached input: $0.15/1M | Cache read: $0.003/1M | Output: $0.60/1M

  • GLM-5.3 Flash: Uncached input: $0.15/1M | Cache read: $0.03/1M | Output: $0.50/1M

Seems like GLM should be cheaper with equivalent pricing, but cheaper outputs. While output tokens are the most expensive, they are also the least significant for AI cost estimations. highly relevant here is the cost of cached tokens, which is 10x for GLM 5.3 Flash.

Let's looks at costs for a workload of 500M input token and 5m output,
Using the rates (identical) from Command Code and OpenCode for 500M input tokens and 5M output tokens:

DSv4.1F (96% cache hit @$0.003)

  • Uncached Input (20M): 20 × $0.15 = $3.00

  • Cached Input (480M): 480 × $0.003 = $1.44

  • Output (5M): 5 × $0.60 = $3.00

  • Total DS Cost: $7.44

[PEAK hours] DSv4.1F (96% cache hit @$0.006)

  • Uncached Input (20M): 20 × $0.30 = $6.00

  • Cached Input (480M): 480 × $0.006 = $2.88

  • Output (5M): 5 × $1.20 = $6.00

  • Total DS Cost: $14.88

GLM-5.3F (92% cache hit @$0.03)

  • Uncached Input (40M): 40 × $0.15 = $6.00

  • Cached Input (460M): 460 × $0.03 = $13.80

  • Output (5M): 5 × $0.50 = $2.50

  • Total GLM Cost: $22.30

Verdict

So there we go mystery solved, GLM dude costs about 3x the DeepSeek dude for this kind of workloads. In general, Deepseek is also a bit more verbose though and does more output than GLM. So the ratio leans a bit more towards GLM. Also given GLM's slightly higher intelligence and succinctness it's still pretty good in terms of actual work done rather than token counts.

Use Deepseek v4.1 Flash during non peak hours unless you really need GLM 5.3 Flash. GLM during DS peak hours. Both models are pretty close and have their own perks and gotchas.


r/opencode • • Aug 11 '26

Thank you, OpenCode! DeepSeek v4 Flash (Free) is just too good.

Post image
110 Upvotes

r/opencode • • Nov 01 '26

DeepSeek V4.1 Flash on OpenCode Go vs the official API (Personal review)

109 Upvotes

TLDR: I compared 6 finished sessions from my own project work (same Next.js repo, via OpenChamber). Not a controlled test: different tasks, not run at the same time, mixed effort levels. I got very quality work done in all these sessions regardless of underlying plan or API. OpenCode Go is just bang for the bucks you pay!

Task IDProviderEffortStepsOut + reasoningCache hitList costLong-step tok/sShort-step latency
P8-01l1Gomax11876.6k98.7%$0.131932.76 s
P8-02bGomax7972.2k98.1%$0.1051432.24 s
P8-02cGohigh7149.1k97.8%$0.0711082.21 s
P8-02 docsGohigh6335.0k97.2%$0.0481311.97 s
P8-01m1Officialmax10972.5k99.0%$0.1201491.69 s
P8-02aOfficialdefault9693.5k99.2%$0.0961681.29 s
PooledGo (4)Official (2)
Long-step tok/s, median115159
Short-step latency, median2.18 s1.38 s
Cache hit rate98.2%99.1%
  • Official was faster per step, and started steps sooner.

  • Both cache 97-99% inside long sessions. The first step of every session was a cold cache.

  • At matched max effort: official 149 tok/s vs Go 93 and 143.

Caveats: 6 sessions, different tasks and times of day.


Edit:

Pricing on which these tests ran.

ModelInputOutputCached ReadCached WriteMonthly limit
DeepSeek V4.1 Flash (Off-Peak) (OpenCode Go)$0.15$0.60$0.003-$100
DeepSeek V4.1 Flash (Off-Peak) (Official API)$0.15$0.60$0.003-Your wallet

r/opencode • • Oct 01 '26

I made a $0.10/$1 Qwen 3.8 API for OpenCode, giving 100M tokens to anyone who wants to beta test it

109 Upvotes

Hi everyone, I'm Julian, and I just launched the first model on my inference startup, ObitMC.

I wrote a custom scheduler and inference engine in Rust which allows Qwen 3.8 to run entirely on interruptible/unreliable compute providers like AWS/GCP Spot and Vast Interruptible, saving ~65% vs OpenRouter. This is the sustainable/breakeven point for us, not a promotional deal. Our stats show that expected reliability, throughput and time to first token are excellent, but we need real users hammering the service to get an idea of how we hold up in production.

This is why I'm giving everyone who responds to this post 100 million free tokens of Qwen 3.8 27B (~$12 of platform/API credit) to test out the service. No credit card required. After that, our token rates are $0.10/M in, $1/M out, $0.01/M cached.

We're going to expand to Qwen 3.6 35B-A3B (MoE) and Gemma 4, which we're piloting internally right now.

Reply in a comment if you want the credit promotion and I'll PM you, or you can sign up directly through our website (promotion does not apply if you sign up this way).

It takes just a few minutes to add Obit to your opencode config - check out our docs for the guide

Also happy to answer any questions about the scheduler, engine or other infra if anyone's curious.

Important note/update: I'm having issues replying to everyone because of Reddit's filters. It would help if you send me a DM instead of me DMing you. All is well with the product's stability and I plan to do another, more organized, giveaway for the community in the future.


r/opencode • • Jun 16 '26

OpenCode continues to deliver while others are busy chasing the next big thing!!!

109 Upvotes

So it's been a while since I shared an appreciation for OpenCode that I use for my business and personal projects. Thank you devs and the community to continue supporting this.

It's at the back of my mind when I hand code at work sometimes tired of handholding the overpromised and underdelivering agents and tools we are forced to use - they are mediocre at best and feel so restricted. I keep counting down the hours to return home and get down to the real business.

The fact that OpenCode just gets the job done while being reliable, thorough, customisable and opensource is simply amazing and gets me excited to wake up every morning and get back to work. I'm a gadget freak and love to tinker with tools. Is this the future we already are living or is there something much better to come?

What are you building today? What's the one thing that keeps you driving and motivated?


r/opencode • • Sep 23 '26

DeepSeek, Moonshot (Kimi), Xiaomi under investigation by Chinese authorities over allegedly leaking user data to Anthropic, covertly modifying both the user's prompt and the returned text. This practice raises questions regarding the ZDR nature of 3rd party routers like OpenCode and OpenRouter

108 Upvotes

The makers of DeepSeek, Kimi, Xiaomi Mimo models are all under official investigation by Cyberspace Administration of China, with some rumors suggesting Kimi executives being arrested.

In short, according to official reports these companies routed their users' requests that were coming from popular 3rd party routers (likely OpenRouter and OpenCode) to Anthropic models, injected a hidden prompt designed to harvest the CoT trace, modified the text returned by the model before passing it to the user, then used that to train their own models.

The most concerning part is how despite the ZDR (zero data retention) claims and policies of some of these providers, they shared user data with a third party, retained the prompts, trained on the interactions, and now those messages which contained sensitive information were read by Anthorpic employees, who then went on to publish some slighlty redacted versions of those messages:

"Those sessions contained names, email addresses, company data, and other sensitive data of hundreds of end users in at least a dozen languages. These practices are likely inconsistent with privacy laws and the labs’ own terms of service."

Example 1: Internal capital expenditure forecasts for a pharmaceutical company [Original user prompt submitted to a coding assistant of a lab headquartered in China (user accessed the model via a third-party model router)] “Clean up this capex model before Thursday’s review. The workbook has the 2026–28 buildout estimates: Ho Chi Minh City site $[██]M, Kuala Lumpur $[██]M, Bangkok $[██]M, Ljubljana

Additionally, these findings raise concerns about the misuse of user data by PRC AI labs. DeepSeek, Xiaomi, and Moonshot fed conversations between their own models and users into Claude. These labs then used Claude’s responses as training data with which to distill Claude’s capabilities. Some of these exchanges included sensitive information, including from individual users, major multinational companies, and state-affiliated actors. Many of these exchanges were relayed from users of third-party model routing services commonly used by users in the United States and Europe.

Source: https://www.thestandard.com.hk/innovation/article/343563/DeepSeek-and-Moonshot-AI-face-Beijings-probe-over-potential-data-leaks-to-Anthropic

Anthropic's investigation, page 146: https://www-cdn.anthropic.com/e50be2e51e7695dc4b1366a37a245a597377d3b5/Anthropic-Detecting-and-countering-091026.pdf


r/opencode • • Aug 11 '26

Happy 10T, Opencode! 🎉🥳🍾

Post image
108 Upvotes

Opencode hit 10T daily usage milestone for the first time ever. And no, I won't tell you who is responsible for 9/10 of this :)


r/opencode • • Jun 19 '26

I made a plugin that gives non-vision models (like GLM-5.2) the ability to see images!

Post image
108 Upvotes

opencode-see-image does what it says on the tin. it gives the ability to see images to models that can't.

install: opencode plugin opencode-see-image --global

the plugin adds a see_image tool. you attach an image like normal, the plugin hands it off to a vision model in the background, gets the description back, and answers like it saw it.

models can also ask specific instructions when prompting the sub image viewer agent.

uses minimax m3 if you've got an opencode go sub, mimo v2.5 model if you're running the free (zen) sub. though the model preference can be set :)

repo: https://github.com/alfaoz/opencode-see-image


r/opencode • • 26d ago

How do you get professional looking UIs when coding with free models?

Post image
106 Upvotes

Back when Opencode was more generous, I'd give DeepSeek a live website url, ask it to study the design, and then recreate it with my own twist. The results were surprisingly good.

Now, even with a well defined design-md, free models often struggle to produce polished, professional-looking interfaces. They tend to fall back on generic layouts and repetitive components.

For those of you building with free or smaller models, how do you get around this?

Are there any skills, design systems, component libraries, or workflows that genuinely improve UI quality, besides switching to paid models?


r/opencode • • 20d ago

OpenCode now shows real tok/s and TTFT, can we put the "DeepSeek is slow" complaints to rest?

105 Upvotes

The v2.3.0 update adjusted how tok/s is measured and added TTFT visibility.

Seeing the actual numbers makes it much clearer what’s going on under the hood.

Will this finally stop people from claiming DeepSeek is slower on OpenCode than on other platforms?


r/opencode • • 29d ago

I tried OpenCode CLI vs CommandCode CLI: My thoughts

Post image
105 Upvotes

Token Efficiency

I haven't measured this one directly, but I can tell two things: 1. In command code there is no token count to really be able to count tokens realtime 2. commandcode is MUCH less prone to use subagents, constantly stops using them, thus, spamming the main context window and compacting constantly. I can say, in my opinion, OpenCode, both with context mode, rkt and serena is much more efficient in usage and easier to track. To me, opencode feels like lasting more in usage, but can be prone to usage and peak hours.

UI Looks

OpenCode UI is massively better. It's much simpler to keep track of agents and much more consistent and good looking overall. I like how the input box is organized, the messages, the agents, etc and with the animations it's easy to know if it's working or not. Specially sequential agents.

Taste

I don't like the taste feature, the reason is the same reason we don't use memory for projects; Code changes and evolves constantly and having one taste that worked before might not work now.

Note

I also havent liked PI (again, because of subagents and compliance and was not able to finish a goal) OpenCode recently added goal mode and its so good, before goal, it was a mess compared to Claude Code, now its able to complete tasks that before it did not want to complete, for hours if needed. Before goal I had this issue that the agent reached up to a point and didn't continue, Claude Code nailed that. But you know the difference? OpenCode is freaking fast. I estimate it's because of the agents being respected + low context window.

I use https://github.com/Lean-LLM/lean-agents which includes prompt engineering from DeepSeek recent paper harnessmm, i have adhd and ponytail skills all in one compressed agent prompt. Constantly updated!


r/opencode • • Oct 24 '26

DeepSeek V4.1 Flash 1017 - Final OpenCode Go vs Official Deepseek API Showdown

105 Upvotes

Hey all, i've compiled all of my tests comparing the official deepseek platform API with opencode go's API.

I wanted to run these because OpenCode mentioned that they don't decrease the quality of the model, only TPS/throughput. I wanted to put that to the test. Models are inherently non-deterministic so I wanted to cut out the noise. I know my first post got a decent amount of people curious so I wanted to do everyone a solid.

Here are my posts regarding these, 4 tests in total: 2 HTML/CSS/JS scenes, and 2 Blender renders (all the models, render + video all done by the model).

Round 1:
https://x.com/nothingto12/status/2113446055589056718?s=20

Round 2:

https://x.com/nothingto12/status/2113527245918654911?s=20

Round 3:

https://x.com/nothingto12/status/2113766577816686673?s=20

Round 4:

https://x.com/nothingto12/status/2113815793150439650?s=20

Conclusion:
I personally believe that there is some level of quantization happening even though I cannot prove it outright and am speculating. It may be bugs on the backend providers that are being used. Model quality however seems to be slightly degraded based on tests. I've also noticed that I have gotten significant amounts of timeouts (every single run) from OpenCode Go.

I would say the Go subscription is still significant value, but I wanted to mention the tradeoffs so people can make their own decision.


r/opencode • • Oct 23 '26

New to OpenCode Go, hit 100% of 5-hour limit and 40% weekly without doing anything?

Post image
105 Upvotes

Just subscribed to OpenCode Go based on the praise here, but I'm already at 100% rolling usage (resets in 2h 31m) and 40% weekly usage. I just tried to use GLM5.3 to review my existing uncommitted code, and that was it.

Am I missing something?


r/opencode • • Oct 05 '26

Whole month ruined by a misclick.

Thumbnail
gallery
105 Upvotes

Kimi 2.7 ate all my tokens and did terrible work. Lesson learned, don't misclick


r/opencode • • Oct 16 '26

Gemini 4 Argon Contributor?

Post image
104 Upvotes

Just spotted when I went to switch to Spark 1.3 to work on an open source project. This could be big! Anyone try it yet?


r/opencode • • Oct 20 '26

DeepSeek V4.1 Flash 1017 not showing up in OpenCode

Post image
103 Upvotes

I still don't see the DeepSeek V4.1 Flash 1017 model in the opencode ?

am I missing anything or is it rolling out phase by phase ?


r/opencode • • Sep 17 '26

What is the reason you use OpenCode instead of Claude/Codex?

103 Upvotes

As in title. How do you find the quality of it. What language or kind of projects you think has advantages over other competing products


r/opencode • • 29d ago

How is Deepseek V4.1 Flash in OpenCode compared to Official API?

102 Upvotes

I have seen a bunch of benchmarks saying that OpenCode is using a heavily quantized version of Deepseek V4.1 Flash. How bad is it for you guys? I have only seen a few people's experience so I don't know if the majority are having a really bad experience here.

The $100 usage is so attractive to me and idk if I should choose OpenCode Go or Direct API. I value my time as well so it'll suck if I go with OpenCode Go and I'll have to deal with a dumbed down model everyday 😔


r/opencode • • Oct 23 '26

rip free models

102 Upvotes

I just hope it's only a bug. OpenCode is probably updating its protection against people abusing the free tier models, and the new rules are likely pretty strict. A lot of the users getting rate limited might be false positives on top of the new free quota limits.

Unfortunately, projects like 9router, OmniRouter, or anything else that proxies OpenCode inference so you can use its free models outside the OpenCode CLI make it way easier for more people to abuse it. And with so many new users coming in just because the models are free, it's no surprise the rate limits are what they are now.

But, I think the real another problem is that some people actually resell OpenCode's free tier models as their own inference service.

I've come across several routing services offering free or super cheap models that, not coincidentally, go down whenever something changes on OpenCode's side, or when the free model itself gets discontinued.

So it's not really 9router's or OmniRouter's fault. It's the people heavily abusing the free tier models, plus the flood of new users, that got us to where we are now


r/opencode • • May 01 '26

I created a library for OpenCode that allows you to save up to 80% of your tokens

102 Upvotes

I’m a 22-year-old Computer Science student, and over the last period I built an open-source project called CTX.

GitHub [Repository](https://github.com/Alegau03/CTX)

The idea came from a problem I kept seeing while using coding agents (like claude, codex etc.):

they are powerful, but they waste a lot of context on the wrong things.

They keep re-reading giant `AGENTS.md` files, noisy logs, broad diffs, too much repo structure, and too much repeated project guidance.

So even when the model is good, a lot of the prompt budget is spent on context bloat instead of actual problem-solving.

That’s why I built **CTX**.

What CTX is

CTX is a **local-first context runtime** for coding agents, designed especially for **OpenCode** (for now).

It does not replace the model or the coding agent.

Instead, it sits underneath and helps the agent work with:

  • graph memory for project rules and guidance

  • compact task-specific context packs

  • retrieval over code, symbols, snippets, and memory

  • log pruning to surface root causes faster

  • local MCP integration

  • local-only stats and audit trails

So instead of repeatedly dumping full markdown instructions and huge logs into the prompt, CTX helps the host retrieve only the **smallest useful slice** for the current task.

Why I made it

I wanted something that makes coding agents feel less noisy and more deliberate.

The goal was:

  • less prompt waste

  • less manual context wrangling

  • better retrieval of actually relevant project knowledge

  • better debugging signal from noisy test output

  • a workflow that feels native inside OpenCode

How it works

The flow is intentionally simple:

  1. install `ctx`

  2. go into your repo

  3. run:


ctx init
ctx index
ctx opencode install
opencode

Then inside OpenCode you can use commands like:

/ctx  #Opens the CTX command center inside OpenCode.
/ctx-doctor  #Checks whether CTX, MCP, and the repo setup are working correctly.
/ctx-memory-bootstrap  #Imports project guidance files into graph memory for targeted retrieval.
/ctx-memory-search  #Searches stored project rules and directives by topic or keyword.
/ctx-retrieve  #Finds the most relevant code, symbols, snippets, and memory for a task.
/ctx-pack  #Builds a compact task-specific context pack for the current problem.
/ctx-prune-logs  #Condenses noisy command output into the most useful failure signal.
/ctx-stats  #Shows local usage stats and context-efficiency metrics.

So the daily workflow stays inside OpenCode, while CTX handles the local context layer.

Results so far

On the included benchmark fixture, CTX graph memory reduced rule-token usage by 56.72% while keeping full query coverage and improving answer quality.

I also added a public external benchmark on agentsmd/agents.md, where CTX showed 72.62% token reduction.

The point is not “magic AI gains”, but a more efficient and less wasteful way to feed context to coding agents.

Why you might care

You might find CTX useful if:

you use OpenCode a lot you work on repos with a lot of project rules/docs you’re tired of stuffing huge markdown files into prompts you want better local retrieval and cleaner debugging context you prefer local-first tooling instead of remote prompt glue

Current status

The project is already usable, tested, and documented. Right now the prebuilt release archive is available for macOS Apple Silicon, while other platforms can install from source. It’s fully open source, and I’m very open to:

  • feedback

  • suggestions

  • bug reports

  • architectural criticism

  • ideas for making it more useful in real workflows

If you try it, I’d genuinely love to know what feels useful and what feels unnecessary.

Repo again: https://github.com/Alegau03/CTX


r/opencode • • Sep 02 '26

Goodbye Opencode

101 Upvotes

FINAL UPDATE AND MY THOUGHTS
I believe I understand what's going on, and I've explained it it at length here.

This is just my finding in this particular problem. It has happened and will happen in other similar cases. OpenCode will continue to evolve.

----------

Goodbye Opencode, all good things come to an end.

First of all, I'm a software developer with 30+ years of experience, not a Vibe coder, and I'm not new to this. Also, I use Opencode in its purely vanilla form. Besides Opencode's defaults, I don't have any plugins, MCPs, etc. installed. Just my own skills, own plugins, own MCPs, etc.

I've been using Opencode almost since its first day. It had a nice, positive development and, according to Claude, was a very good alternative. This continued for quite a while. Although we experienced problems from time to time, these were to be expected. However, since May/June, it has started to become increasingly erratic.

First, one day while working on a project, the Docker service suddenly shut down and wouldn't start again. That's how I discovered I had no space left on my disk. I knew this was impossible, and I found the cause was Opencode. Somehow, the "opencode-wal-*.db" file had been created repeatedly under "/System/Volumes/Data/private/var/folders/4q/*". Every time I cleaned it up, Opencode would put it back. We struggled for a long time, but I couldn't figure out the reason. Then, suddenly, it fixed itself!

Yesterday, around 11:30 AM, I felt something was wrong with the network. By 1:00 PM, it was noticeable. Screen sharing within the network was freezing for 5-10 seconds, streaming was interrupting, web search was unresponsive time-by-time. Then, one by one, Unhealthy errors started coming from the services in Home Lab. The cycle of 3-5 minutes healthy, then unhealthy continued constantly. Service responses, which are normally under 100ms, were approaching 10 seconds, and sometimes even timeouts were occurring. I tried for hours to understand the reason, but I couldn't find a logical solution. I accidentally noticed while updating my Mac that everything was fine while my device was off. Later, I realized that the same thing kept happening whenever I opened Opencode and started working. Now I'm analyzing the Router, Firewall, Mac, and other logs to try and figure out what's going on, but this is the last straw.

This is an open-source project and respect to creator and contributors, and therefore, of course, it has its advantages and disadvantages. That's perfectly understandable. I have enough experience in this field to know when to stop, and today is the day.

UPDATE: Possible cause.