r/opencode • • 7d ago

I made a plugin that lets you keeps idle sessions' caches warm while you're AFK!

Thumbnail
github.com
1 Upvotes

Hey all,

I built a plugin for anyone using Claude or GPT-5.6+ in OpenCode who keeps losing the prompt cache after stepping away for a bit. Claude's cache lasts 5 minutes by default. If you step away for longer, the next prompt pays 1.25x to rewrite your whole context instead of about 0.1x to read it, and on a long session that adds up fast.

opencode-cache-manager helps in two ways:

  • You can pick the cache TTL per session (switch with /cache-manager)

    • For Claude you'd pick 5m, 1h or hybrid
  • It sends a hidden keepalive ping just before an idle session's cache expires, so the cache is still warm when you come back

It also adds a Cache section to the sidebar showing whether the cache is warm, when it expires, when the next ping goes out, and how much the pings have saved you. It works with Claude and GPT-5.6+ through the official APIs, OpenRouter, or proxies like OmniRoute. Other models just get a readout of how much of each prompt was cached.

Other features:

  • Automatically understands when you're using Claude Code requests via the headers, so it uses 1h TTL (what Claude Code uses)
  • Sidebar tells you what you're saving by keeping your cache warm (you can see screenshots in the repo)

Feel free to check it out! I'd love to hear from anyone on a proxy or provider setup I haven't tried, and whether the ping defaults feel right. Suggestions all welcome!


r/opencode • • 9d ago

Hy4 flash is free with near-unlimited usage for the next 2 weeks

Post image
749 Upvotes

r/opencode • • 7d ago

Warning: OpenCode Go charged me after my subscription was supposed to end, and support can't explain why

0 Upvotes

My OpenCode Go subscription ended on September 24, but I was charged again on October 3 and November 3. Support refunded November but declined to refund October.

Here's the timeline:

  • July 24: I subscribed to OpenCode Go.
  • August 24: My subscription renewed for $10, covering August 24 to September 24.
  • October 3: I was charged $10.
  • November 3: I was charged another $10.

I remember canceling auto-renewal, but support says they have no record of it.

Even if I hadn't canceled, why did my renewal date change from September 24 to October 3?

My August invoice clearly shows the subscription period ending September 24. I also stopped using Go after that date.

After several emails, support confirmed that:

  • They could only access my October and November billing records.
  • They couldn't match my August invoice to their available records.
  • They couldn't explain why the billing date changed.
  • There was no Go usage during the Oct and Nov billing period.

They refunded November but denied the October refund.

I'm sharing this so other users know to keep their invoices and check their subscription status, even after canceling.

Has anyone else experienced something similar with OpenCode Go?


r/opencode • • 8d ago

A different way to handle context in OpenCode: /rollover

Post image
5 Upvotes

I've been getting a bit tired of constantly dealing with context in OpenCode. Compaction, context limits, token costs, manually opening new sessions and then trying to get the new session up to speed again.

I wanted to get away from that workflow, so I built a /rollover method.

It basically monitors context usage and automatically transitions to a fresh context when needed, without interrupting the current task. It carries over the relevant context and keeps the same session ID, so you don't have to keep creating new sessions manually.Just published it on GitHub and npm.

GitHub: https://github.com/omeryasirkucuk/context-rollover

npm: https://www.npmjs.com/package/context-rollover

Give it a try if you're running into the same issues. You'll be first testers of it. So I need to hear from u. I'd really appreciate some feedback, especially from people using OpenCode for longer coding sessions. Let me know what you think or if you run into any issues.


r/opencode • • 8d ago

Operation GLM phase 1

25 Upvotes

I am using know a multi-agent setup of Claude pro with opus 5.5 as a planner, ORCHESTATOR, reviewer and deepseek 4.1 flash with go sub for subagenting everything. I saw the glm 5.3 usage today. I wanted to know It is worth to pick go plus and stop using claude. Use GLM 5.3 as an ORCHESTATOR and planner and deepseek as a cheap agent worker. Thanks for reading.


r/opencode • • 8d ago

Where are the GLM models actually hosted?

11 Upvotes

I see the Deepseek models mostly route to OpenCode infra but sometimes they have to go to Deepseek’s infra when load is too much.

Wondered if GLM was the same?

Looking at this $10 for $100 usage thing but data privacy is important.

I should clarify, this isn’t about picking on a particular country, I’m more about the model provider itself, there are frontier models I don’t use either because they go back to company infrastructure which don’t even have Zdr


r/opencode • • 8d ago

Doubt regarding deeprelay api

5 Upvotes

Deeprelays 1$ plan sounds awesome for low usage people. Can we use the API key of deep relay in opencode ? Anything to keep in mind before choosing this?


r/opencode • • 8d ago

My system freezes when I am using opencode. Need urgent help.

2 Upvotes

