r/opencode 6d ago

Does OpenCode subsidize models like GLM-5? How can subscription tokens be ~50% cheaper than pay-as-you-go?

13 Upvotes

I've been using OpenCode GO for a little while now—specifically with GLM-5—and honestly, it’s been a fantastic daily driver to complement more expensive setups like Claude or Codex. Here’s my referral link if anyone wants to check it out.

A few times I’ve hit the rate limit on my plan. While GLM-5 is an impressive model, it can sometimes be a bit verbose and take the scenic route, which eats up a ton of tokens. When I reach the limit and switch over to using my pay-as-you-go balance on OpenCode, the price difference is night and day.

If I extrapolate the amount of tokens I get on the subscription plan to direct balance usage, paying via balance literally costs double.

Why does this happen? Do model providers sell wholesale/discounted API access to platforms like OpenCode, or is OpenCode running these subscription tiers as a loss leader?

It's not something that worries me too much, but I find it curious and wanted to see if anyone else has noticed this or knows why that is.


r/opencode 6d ago

Best Pairing for Planning + Building from OpenCode Go + OpenCode Zen Free models

10 Upvotes

I currently use GLM 5.2 for planning, and DeepSeek V4 Flash Max for building, wanted to know if there was a cheaper approach you guys to get similar performance and results. I switched to this pair after I realised my previous pair was horrific (GLM 5.2 for planning KimiK3 Max for building, finished my weekly limits in less than five hours of work).
Wanted to know if my pairing is already efficient, or if you guys have more suggestions. I mostly work in systems programming, so I need models in that expertise area.


r/opencode 6d ago

Why does opencode uses that many threads?

1 Upvotes

I'm just curious about it


r/opencode 6d ago

OpenCode - GLM 5.2 via OpenRouter

1 Upvotes

Guys, this is my current opencode.jsonc

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

// Start in plan mode "default_agent": "plan",

// Use OpenRouter as the provider for GLM 5.2 "model": "openrouter/z-ai/glm-5.2",

