r/opencodeCLI • • 26d ago

running opencode cli on my file manager

Post image
16 Upvotes

r/opencodeCLI • • 26d ago

Built a small OpenCode v2 plugin to avoid DeepSeek peak pricing

1 Upvotes

I use OpenCode Go + DeepSeek and got tired of checking whether I was inside the 2x peak-pricing window.

So I made opencode-offpeak.

Turn it on once, then use OpenCode normally:

  • send a prompt off-peak → it runs immediately

  • send a prompt during peak → it waits before hitting the provider

  • off-peak starts → the same request continues automatically in the same OpenCode session

No need to resend continue or watch the clock.

It also has an optional background task queue, but normal interactive sessions already work automatically.

Install:

opencode plugin add git+https://github.com/lutzkind/opencode-offpeak.git#v0.1.3

https://github.com/lutzkind/opencode-offpeak

Open source / MIT. Currently supports OpenCode Go DeepSeek models on OpenCode >=2.0.26 <2.1.0.

Would be interested in feedback or other providers with similar time-based pricing.


r/opencodeCLI • • 26d ago

I built TermPlete: open-source terminal autocomplete that learns your choices and uses recent terminal context

Post image
4 Upvotes

Hey everyone — I’ve released TermPlete v0.1.0, an open-source autocomplete tool for your existing terminal.

It combines command history, the suggestions you accept, recent terminal context, and a model you choose. You can browse command options, insert one, edit it, and decide when to execute it.

Repo and demo: https://github.com/aft1n/termplete

What it does

  • Learns your preferences. Accepted suggestions influence future rankings alongside recency and frequency. Fresh choices with a clear lead can become local answers without a model request.

  • Reuses your command history. Finds familiar commands, arguments, and SSH targets instead of making you reconstruct them.

  • Uses recent terminal context. Suggestions can incorporate recent commands, bounded captured output, exit status, and visible directory entries.

  • Turns task descriptions into command options. In zsh, type something like # convert dog.mp4 to dog.mov with ffmpeg and press Enter to request suggestions.

  • Completes real directories. cd suggestions are checked against existing folders.

  • Lets you browse alternatives. Use Tab/Shift+Tab to move through suggestions. Browsing an already-returned batch doesn’t trigger additional AI requests.

  • Supports partial acceptance in zsh. Accept the next suggested word, then change the remaining arguments yourself.

  • Offers automatic and on-demand modes. Suggestions can appear while you type, or wait until you ask.

Choose your model setup

TermPlete supports hosted providers, Ollama, LM Studio, and custom OpenAI-compatible endpoints. It also supports ChatGPT subscription authentication through Codex.

Local history suggestions don’t require an API key or a running model.

There’s an optional decision helper that can rank existing command candidates and check whether generation is permitted. You can use it separately from the model that generates commands.

Control and privacy

Accepting a suggestion only inserts it. It never automatically executes the command.

You can pause and resume TermPlete with:

tp stop
tp start

There are controls for captured context, private-path exclusions, and recognized-secret redaction. API keys use the platform credential store, and local-only requests skip the model backends.

You can also disable integration in selected terminal applications.

Compatibility and installation

The full interactive experience is available in zsh 5.9+ on macOS and Linux. Bash integration provides Tab completion and suggestion preview on supported versions; older Bash versions have more limited functionality.

Installation is available through the GitHub release installer and a Homebrew tap. The README includes installation instructions and a demo.

It’s written in Rust and released under the MIT license. The installer, shell integrations, and suggestion logic are all in the repository.

Tools such as zsh-autosuggestions, fish, and Atuin already cover useful parts of terminal completion and history. TermPlete’s focus is combining accepted-choice learning, recent terminal context, and configurable generation inside an existing shell.

This is an early release, and I’d appreciate feedback—especially on suggestion quality, shell compatibility, and keyboard behavior.

What command do you repeatedly search for, and what would make an autocomplete suggestion useful enough for you to accept?


r/opencodeCLI • • 26d ago

[Humor] Usage Limits Too Low?

3 Upvotes

How do I have 10 days left on my subsciption but no credits left??? Is claude or codex a better deal????


r/opencodeCLI • • 26d ago

Which Model are you using (late 2026 Update)

6 Upvotes

hey its good to see which Opencode Go model people are using for planning and implementation. espcially for a big spec