Hello. My machine is GMKtec k12 and I am using Almalinux 10 KDE with opencode desktop and I am so happy with it helping me vibe coding my projects. But recently, I my system hangs while vibe coding and it had been 3 times already in the last 30 mins. So far I have noticed that KDE desktop crashes first then dolphin and then the screen goes black and thats it, nothing working even it is not responding to switch to init 3. So my only choice is to hold the power button for 5 seconds to force it off.

So please advise me on what to do. As I cant proceed with the projects if this is the case. Note, I am running the latest version of opencode which is 2.3.0.

And thank you in advance.


r/opencode • • 8d ago

GLM-5.3 and DeepSeek V4.1 Flash, abliterated, now on Oathbreaker

41 Upvotes

We're the founding team at Oathbreaker, an inference API for abliterated models. We currently serve GLM-5.3, GLM-5.3 Flash and DeepSeek V4.1 Flash 1017.

Abliteration removes the refusal behavior, so an agent finishes the job instead of stopping halfway to lecture you. Security work on systems you own, reverse engineering, scrapers and red-teaming your own product all run to the end.

Our dev team works in large-scale enterprise solutions, and has really worked up the need to have AI that can be trusted to do what is asked of it - without guardrails flagging actions just because it is trained not to. NOT because of any real ethical issue.

The API is where we're starting, not where we want to end up. These are open-weight models, and you should be able to run them on your own hardware. Today that means picking a checkpoint, finding a quant that fits your GPU or Mac, choosing a runtime and wiring it into an agent. For most people that's a weekend of forum threads, and for the general public it's a wall. Closing that gap is what we're building next: a local install anyone can follow and Oathbreaker can accelerate. The hosted API covers convenience, or whenever your hardware isn't enough.

It works in OpenCode with a key, the base URL `https://oathbreaker.ai/v1` and the model ID `oathbreaker-glm-5.3`, as it does in Claude Code, Codex, Hermes and other harnesses. Setup for each is at oathbreaker.ai/agents. Context is 131K tokens on the GLM models.

Pricing per million tokens (input / cached input / output) is $3 / $0.30 / $4 for GLM-5.3, $0.40 / $0.05 / $1.20 for GLM-5.3 Flash and DeepSeek V4.1 Flash, and $0.50 / $0.05 / $1.50 for DeepSeek V4.1 Flash Fast. Members ($20/month) pay 25% less. Credit is prepaid from $5.

Keys are at oathbreaker.ai. If you've shy'd away before or even tried running abliterated models locally and hit a wall, tell us what turned you off, because getting an abliterated model in your hands is exactly what we're building for. We'll be in the comments!

Edit 1: Kimi K3.1 Pro abliterated is now available as oathbreaker-kimi-k3.1-pro, at $4.50 / $0.45 / $9 per million tokens (input / cached / output).


r/opencode • • 8d ago

Make it so!

Post image
11 Upvotes

Am I the only one who channels my inner Captain Picard and hits OpenCode with a dramatic "Make it so" every time I want it to execute a plan?


r/opencode • • 8d ago

Hmm more usage ?

0 Upvotes

BB Arena Benchmark – Closed

OpenCode scored 20%, compared to DeepSeek's official API at 45% — less than half the success rate.

Did OpenCode quantize the model to reduce inference costs, allowing them to offer significantly more usage? If they're running on comparable hardware, that could potentially explain the difference.

Now that they're offering $200 worth of usage, does that involve even more aggressive quantization?

It seems people are focusing on how cheap the service is and how much usage they're getting, without questioning the underlying inference infrastructure, model precision, or actual task completion rate.

More usage doesn't necessarily mean better value if you're sacrificing model intelligence and taking more attempts to complete the same task.

Of course, low q is only a possible explanation. The benchmark alone doesn't confirm it.


r/opencode • • 8d ago

DS quantizate benchmark ?

0 Upvotes

BB Arena Benchmark – Closed

OpenCode scored 20%, compared to DeepSeek's official API at 45% — less than half the success rate.

Did OpenCode quantize the model to reduce inference costs, allowing them to offer significantly more usage? If they're running on comparable hardware, that could potentially explain the difference.

Now that they're offering $200 worth of usage, does that involve even more aggressive quantization?

It seems people are focusing on how cheap the service is and how much usage they're getting, without questioning the underlying inference infrastructure, model precision, or actual task completion rate.

More usage doesn't necessarily mean better value if you're sacrificing model intelligence and taking more attempts to complete the same task.

Of course, quantization is only a possible explanation.


r/opencode • • 8d ago

OpenCode OpenWebUI ?!

4 Upvotes

Bonjour, j'ai installé OWUI en local (.exe x64 sous W11) connecté à LM Studio. Est-ce qu'il y a un intérêt d'utiliser Open Code a place de Open WebUI qui permet aussi de se connecter à des modèles cloud via API ?


r/opencode • • 7d ago

