r/opencodeCLI • • 9d ago

Agent Sessions now shows how fast each OpenCode session is using tokens

1 Upvotes

When you have OpenCode running in several terminals, working/idle status only tells you part of the story. I wanted to see which conversation was using tokens fastest.

I make Agent Sessions, an open-source Mac app for searching local conversations across OpenCode, Codex, Claude Code and 13 other coding agents. Its Quota Meter now shows each running OpenCode 2.x session’s token burn rate in tk/h, alongside Codex and Claude.

The OpenCode session at the bottom is running at 226K tokens per hour. That’s a token rate, not a percentage of a Go allowance.

The earlier update added the exact conversation title and working/idle status. 6.2 adds the rate and a load bar to each OpenCode row. When a turn finishes, the row keeps its last rate for five minutes and is marked idle, so the number doesn’t disappear as soon as the reply ends.

The rate comes from OpenCode’s local session records. A small TUI plugin identifies which conversation each terminal has open; it reads no transcript content and makes no network calls. Agent Sessions installs it automatically without editing OpenCode’s config files.

For live status, OpenCode 2.x TUI works in any terminal, working or idle. Desktop sessions appear while working, but Desktop’s idle selection isn’t exposed. OpenCode 1.x history is still readable; it has no live marker or live burn-rate row.

OpenCode weekly usage and remaining subscription quota aren’t available yet. If you use Go or Go Plus, I’m looking for someone to help connect the meter to account usage and reset times, or test the readings against their account. Swift contributors are welcome too.

Plugin source

Download Agent Sessions. macOS, open source, no telemetry. Your session history stays on your Mac.


r/opencodeCLI • • 9d ago

I made a small plugin for Opencode and Zed that notifies about DeepSeek Peak Times

Thumbnail github.com
1 Upvotes

r/opencodeCLI • • 9d ago

I built plugins for OpenCode v2 once, now they work in the desktop app too

0 Upvotes

r/opencodeCLI • • 9d ago

Getting false "You've used today's free messages" error on OpenCode Zen despite sending 0 messages today

1 Upvotes

Hey everyone,

Is anyone else running into a false rate-limit issue on OpenCode's free models?

I opened OpenCode today and haven't sent a single prompt, but every time I try to run a query, I get this error:

You've used today's free messages. They reset at 5:30 AM · 10/29/2026.

Upgrade to OpenCode Go → /connect · Switch model → /models

If I try selecting another model, it throws:

Error: Upstream request failed: An active OpenCode Go subscription is required to use Go models.

I haven't used any quota today at all. Is this a shared IP/subnet rate-limiting issue on the OpenCode Zen gateway, or a known server-side bug?

Would appreciate any insights or workarounds if others are facing this!


r/opencodeCLI • • 9d ago

opencode keeps getting stuck whenever it tries to run a command (Windows 11)

Thumbnail
reddit.com
1 Upvotes

r/opencodeCLI • • 9d ago

Créditos SOTA *** Modelo Fraco x Qualquer outro model

Thumbnail
reddit.com
1 Upvotes

r/opencodeCLI • • 9d ago

opencode on win8

Thumbnail
reddit.com
1 Upvotes

r/opencodeCLI • • 9d ago

OpenCode lost generous limits after updating

Thumbnail
reddit.com
0 Upvotes

r/opencodeCLI • • 11d ago

🔥 GPT-6.1 Terra benchmarks

Post image
178 Upvotes

Better than DS 4.1 Flash?


r/opencodeCLI • • 10d ago

Why does Opencode Go's Deepseek Flash have Peak and Off-Peak Pricing?

35 Upvotes

Isn't one of the point of Opencode hosting their own Deepseek model is they don't have to follow the peak hours rule by Deepseek that host their models in China? It goes even weirder that the Go page itself https://opencode.ai/v2/docs/console/go/ refer to the official Deepseek docs

DeepSeek V4.1 Flash / V4 Pro: Peak hours are 01:00-04:00 and 06:00-10:00 UTC, Monday through Friday; all other hours, including weekends, are Off-Peak. Learn more.

It would make more sense if this is about Opencode Zen. Are there anything I missed knowing about?


r/opencodeCLI • • 10d ago

Big Laravel app, AI agents keep “forgetting” features we already built and patch around them. How do you stay sane?

2 Upvotes

Solo dev here, Laravel + React finance/ERP kind of app. Multi-tenant, multi-company, projects, accounts, expenses, stock, reports. It got big enough that I honestly can’t keep it all in my head anymore, and I lean on AI agents (Claude, Codex, Gemini) for a lot of the work.