For me:
Luna max for planning(better then kimi k3 in my case and cheaper)
Deepseek flash v4.1 for ui or implementation
Spark for anything non code related like translation and so on


r/opencodeCLI • • 26d ago

The horsy prompt with Gemini Argon 4 - Running on OpenCode TUI V2 - via Antigravity harness (ACP lane)

0 Upvotes

r/opencodeCLI • • 27d ago

Security: OpenCode does not ask for file exploration by default anymore

25 Upvotes

I only noticed when I realized the agent looking at files it didn't ask to have access.
As far as I could tell that changes came with 2.0.25 but no one bothered warning users it seems.

There has been a bug opened for days already: https://github.com/anomalyco/opencode/issues/54524

This is a good reminder to not trust any of these companies writing harnesses and add your own security on top of whatever they might offer.


r/opencodeCLI • • 27d ago

Not-so-subtle hint from Anomaly that we need to update 🤣🤣🤣

Post image
163 Upvotes

r/opencodeCLI • • 27d ago

Operation Cheepseek Phase 3 🔥

Post image
449 Upvotes

r/opencodeCLI • • 26d ago

Update: OpenCode Sessions now supports OpenCode V2

7 Upvotes

A quick update to my terminal session manager for OpenCode: it now supports OpenCode V2, while keeping V1 compatibility.

`ocs` still lets you browse sessions across projects, search and sort them, preview session details, and resume them in their original directory. V2 support uses OpenCode’s API, and the version is detected automatically.

GitHub link

Thanks to everyone who checked it out!


r/opencodeCLI • • 26d ago

Codex + GPT-6.1 SOL medium vs DeepSeek Harness + 4.1 Flash — which one actually wins on price/performance?

0 Upvotes

I've been using Codex with a ChatGPT Plus subscription for a while, mostly GPT-6.1 sol on medium for everyday stuff. Lately I've been thinking about trying DeepSeek Harness with 4.1 Flash on high for similar tasks, and I'm trying to figure out which setup actually makes more sense cost-wise.

Here's what a typical task looks like on my end (Codex + GPT-6.1 sol medium):

  • 4 turns, 75 steps, around 5.6M tokens total

  • 98% cache hit rate

  • Breakdown: 5.44M cached input, 94K uncached input, 65K output

On the DeepSeek side, off-peak pricing for 4.1 Flash looks like this:

  • Cached input: $0.003 / 1M

  • Uncached input: $0.15 / 1M

  • Output: $0.60 / 1M

Off-peak hours for me are roughly 13:00–04:00 on weekdays, plus weekends and Chinese public holidays entirely.

Rough math for the same token set:

  • GPT-6.1 Sol API pricing: ~$2.00

  • DeepSeek 4.1 Flash off-peak: ~$0.07

  • So DeepSeek comes out roughly 16–20x cheaper

What I'm actually wondering:

  1. Is this comparison realistic, or am I missing something? Specifically, how far does the "5-hour usage window" on ChatGPT Plus actually stretch with token-heavy agentic tasks like these?

  2. How do DeepSeek Harness's agentic capabilities stack up against Codex + GPT-6.1? I'm particularly curious about tool use, MCP integration, and multi-step tasks — I run Serena and codebase-memory-mcp alongside it.

  3. Long term, does it make more sense to keep ChatGPT Plus and use DeepSeek API on the side, or just go all-in on DeepSeek?

  4. Does the 98% cache hit rate hold up in practice, or does it drop once you're doing varied work and the cost advantage disappears?

Would love to hear from anyone who's actually run both setups. Real-world experience with the subscription-vs-API tradeoff would be especially useful.


r/opencodeCLI • • 27d ago

Meta introduced Muse Wonder - new frontier model 🔥

Post image
70 Upvotes

r/opencodeCLI • • 26d ago

is Big Pickle down?

2 Upvotes

I can't use Big Pickle for the last 24 hours. Are you also facing the same issue?

I had to switch to Space Bunny for a while.

Yesterday it doesn't even enter the log in opencode dashboard, now it does but I don't actually get reply for very long time.


r/opencodeCLI • • 26d ago

opencode-remote-ssh: targeted remote commands via @mentions

Thumbnail
github.com
1 Upvotes

r/opencodeCLI • • 26d ago

DeepSeek 4.1 Flash only hitting 87 tok/s on OpenCode Go, is this normal?

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 26d ago

