r/opencodeCLI • u/Different_Change6591 • Oct 16 '26
90 million tokens some interesting stats for the opencode free usage
r/opencodeCLI • u/Different_Change6591 • Oct 16 '26
r/opencodeCLI • u/Final_Initial • Oct 16 '26
r/opencodeCLI • u/yu_hp • Oct 16 '26
Hey r/opencodeCLI! 👋
With OpenCode v2 rolling out, the way plugins interact with the core runtime has taken a massive leap forward. Today, we’re excited to announce opencode-models-discovery v2.0.0-rc.2 — completely rebuilt to bring full, native support for OpenCode v2 while making dynamic model discovery faster, safer, and truly reactive.
If you use local models or custom gateways (vLLM, LiteLLM, Ollama, LM Studio, Bifrost, etc.), we’d love for you to take rc.2 for a spin!
In OpenCode v1, model discovery relied on disk-based caches, file locks, and static configuration updates that often required app restarts.
In v2.0.0, we’ve redesigned the plugin around OpenCode v2’s native architecture:
ctx.storage Engine (No More Disk-Cache Baggage)/connect Integration/v1/models responses, context and output token limits are normalized to match OpenCode v2’s token budgeting specifications.You can try 2.0.0-rc.2 today by adding it to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugins": [
"npm:opencode-models-discovery@2.0.0-rc.2"
],
"providers": {
"local-gateway": {
"name": "Local Gateway",
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "http://127.0.0.1:8000/v1",
"modelsDiscovery": {
"enabled": true,
"smartModelName": true,
"modelInfoFormat": "models.dev"
}
}
}
}
}
💬 Help Us Test Before Final v2.0.0 GA!
We are putting the final touches on v2.0.0 and want to ensure rock-solid compatibility across all OpenCode v2 setups, environments, and local model servers.
Give v2.0.0-rc.2 a spin and let us know your thoughts, feedback, or any issues you encounter in the comments below!
r/opencodeCLI • u/zephyr_33 • Oct 16 '26
Point of the question is that. Some models are cheaper on paper but somehow can rack up costs quickly. GLM-5.3 is my main complaint in this regard. Its on paper cheap. But it generates so much thinking tokens that it kind of nullifies the cost.
I know ppl use cost per task. But I am not running benches. I'm simply collecting metrics and comparing. And since I use different models for different tasks. I dont think I can correctly say x model uses n times more tokens unless I run multiple models against the same task regularly.
r/opencodeCLI • u/spiritualManager5 • Oct 16 '26
r/opencodeCLI • u/EL4CTEO • Oct 15 '26
I made a plugin that adds Claude Code's /goal command to OpenCode v2. You give the agent a finish line like "/goal npm test passes with 0 failures" and it keeps working turn after turn until the goal is actually met, no need to keep typing "continue".
After every turn an evaluator checks the conversation and decides if the goal is met, not met or impossible. If it's not met, the agent gets the reason and keeps going on its own.
It's token efficient: the evaluator reuses the session's cached context, so each check costs little more than a short answer.
It also has safety rails (pauses when the agent stops making progress, retries on network errors, turn limit) and a status indicator in the TUI.
Tell me what you think about it and feedback is appreciated.
Here's the repo and npm package:
r/opencodeCLI • u/Strict-Prune-879 • Oct 16 '26
C'est une bonne chose mais quand parle t'on sérieusement des zdr de tout ces modèles free?
r/opencodeCLI • u/Comprehensive-You522 • Oct 15 '26
OpenCode stops to ask before running a command or when it has a question, and if I'm away from the Mac it just sits there waiting. So I built Charly, a Mac app for OpenCode and Claude Code with an iPhone and Apple Watch app.
When an agent asks for permission, it shows up on the iPhone (Dynamic Island) and on the watch, and you approve it with a tap or a double tap on the watch. You can also answer its questions or send it the next task by voice from the watch, and when it finishes you get a summary of what it changed. It works with local projects and with servers over SSH, and it uses your own model provider or subscription. Charly doesn't charge for the AI.
How I built it: I came from React Native and had never built a watch app. I learned Swift, SwiftUI and watchOS while building this with coding agents. Once the first version worked, I started using Charly to build Charly, approving builds and test runs from the watch while I was away from the desk.
It's free to try, with an optional subscription. I'll give a free year to the first 20 people who try it and tell me what's missing for their workflow, in the comments or by DM.
App Store: https://apps.apple.com/us/app/charly-code-agents/id6816675386
r/opencodeCLI • u/augustwise • Oct 15 '26
r/opencodeCLI • u/afanasenka • Oct 14 '26
$60 usage til Nov 30
r/opencodeCLI • u/EasyRepresentative90 • Oct 15 '26
r/opencodeCLI • u/Ok_Cartographer5609 • Oct 15 '26
Title
r/opencodeCLI • u/thatboyonabike • Oct 14 '26
I wrote this post to bring awareness to a recent change I took issue with and think should be discussed by the community.
The facts:
As of OpenCode v2.0.25 the default behaviour is to no longer prompt for access to external directories.
From Pull Request #53585:
What does this PR do?
Removes the external_directory: * → ask rule from the default > agent ruleset in Agent.Info.default. The catch-all * → allow now > covers paths outside the project too, so build/general/custom agents no longer prompt before touching them.
Explore also stops asking: it keeps its deny-by-default tool list > but now explicitly allows external_directory.
How this change was communicated:
There are already multiple issues referencing this change:
My opinion:
This is a breaking change to a security boundary that should have been:
A) Purely opt-in.
and
B) Communicated loudly and directly to all users.
The lack of communication is downright suspicious but I have enough goodwill towards the OpenCode team to just assume this is a maintenance oversight.
I'm aware that best practice is usually to run your agents in some kind of container, but I'm willing to bet a large portion of users are not doing that, and should have been rightfully informed of the impact this could have on their security.
I've promoted OpenCode to many people in the past and this feels like it's impacted my own credibility. I'm not necessarily abandoning it, but I am going to be more reserved in my recommendation. I think it's also time I take another look at the current landscape of harnesses.
What are everyone else's thoughts?
r/opencodeCLI • u/Mancho_United • Oct 14 '26
Does anyone know if there are any plans to have any of the decision models as part of the OpenCode GO subscription? There are many models already from different providers, and some of them we already use in opencode and we have their agentic models as part of the subscription.
Some examples of popular decision models:
typesafe/jev-1.13
microsoft/microsoft-decision-1
nace-ai/drex-v2.0 (and also drex-v1.5)
openai/gpt-6-luna-decisions
cloudflare/clef (also clef-omni, clef-flash)
perplexity/pplx-decider-v1.1-27b
liquid/d1
r/opencodeCLI • u/EmetInteractive • Oct 14 '26
Getting OpenCode to return its first response through a new API is a good start, but it doesn't tell you whether it can actually handle your usual coding tasks.
I'd start with a small, disposable repository and three checks: ask it to explain a function, make a small change, and run an existing test. Keep the starting commit, client version, and model ID recorded so you can reproduce the run later. If you change several settings at once, debugging becomes much harder.
It's also worth separating connection problems from actual coding failures. Did the request reach the endpoint? Did OpenCode parse the response and handle tool calls correctly? Did the resulting code pass the test? A successful HTTP response doesn't necessarily mean the whole workflow works.
I'd also test cancellation and retries. Cancel a response, continue the session, and check whether completed tool actions get repeated or whether the client handles the conversation context correctly. Use a harmless task so an unexpected retry can't damage anything.
For anyone evaluating hosted inference options, Mango Inference is one option worth testing. Its documentation covers OpenCode setup and an OpenAI-compatible Chat Completions interface. Just check the specific API requirements before switching, since compatibility with Chat Completions doesn't automatically mean support for embeddings or the OpenAI Responses API.
My final step would be to record the model, starting commit, task, tool errors, test result, elapsed time, and billed usage. That gives you a fair baseline when comparing providers.
What tends to break first when you switch API providers in OpenCode, tool calling, context handling, or something else?
r/opencodeCLI • u/nekohacker591- • Oct 14 '26
Just like the title stated, anyone has referee code? it should be cheaper using that right?
r/opencodeCLI • u/MasonPak • Oct 14 '26
Hey guys; does anyone else has issues with using 9router for opencode free tier? I faced the issue just now. Is there any way around it? Without the 9router, the free tier reaches the usage limit too soon.
r/opencodeCLI • u/ohhno_whyamihere • Oct 14 '26
I have been using chatgpt plus auth and the mimo v2.6 flash ,muse spark 1.3 and step 5 preview free models ,for a small task i thought of using big pickle and i was suprised to see today it was showing the thinking as output instead ,anybody else having that??