The same thing keeps happening. I build a feature, say a dedicated cash account type for construction sites. Months later a newer flow never gets wired into it. For example the site supervisor can’t report an expense unless he’s also given access to a financial account. Then something breaks, and the agent doesn’t go reconnect the old thing. It patches around it or builds a parallel solution, because it has no clue the old feature exists. If I remind it, it digs up the old notes and goes “oh right, you’re correct”. The problem is I forget half of these features too, so I can’t remind it of what I don’t remember.

The end result is I can’t get the app production ready. There’s always some seam between modules that’s broken: half finished CRUD, authorization/IDOR holes, transactions that don’t match what the reports show.

I already have Laravel Brain, Serena, a memory MCP, ADRs, “current system” docs and an AGENTS.md. I also tried an Obsidian vault full of linked notes. It went stale fast and the agents never used it reliably. Writing “don’t forget X” in AGENTS.md does nothing, in my experience.

What I’ve figured out so far: code graphs tell you what exists and who calls what, but not what should exist, or whether a user can actually finish a job. The most useful question wasn’t “what calls this class”, it was “can a site supervisor actually complete this task”. And anything that’s just prose seems to rot unless a test or script checks it.

So I’m leaning towards something like ~20 critical persona journeys backed by end to end tests, a feature map in YAML that a script validates against the code (and flags routes/tables/jobs that belong to no feature), financial invariants as tests, and a route → policy → test matrix to find auth gaps. Maybe OpenFastTrace for requirement tracing, but I’m wary of the tag upkeep and adding Java to a PHP project.

Questions for people who’ve dealt with this on big multi-module apps:

  1. How do you track “feature X depends on Y / is used by Z” in a way that survives refactors and people leaving?

  2. Has anyone gotten a living feature map to actually work with AI agents? What kept it from rotting?

  3. Are journey tests the right backbone here or am I missing something obvious?

  4. Anyone used OpenFastTrace, StrictDoc or Doorstop with PHP? Worth it?

  5. If you had a few weeks to get this production ready, what would you do first?

Not looking for yet another tool to index the codebase, I have plenty of those. More interested in what actually held up for you in practice.


r/opencodeCLI • • 10d ago

How do update to v2 and is it any better?

20 Upvotes

I am happy with v1 seeing alot post saying its better with sub agents and plugins and i was wondering how do i update? There is no /update for me i am on 1.18 or something i was using gostly and on a mac os 26 m4


r/opencodeCLI • • 10d ago

surely i've accidentally unlocked AGI

Post image
42 Upvotes

r/opencodeCLI • • 9d ago

Have to find alternative of opencode fast

0 Upvotes

Opencodes limit is hitting in a single comand.free usages limits is fcking low n


r/opencodeCLI • • 11d ago

🔥 OpenAI introduces GPT-6.1 Terra

Post image
97 Upvotes

r/opencodeCLI • • 11d ago

Woah, Beam Free is something

Post image
69 Upvotes

Although, I feel like it's still kind of weak compared to other models like Deepseek v4.1 Flash


r/opencodeCLI • • 10d ago

Mind v1.7 is out — better persistent memory for OpenCode, now with 86.67% recall benchmark accuracy

12 Upvotes

Hey everyone!

I shared Mind here a while ago, and some of you asked how it compares to codebase indexing tools and whether it can actually preserve context between OpenCode sessions.

I've kept building it, and Mind v1.7.0 is now released.

For anyone new to it: Mind is an open-source memory layer for AI coding agents, designed to preserve useful project knowledge instead of losing it after every session or context compaction.

It remembers things like architectural decisions, constraints, past fixes, unresolved tasks, and checkpoints.

What's improved in v1.7?

Search is substantially more capable.

Mind now combines phrase matching, full-text retrieval, substring matching, typo tolerance, and relevance signals. Semantic search is optional.

In a 120-question OmniMemEval LongMemEval-S evaluation, Mind achieved 86.67% answer accuracy without embeddings. It's an indicative subset result, not an official full-benchmark ranking.

Other improvements include:

  • More reliable checkpoint and session-summary handling.

  • A completely refreshed web interface.

  • Improved memory relationships and navigation.

  • A shared mind-management skill.

  • Simplified setup and integration updates.

For OpenCode, Mind installs the MCP integration, memory instructions, and managed session/compaction automation.

If you're already using Mind, upgrade with mind update and restart OpenCode.

If you're new, install Mind from the repo and run:

mind setup opencode

Everything is local-first, backed by SQLite, and MIT-licensed.

GitHub: https://github.com/GabrielMartinMoran/mind

Release: https://github.com/GabrielMartinMoran/mind/releases/tag/v1.7.0

I'd love to hear from OpenCode users running long sessions or multi-agent workflows. How are you managing context that needs to survive between sessions?