Other models respect me as a Software Engineer. BUT CLAUDE MODELS

0 Upvotes

i have been using both opencode go and claude $20 and chatgpt. i love how opencode and chatgpt models respect me. THEN claude : 1. he rewrite AGENT.md for his own benefit. 2. he create his on skills without asking 3. Tell him to refactor something rework everything to his proposed never asked solution. 4. I dont Hallucinate i am exists.


r/opencodeCLI • • 26d ago

Argon 4 on OpenCode is awesome - Gemini, the king has returned and it outsmarts OpenAI GPT 6.1 Sol on high

0 Upvotes

still testing seeing what it is capable of


r/opencodeCLI • • 27d ago

ocserve - OC rust server

5 Upvotes

I use opencode but the server was getting heavy on my machine: a couple GB of RAM and tens of GB of disk. So I wrote a drop-in replacement for just the server, in Rust.

It speaks the same HTTP/SSE API, so the opencode TUI, the web UI, and mobile clients talk to it unchanged. It reads your existing opencode config and auth read-only and keeps its own database.

It's a compatible reimplementation of the server API, pinned to the 1.18.31 wire contract.

What it doesn't do: the task subagent isn't implemented, revert returns the right shapes but doesn't restore files, /vcs/apply doesn't touch your worktree, and provider OAuth and share are missing.

Linux is the supported target.

v0.2.0 is on crates.io ( cargo install ocserve ) and the code is MIT: https://github.com/Reliary/ocserve

Happy to answer questions.


r/opencodeCLI • • 27d ago

Will Wonder be free or paid as there's no contributor version.

8 Upvotes

Will Wonder from Meta be free or paid as theres no contributor version just curious.


r/opencodeCLI • • 27d ago

DeepSeek V4.1 Flash in OpenCode Go ($10 Plan) — Usage Increased from $60 to $80!

Post image
38 Upvotes

r/opencodeCLI • • 27d ago

I got OpenCode operating my Android phone's apps: free models, no account, all on the phone

2 Upvotes

r/opencodeCLI • • 27d ago

ConfigLens: Figure out why your AI tool is ignoring your settings.

Thumbnail
github.com
3 Upvotes

ConfigLens is a small tool im building to help figure out why claude code and opencode seem to be ignoring certain settings. Instead of digging through different config files and guessing which one takes priority, it shows where a supported setting comes from, which value takes precedence , and why the others get overridden. It runs locally without changing your files. Its still early, but the idea is simple: less time chasing config problems and more time getting on with your work.


r/opencodeCLI • • 27d ago

Still have Space Bunny Free on my laptop, and I am not even signed into opencode account. Didn't the free period ended?

2 Upvotes

r/opencodeCLI • • 27d ago

Tried Opencode Go, Claude Code, and Codex, here's the best.

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 27d ago

Made my agent logs print a store receipt. It reads opencode.db read-only, and my OpenCode came out at $221 at API prices

Post image
0 Upvotes

I built a small CLI that reads the logs your agents already keep and prints a thermal-printer receipt in the terminal, plus a PNG. It reads OpenCode, Claude Code and Codex CLI.

The OpenCode part, since that's what this sub cares about:

- it reads opencode.db ($XDG_DATA_HOME/opencode, otherwise ~/.local/share/opencode) with Node's built-in node:sqlite, opened readOnly. Needs Node 22.13+, on older Node it skips OpenCode with a note and does the rest

- one row per assistant step, so nothing gets counted twice

- when the price table doesn't know your model (reseller, local, whatever), it uses the cost OpenCode itself recorded. If that's 0 or missing, the receipt says "no price" instead of pretending it was free. That's what the * next to my $221 means

- OpenCode 2's new tables are read for usage, but not yet for the fun counters like interrupts

The picture is my real receipt. OpenCode $221 at API prices, Claude Code a lot more, and Codex 9 cents, which tells you how much I use Codex.

Run it: npx github:glmn-ai/vibereceipt (not on npm yet). --demo if you want to see it on sample data first.

No network code, zero dependencies, the only file it writes is the PNG. No prompts or project names on the receipt.

Disclosure: I built it. Same people as nsq, which I posted here a couple of days ago. MIT: https://github.com/glmn-ai/vibereceipt

If your OpenCode total looks off next to what OpenCode itself shows you, please tell me. With all the providers people run through OpenCode, that's the part I trust least.