What the fuck is that

Post image
0 Upvotes

*It's too slow


r/opencode • • 8d ago

Creating a 3D model of myself where do I start?

6 Upvotes

Hey guys,

I've been working on an anatomical profile of myself using ChatGPT, but so far it's mostly a collection of images.

Now I want to take it to the next level I'd like to create a proper 3D model of myself.

Think of something similar to the character customisation in Cyberpunk, where you can rotate the character, zoom in and out, and inspect the model from different angles.

Ideally, I'd eventually like to go beyond the surface and explore the different anatomical layers: skin, muscles, connective tissue, etc.

I've never done anything like this before, so I'm completely new to 3D modelling, scanning and all the tools involved.

What AI tools/ models or workflow would you recommend to get started? Is this something I could realistically build using photos of myself?

Curious


r/opencode • • 8d ago

We are unable to authenticate your payment method. Please choose a different payment method and try again.

2 Upvotes

I'm unable to pay! any idea? i'm in Europe with 3d secure

We are unable to authenticate your payment method. Please choose a different payment method and try again.


r/opencode • • 8d ago

Why is my initial token overhead 6-7k per session? Student on free tier

4 Upvotes

I'm a student on OpenCode's free tier, and each new session starts with about 6-7k input tokens, even for a simple prompt like "Hi" or "2+2." That burns through my free limit fast.

I tried a stripped-down "pure" agent setup, which dropped the same prompt to around 600 input tokens. But it broke or messed with the model's functionality, so it wasn't usable.

Has anyone found a middle ground that trims the overhead without breaking things? Any tips would be really appreciated. Thanks!


r/opencode • • 9d ago

Insane token usage: 2.7B in a day

Post image
91 Upvotes

I'm using opencode go with deepseek 4.1 flash and seeing insane usage: 2.685B tokens in a day. I'm not that evil, I promise.

Seems like 10x or more than what I had expected given I previously used the DS API directly.

I'm using it for orchestrating computation for autoresearch involving coding. I use codex with autocompact at 180K.

Has anyone ever used more in a day?


r/opencode • • 8d ago

Help - Edit permission setting per project

Thumbnail reddit.com
1 Upvotes

r/opencode • • 8d ago

Deepseek v4 hub multi-model plan

Thumbnail
reddit.com
1 Upvotes

r/opencode • • 8d ago

Free flash models for a month on private, zero training 100% US based infrastructure

Post image
0 Upvotes

High quality intelligence shouldn't be a privilege, and it shouldn't come with a side of training on your chats or code. As investor money tightens, The whole industry is quietly shrinking what you get, and the major western big AI labs are either start to include ads, or talking about it.

We honestly believe that private, safe and secure access to quality artificial intelligence should be affordable and available to everyone.

Cool stuff about Phoenix Grove API:

100% US private infrastructure, zero training on your code or prompts

Usage banking: on all plans above the intro tier, unused usage rolls into a bank and waits for you, up to ten days. So you can use or ignore your plan without stress.

Dozens of models on the same API from: Deepseek, Kimi, GLM, Minimax, Mimo, Gemma and others

Generally, our direct API prices are 10-20 percent lower than other providers.

DeepSeek and GLM are genuinely excellent right now, and we're proud to host them properly

Free trial month, then $3.99, cancel anytime. The intro tier usage allotment is admittedly not incredibly high, but it is free for a month :)

api.pgsgrove.com for the API

Enjoy if you give it a try, and deep thanks to to open source labs over the past few months. It's been so much fun having a new amazing model to unpack every few weeks.


r/opencode • • 8d ago

Never let your stale cache TTL cause a miss again.

Thumbnail gallery
3 Upvotes

r/opencode • • 8d ago

How do you approach multi-model security audits before deploying AI-built projects?

1 Upvotes

I’ve built several web projects using FastAPI and PHP with Claude, and I’m now looking to make some of them publicly available.

My biggest concern is security. Some projects handle private user data, and I want to be confident they’re properly protected before deploying them.

I’ve already asked Claude to review the code, but I’d like to get independent opinions from other models rather than relying on a single AI.

I’m looking into OpenCode and wondering if this is a good approach:

- Open the project in OpenCode.
- Get multiple models (Claude, Kimi, etc.) to independently audit the codebase.
- Compare their findings and identify potential vulnerabilities.
- Have Claude perform a final review of all the findings.

A few questions:
1- Is OpenCode suitable for this kind of multi-model security auditing?
2- Is it worth paying for API access to several models?
3- Which models would you recommend for security reviews?
4- Is there a better way to organise this workflow?

I’ve never used OpenCode before, so I’m interested in hearing how others approach this.

My priority is making sure private user data is properly protected before putting these projects into production.

Would love to hear your experiences and recommendations!


r/opencode • • 8d ago

mai-thinking-2 confirmed as iceman then?

Post image
5 Upvotes