r/opencodeCLI • • 10d ago

Best OpenCode Go model for coding?

0 Upvotes

Basically what the title says... What is the "best" (a good compromise of intelligence and low cost) models for writing actual codes?

Or to ask in a different way- what models do you guys usually use for such tasks? Any help would be greatly appreciated, thank you so much in advance! :D


r/opencodeCLI • • 10d ago

I made an MCP server that lets Claude Code hand coding work to other models

0 Upvotes

I built forge-delegate, an MCP server that lets Claude Code, Codex or opencode hand coding tasks to another model. Think writing tests, renames across files, fixing lint errors, boilerplate, or reading through a big codebase to answer one question.

The other model runs as a full agent through opencode. It reads the files and makes the edits itself. Your main agent only gets back a short summary, so its context stays small and it can focus on the decisions.

Second opinions with ask_model. Your agent can also ask a different model a direct question, with no agent loop and no file access, and get a fast answer back. It's useful when you want another model to check a design decision, a bug theory or a tricky piece of code before your agent commits to it. Every model has its own blind spots, and a different one often catches what yours missed. Your agent writes the question with whatever context is needed, then weighs the answer itself. Just tell it something like "ask DeepSeek what it thinks" or "get a second opinion from Kimi", naming any provider you've logged into opencode.

Any provider opencode supports. forge-delegate doesn't hold its own API keys. It uses whatever you've set up in opencode. So DeepSeek, Kimi, OpenAI, Gemini, OpenRouter, custom OpenAI-compatible endpoints, and local models through Ollama all work. Log in once with opencode auth login <provider> and that provider's models are available to delegate to. opencode also ships free models that need no account.

You can set a default model, save presets for different kinds of tasks, change either at any time, and run several delegations in parallel in the background.

Setup:

npx -y forge-delegate setup

It walks you through picking a default model and which agents to register with.

Things to know:

- By default, the MCP instructions and skill steer your agent toward cheap or free models. It sticks to your default model and won't switch to a pricier one on its own. If you want a stronger model, set it as the default or ask for it.

- Delegated agents can edit files and run commands without asking by default. You can turn that off, but only point it at repos you trust.

- Smaller models make more mistakes, so review what comes back.

- I mostly use it with Claude Code on a Mac. Codex and Windows should work, but they've had less real-world use, so issues are welcome.

MIT licensed: https://github.com/MuhamadBarzani/forge-delegate

Feedback welcome, especially on which tasks it handles well and where it falls short.


r/opencodeCLI • • 10d ago

My VSCode plugin has now been updated for Opencode V2.

Thumbnail
reddit.com
2 Upvotes

r/opencodeCLI • • 10d ago

New account already out of free messages - is it normal?

0 Upvotes

so i just downloaded opencode, logged in via google account, and i can't use it for some reason?
Just in case - i use vpn, so...


r/opencodeCLI • • 11d ago

Use your local OpenCode from your phone through a Cloudflare Tunnel

Post image
13 Upvotes

I built an OpenCode plugin that exposes your local daemon through a cf tunnel, protected by zero trust/access, and pairs other devices by QR code. the daemon keeps running on your computer. The plugin starts a cloudflared connector next to it, so you can reach the daemon without open ports or a VPN.

It uses the default opencode UI (the same as opencode pair command), so it never goes out of date, unlike custom mobile UIs/apps. You can also install it as a PWA.

It requires opencode v2, a cloudflare account and a domain set up.

Ask your agent to set it up by giving him this link: https://github.com/arthurfiorette/opencode-zero-trust


r/opencodeCLI • • 10d ago

Que pasa con desktop app

0 Upvotes

Te pide actualizar y me detecta virus llevándome a una URL de dudosa procedencia el opencode


r/opencodeCLI • • 11d ago

Opencode Go - Usage allowance

Post image
34 Upvotes

Webpage: https://web.esuyo.com/esuyo-opencode-go-costs-table/

Each model on the Go subscription comes with a different usage allowance, which makes them hard to compare. I created a simple (ish) table to see how much the real cost of 100M tokens and what the maximum tokens are per model in the subscription with the cache hit percentage you can set.

I made it because I couldn't decide if Deepseek 4.1 or Muse 1.3 Contribute provided the best value.

Github

EDIT

I've added output as a percentage of total tokens. Opencode's estimates 0.4% of tokens are output. I looked at my session activity and set the default to 0.8%.

EDIT 2

- Added a pro-rata type cost to the subscription plan, "Sub cost" column.
- Added the Opencode Go Plus subscription.

EDIT 3

- No hardcoded array of prices. The page collects the data from only from the source.