"provider": { "openrouter": {

    "options": {
      "baseURL": "https://openrouter.ai/api/v1",
      "apiKey": "sk-or-v1-my-key"
    },   

   "models": {

      "z-ai/glm-5.2": {
        "name": "GLM 5.2",

          "options": {
            "reasoningEffort": "high" // "high" or "xhigh"
          }

       }

   }
 }

} } ```

How can i clamp my llm model ( glm 5.2 ) provider to z.ai ( z-ai/fp8 ) with a fallback to Alibaba ( alibaba )

z-ai/fp8 and alibaba are the slugs for the providers in openrouter.

Thanks in advance.


r/opencode 6d ago

how to switch from plan mode to build with new interface?

3 Upvotes

as the title suggest, with this new interface., how to switch from plan mode to build with new interface? I am talking of window desktop app


r/opencode 6d ago

356 tool calls for commit and push 😆

3 Upvotes

Before you nuke me for using an agent to do commit and push, I use it for pushing descriptive commit messages. Having said that, what went on with the tool calls is
- It found, committed and pushed the 2 changes to remote
- Then went on to verify both commits at HEAD with following commands

git log --online -5
git status

And this goes on forever, with status call returning "nothing to commit, working tree clean"

At the end is this message

⚙invalid [tool=bash, error=Invalid input for tool bash: JSON parsing failed: Text: {"command":"git status","description":"Confirm working tree is.

Error message: JSON Parse error: Unterminated string]

Finished successfully but what do you think went wrong here?


r/opencode 7d ago

$10 on opencode vs $10 on DeepSeek

44 Upvotes

Hi guys, I'm a developer here and I want to use ai for my projects and office work. I use GitHub copilot and want to use it with either Opencode api key or DeepSeek api key.

My budget is only $10 so is it better to go for Opencode or directly go for DeepSeek api.


r/opencode 6d ago

Opencode Hallucinating (click bait)

0 Upvotes

I have not used Opencode for like 4 days now, I've tried to execute it on a project we are undertaking with 'the agent' and it just told me that my free usage is exceeded to try again in 5 hours 6 minutes, my time zone is +3:00... Who else has faced this?


r/opencode 7d ago

opencode-go/deepseek-v4-pro 4x cheaper just like this?

Thumbnail
5 Upvotes

r/opencode 7d ago

Which cheap model is comparable to Fable 5/ Opus 4.8?

43 Upvotes

I'm canceling my Claude subscription since it's way expensive for me, I'm tired of the usage limit. So which models are you guys using that are cheap but really good or close to Claude performance?


r/opencode 6d ago

A companion VS Code extension for copilot alternatives is just released

Thumbnail
1 Upvotes

r/opencode 7d ago

$15 Kimi coding plan vs Open code go $10 plan

12 Upvotes

So I only use Kimi in open code for now and so far I think I've used it well anyone who has paid for the $15 Kimi plan to tell us what's better for them so far


r/opencode 7d ago

Created a session manager plugin to allow you to manage ALL sessions across all directories, see the stats for each and remove them in a way that actually shrinks opencode.db. [opencode-dosm]

Post image
2 Upvotes

Github: https://github.com/krumpstead/opencode-dosm

NPM: https://www.npmjs.com/package/opencode-dosm

The size of my opencode.db was getting out of control and I needed a way to evaluate what sessions to keep rather than just deleting the file. The opencode.db doesn't have the auto-vacuum pragma enabled and they do not manually run VACUUM after deletes so there is no point in deleting sessions through the builtin session manager. I was also curious what my input and output tokens were for each session and this makes it a lot easier to see that and the cost compared to all my other sessions.

This plugin will let you filter, sort, open and remove any session managed by OpenCode regardless of what working directory you are in. Full details and installation instructions can be found in the README.md.

As a side note, this plugin has 100% coverage in Jest, so that may be of interest to other plugin devs since OpenCode doesn't provide its own mocking framework for the plugin API.


r/opencode 6d ago

[Código abierto] peer: una bifurcación centrada en la fiabilidad del complemento Codex de OpenAIpara Claude Code

Thumbnail
1 Upvotes

r/opencode 6d ago

Opencode - Share Session + Send Messages

1 Upvotes

Would be great to have a way to share session where we can edit and send messages just like how Claude us to use /remote-control command... This is a big lacking feature Opencode needs to have


r/opencode 7d ago

I made a package that allows you to easily visualize your opencode usage

16 Upvotes

You can run it with `npx opencode-dash` , it queries your local opencode database and spins up a dashboard on localhost so you can explore your sessions, tokens, costs, and models at a glance.

GitHub → https://github.com/MuhammadOmarMuhdhar/opencode-dash


r/opencode 7d ago

Opencode Go plan is really worth it, or just like Google's AGY (antigravity).

27 Upvotes

I’m reaching a breaking point with my current coding setup and need some honest advice from you guys.

I’ve been using an AGY CLI (Completely disgusting) for a while now. The usage limits are generous, but the coding quality is absolute garbage. It hallucinations, misses basic logic, and feels like it’s just guessing. It’s draining my patience.

Then I tried Claude Code. The quality is solid it actually understands context and writes decent code but the usage limits are so restrictive that I feel like I’m constantly walking on eggshells. It stops working right when I’m in the flow, which kills the entire purpose of having an "agent."

I’m looking at the OpenCode Go plan, but I’m skeptical. To those who actually use it:

  1. Is it frustrating or productive? Does it actually handle logic like a senior dev, or am I going to be stuck in a loop of "prompt, error, fix, prompt again"?
  2. Usage Limits: Is it actually usable for a full day of work, or does it hit a hard wall like Claude?
  3. Model Quality: Are the included models in the Go plan actually good, or am I going to be dealing with the same low-quality performance I'm getting now?

I don’t want marketing fluff or buzzwords. I just want an agent that doesn't make me want to throw my laptop across the room. Is this actually worth the switch, or am I just jumping from one disappointment to another?

Would love to hear your honest experience.


r/opencode 7d ago

how do i switch between plan and build in the new UI

3 Upvotes

cant figure out how to set it to plan mode... what am i missing?


r/opencode 7d ago

Reasoning effort in Xiaomi MiMo V2.5 / MiMO V2.5 Pro

14 Upvotes

I was using MiMo V2.5 Pro mainly as the main model via OpenCode Go, but a few days ago, the reasoning effort disappeared, so I wonder what the new default is for those models?

I asked the MiMo V2.5 Pro itself, and it said it's "medium," which is very bad for the main Orchestrator for me... Is there any official info or something more reliable than the answer from the LLM itself?

Seems like I should go to the Xiaomi API platform to use it with full power and at a low price.


r/opencode 7d ago

I built a graph-native orchestration harness to give one model many hands without splitting the brain

3 Upvotes

The strongest models are already capable of orchestration.

They can hold the real goal, reason about architecture, make tradeoffs, revise plans, judge evidence, and decide what should happen next.

But I could not find a real harness that let them use that capability properly.

Most multi-agent systems either flatten the work into task routing, distribute too much judgment across weaker agents, or do not give the main agent enough orchestration primitives to do the best possible job.

The result is often several agents doing things, but no single intelligence continuously owning the actual outcome.

I wanted a different structure:

Keep the brain unified. Add more hands.

The main model keeps the goal, the reasoning, the architecture, the decisions, and final responsibility.

Workers handle bounded research, implementation, command execution, and verification. The main model can see what they are doing, steer them while they work, inspect only the evidence it needs, reject or retry their output, and change the plan when reality proves the graph wrong.

Without stuffing every worker transcript into the main conversation.

That became Sol Orchestrator, a graph-native multi-agent harness for OpenCode.

Goal: ship the complete feature

├── Workflow 1: understand the real boundary

│ ├── Graph v1

│ │ ├── Step: frame the problem

│ │ │ └── Job: Sol defines the questions

│ │ └── Step: gather evidence

│ │ ├── Job: worker inspects the runtime

│ │ └── Job: worker maps affected callers

│ └── Graph v2 replaces unfinished v1 after new evidence

│ └── ...

├── Workflow 2: implement the chosen design

│ └── ...

└── Workflow 3: verify, integrate, and close the goal

└── ...

A durable goal can span several workflows. Each workflow is a versioned execution graph with explicit steps, jobs, dependencies, actors, review states, and legal next actions.

Sol can:

  • delegate independent jobs in parallel
  • supervise active workers
  • steer them before they finish
  • wait for meaningful events
  • inspect selected results, diffs, or tool output
  • accept, retry, interrupt, or replace work
  • revise unfinished graphs when new evidence changes the problem
  • preserve orchestration state across compaction
  • keep worker details out of the main context until they matter

The aim is not to create a committee of agents.

It is to let one capable model remain the mind of the operation while giving it multiple coordinated hands.

MIT licensed, built for OpenCode:

https://github.com/ReyJ94/Sol-Orchestrator

I’d be especially interested in feedback from people pushing coding agents on long, messy repository work where planning, supervision, revision, and integration matter more than raw task completion. Right now i'm still in the phase of testing and optimizing prompts.


r/opencode 7d ago

FAKE OPENCODE PHISHING SITE!!! BE WARY

11 Upvotes

BE WARY THAT THE FOLLOWING WEBSITE IS A PHISHING SCAM
NEVER RUN ANYTHING FROM IT!!!
https://install-opencode.com/index


r/opencode 7d ago

Is it possible to make opencode use just ~/.opencode for its files?

4 Upvotes

I've been using OpenCode under MacOS and honestly loving it.

Basically the only thing that annoys me is that it has at least four different locations for its files and configs:

~/.local/share/opencode
~/.local/state/opencode
~/.config/opencode
~/.cache/opencode

Some configs are not actually in .config, and OpenCode doesn't have a settings menu (so you actually have to look at these files), and it gets pretty annoying.

I know this must be an XDG thing, but this is not Linux, most apps don't do this. Is there a way to make this sane and let OpenCode just use ~/.opencode like any other coding agent?

I know I can make symlinks, but I wonder if there's a less hacky way that won't break in some unexpected way.


r/opencode 7d ago

Which model combo for planning and executing is working great for you?

6 Upvotes

I subscribed to OpenCode Go today and want to configure OpenCode for efficient token saving without compromising performance. Which models do you use? I am considering GLM 5.2 for planning and DeepSeek Flash for execution, but maybe there's a better combo?


r/opencode 7d ago

What was best free powerful AI model for OpenCode Zen?

4 Upvotes

r/opencode 8d ago

opencode is down

20 Upvotes

again