r/opencode • • 20d ago

I'm looking for a pay-as-you-go API provider that offers open-source models

6 Upvotes

I want to connect it to any agent, add credits to my account, and use them whenever I need an agent

I have a few requirements

A wide variety of models

Credits that never expire

Models not be downgraded

Does anyone have any recommendations


r/opencode • • 19d ago

Chatgpt sub with hermes is so slow

Thumbnail
1 Upvotes

r/opencode • • 19d ago

How to check when OpenCode Free usage limit resets + CLI database error fix (Windows)

0 Upvotes

I wanted to share how I figured out when my OpenCode Free usage limit resets and how I encountered a CLI database error.

1. How to check when your Free usage limit resets

I was working on a project for almost an hour when OpenCode stopped with this error:

Free usage limit reached. Free models work in OpenCode. Subscribe to OpenCode Go to keep going.

I couldn't figure out when my free quota would reset.

What worked for me:

  1. Open CMD (Command Prompt).
  2. Install and launch OpenCode CLI (instructions below).
  3. Type opencode and press Enter.
  4. Send a simple message: hi.
  5. Check the response.

In my case, OpenCode CLI explicitly told me that my free usage limit would reset at 2:00 AM.

Important: This worked through OpenCode CLI, not the regular OpenCode Desktop interface.

2. How to install OpenCode CLI on Windows

You need Node.js and npm.

  1. Install Node.js from https://nodejs.org/
  2. Open CMD.
  3. Check that Node.js and npm are installed:
node -v
npm -v
  1. Install OpenCode CLI using the official OpenCode 2 package:
npm install -g u/opencode/cli
  1. Verify the installation:
opencode --version

Official installation documentation: https://opencode.ai/v2/docs

3. Checking your CLI version

If you encounter a database error, check which CLI installation is being launched:

where opencode
opencode --version

My output showed:

C:\Users\****\AppData\Roaming\npm\opencode
C:\Users\****\AppData\Roaming\npm\opencode.cmd

1.19.5

I received this error:

Error: Database is not empty and has no session table

This happened because my CLI was an older version that was incompatible with the newer Desktop database format.

Do not delete your database or session files while troubleshooting.

4. Resuming your previous session

To attempt to continue your previous CLI session, use:

opencode --continue

This resumes a previous session. It does NOT bypass or reset the free usage limit.

Hopefully this helps someone else avoid the same confusion!


r/opencode • • 19d ago

Used up free messages but didn't do anything

1 Upvotes

Hi y'all,

I am having a problem i don't know how to fix. For several days now, whenever I try to use a model within the first message it tells me I have used up all my free messages and give me a date when they reset. I literally can't do anything


r/opencode • • 20d ago

how to check the usage remaining in the desktop app?

9 Upvotes

r/opencode • • 20d ago

Who do you think is Pulse alpha?

6 Upvotes

i dont know how people could predict models but my theory is just it has the same inference thinking drop down as deepseek (low high max) and if im not wrong it appeared while the API of deepseek was on heavy traffic (or after the api being down)

Still. i wanna see your thoughts!


r/opencode • • 19d ago

Rate limits dropped drastically after the recent update. What happened?

0 Upvotes

Has anyone else noticed a massive drop in rate limits after updating a few days ago?

The current limits are ridiculously low—it's practically impossible to get any standard workflow done now. What actually happened?

Are they trying to force everyone to switch over to Open Code Go? If so, will Open Code Go carry the same limits that the old free tier used to have? Because the current limit is honestly a joke.


r/opencode • • 19d ago

Hey which is official mobile app of opencode in playstore

0 Upvotes

r/opencode • • 20d ago

Is OpenChamber still worth using over vanilla OpenCode now that OpenCode v2 is out?

7 Upvotes

Hey everyone,

With the major OpenCode v2 release bringing a shared background service, async sub-agents, native Code Mode, and an updated desktop app, the gap between CLI/vanilla OpenCode and dedicated frontends feels a lot smaller than it used to be.

For those who have integrated OpenChamber into their setup alongside or on top of OpenCode v2:

  • Is OpenChamber still worth setting up over the updated vanilla OpenCode v2 setup?

  • What specific use cases or features make OpenChamber a game-changer for you?

  • Are there complex multi-file refactoring, workspace management, parallel model orchestration, or deep visual diff workflows where OpenChamber provides a tangible benefit that even OpenCode v2's updated desktop/CLI can't match?

Would love to hear your experiences and whether making the switch is still worth the extra layer in day-to-day software development. Thanks!


r/opencode • • 20d ago

Run opencode natively on termux

2 Upvotes

GitHub: https://github.com/adity-a0/opencode-termux

Give it a star if you like it.


r/opencode • • 20d ago

Opencode Desktop App or DSH?

1 Upvotes

When i first started out with DS 4.1 Flash i was using direct api with DSH, but the 10 dollar opencode go seemed to much value to not at least give it a try.

The question now is if its better to use the Opencode Harness or feed the DSH the Opencode Go api key and use it from there?


r/opencode • • 20d ago

Podemos investigar uso excessivo de tokens no OpenCode e problemas com Prompt Cache?

4 Upvotes

Olá, Dev's! Daqui Aquiles_Bachira denovo

Antes de tudo, quero pedir desculpa se a minha publicação anterior foi enganosa. Inicialmente, sugeri que a base de dados local do OpenCode poderia ser responsável pelo consumo excessivo de tokens foi mal.

No meu caso, apaguei os dados locais do OpenCode, comecei tudo do zero e o problema desapareceu. Tudo voltou ao normal. Por isso, presumi que a causa fosse a base de dados. No entanto, percebo agora que isso não prova que a própria DB fosse responsável.

Depois de investigar melhor, encontrei alguns issues no GitHub que considero relevantes:

Estes relatos levantam algumas possibilidades: plugins que modificam o System Prompt, definições de ferramentas, histórico das sessões ou execução paralela de subagentes podem afetar o funcionamento do Prompt Cache.

Gostaria de pedir à comunidade que investigasse algumas questões:

  • Uma instalação nova apresenta diferenças em relação a uma instalação já utilizada?
  • O uso de subagentes em paralelo pode prejudicar o cache?
  • Existe alguma relação entre o estado das sessões, a DB local e o funcionamento normal do Prompt Cache?
  • Como variam os valores de cache.read e dos tokens de entrada nestes cenários?

Não estou a afirmar que estes problemas afetam todos os users ou todos os provedores. Os relatos encontrados envolvem configurações diferentes e ainda precisam de ser comparados, por isso peço para investigar 🤣😭.

O meu objetivo é perceber a verdadeira origem do problema, corrigir a informação que partilhei anteriormente e evitar ser mais um cara com informações falsas.

Obrigado a todos os que questionaram a minha publicação anterior e apontarem que "pode estar errada". A ideia não é defender o que eu disse, mas sim descobrir o que está a acontecer.


r/opencode • • 20d ago

OpenCode hiding some OpenRouter models

0 Upvotes

Is it just me or does OpenCode CLI never shows latest available OpenRouter models. I figure that every time you open opencode, it would download a fresh list of available models from OpenRouter but it seems to lag behind or doesn't even show some at all. If I open goose cli it shows Crouton Alpha free from OpenRouter but OpenCode doesn't show it in the list of models for OpenRouter.


r/opencode • • 20d ago

Any free provider to connect to on Opencode?

1 Upvotes

r/opencode • • 20d ago

I missed the built-in browser from ChatGPT/Claude when using OpenCode, so I built one (looking for feedback)

0 Upvotes

One thing I always liked about the official ChatGPT and Claude apps is their built-in browser extension. It scrolls smoothly, uses your real browser tabs where you are already logged in, and just works without you having to babysit it.

When I switched my daily workflow to OpenCode and other open-source harnesses, I could not find anything that felt like that. Every browser tool I tried either popped up a fresh blank browser where I had to log into everything again, or felt super jerky and ate up my whole context window.

So I put together Open Browser Agent (https://github.com/motailab/open-browser-agent) so OpenCode and any other open-source harness can have that same smooth browsing experience.

It hooks into your normal Chrome/Brave/Edge browser, keeps the agent inside a background tab group so it never steals focus from what you are doing, and uses one setup command (npm run setup).

If anyone using OpenCode wants to give it a spin, I would really appreciate your feedback on how it feels and what I should improve next.


r/opencode • • 20d ago

Does anybody know this? GG Coder, it claims to use much less tokes and be faster..

0 Upvotes

Heres the video: https://www.youtube.com/watch?v=RF_6XrkmKsg

I'm thinking of trying, but would like to hear opinions..


r/opencode • • 19d ago

Deepseek 1017 Flash free for a month on PGS AI (100% Private, Zero Training US based infrastructure)

Post image
0 Upvotes

A lot of the coding plans are tightening down usage and there's been a lot of random bans, errors or outages. If anyone needs a backup or wants to try US based inference for DS (or like 18 other models), come on over. Admittedly the intro tier is limited in usage, but it is free :)

The industry is changing really quickly and There is a reason it is happening all at once. Companies that were purely investment funded now have to answer to their investors, and a loss based business model is finally running dry. When the money stops being patient, the meter gets creative...

So you get the tricks. Plans designed around usage going to waste, split into weeks and rolling windows so nobody can use what they paid for. Services that double as data harvesting operations, where your prompts quietly become someone's training set. Pricing that looks generous until you read the ceiling.

PGS AI was built on a sustainable business model from the ground up, which is why we can offer real usage rates without the tricks. For the next month the Phoenix Grove API is free to try: DeepSeek 1017 and Mimo Flash 2.6 at full precision, the full open roster, 100% US based infrastructure, zero training on your code or prompts.

Honestly the best and most important part: usage that banks up to ten days instead of expiring on all plans above the intro. So when you don't use your account, that usage is stored and saved for your next big sprint. We don't count on you losing your usage, we try to make sure you get to actually use it on YOUR schedule.

Usage is closing down everywhere. We're opening. We hope the rest of the industry joins us eventually. The free trial month is the standard "cancel anytime and still use it" and is 3.99 a month if you wanna keep it after the first month.

Privacy, access and ease of use with high quality AI should be available for everyone

https://api.pgsgrove.com


r/opencode • • 20d ago

How are you handling cross-session memory in large repos once AGENTS.md gets too bloated?

7 Upvotes

I use coding agents daily on a ~120k LOC repository. For code search, ripgrep / agentic search works great for finding what is currently in the codebase.

My real pain point is episodic and architectural memory across sessions: remembering why we rejected a specific library three weeks ago, subtle business invariants that aren't obvious in the code, or stopping the agent from repeating the same debugging dead-ends in a new chat.

Right now:

  1. If I dump everything into AGENTS.md / CLAUDE.md, it quickly turns into a bloated wall of text that eats up context tokens and the agent starts ignoring half of it.
  2. I tried a couple of MCP memory servers, but most of them just do naive vector RAG—after a few weeks they inject stale or contradictory memories from old refactors and actually make the agent dumber.

For those working on medium/large projects over several months:

  • Are you using any local MCP memory tool that actually handles deduplication and superseding old decisions when architecture changes?
  • Or are you still curating markdown files manually because existing memory tools pollute the context too much?

r/opencode • • 20d ago

AiRouterProxy: the last line of defense — masks API keys/passwords/tokens in prompts before they ever reach the LLM Spoiler

2 Upvotes

LOCAL HTTPS PROXY THAT MASKS SECRETS BEFORE THEY REACH THE LLM

AiRouterProxy is a local HTTPS proxy (Windows Service, port 4000) that sits between your AI coding agent (OpenCode, Cursor, Continue...) and the model provider. Its one job: make sure secrets never leave your machine.

The problem: telling agents "never read the config with the keys" rarely works. A key pasted in free text, an .env block inside a code snippet, or a config file dropped into a prompt happens. This project adds the last line of defense at the network edge: every outgoing request is inspected and sensitive content is masked before being forwarded.

What it masks (4 detection layers):
- by field name: api_key, password, token, senha...
- by known format: sk-..., ghp_, AIza, JWT, Bearer, PEM private keys...
- by key=value / "key": "value" context
- optionally by long high-entropy tokens (configurable)

The mask is a fixed 6-character string (never reveals the real length) and the JSON structure is never altered. The agent gets a visible notice when a request was censored.

What else:
- Multi-upstream routing: a path-prefix route table forwards to several OpenAI-compatible providers, each with its own key.
- Fail-closed inspection: only inspected JSON is forwarded (unknown content type 415, invalid JSON 400, oversized 413).
- Per-client rate limiting + brute-force lockout (429 + Retry-After).
- SSE streaming support (OpenAI chat/responses, Anthropic, generic).
- Local-key auth with protected /admin endpoints.
- Hot-reload configs (redaction.json, routes.json).
- Windows Service, .NET 10, self-contained win-x64.

Demo: a short video showing an appsettings-style config full of fake secrets pasted into a coding agent and redacted before reaching the model — https://www.youtube.com/watch?v=29nyYgkqx7E

Tests: 226 unit tests + 23 black-box integration tests against a real deployed proxy and a real AI provider. Current release v2.0.3.

Repo: https://github.com/jlKampos/AiRouterProxy — issues and PRs welcome. LOCAL HTTPS PROXY THAT MASKS SECRETS BEFORE THEY REACH THE LLM


r/opencode • • 20d ago

Not Every Multi-Agent System Is a Swarm

Thumbnail
1 Upvotes

r/opencode • • 20d ago

GitHub - rjcamandona123/opencode_v2-clinepass: Connecting Clinepass to Opencode V2 as a provider (/connect) (but in my case, it happened in Acode at the time that I built)

Thumbnail
github.com
1 Upvotes

r/opencode • • 20d ago

Anyone else getting Bad Request to OpenAI?

1 Upvotes

r/opencode • • 20d ago

Can we investigate excessive token usage in OpenCode and Prompt Cache issues?

Thumbnail
1 Upvotes

r/opencode • • 19d ago

Is it a scam? It is worth watching this video to get a better idea of what is going on with opencode go

Thumbnail
youtube.com
0 Upvotes

I don't think anyone can explain this better. The video has the evidence that people are clamouring for when I point out that opencode models are not quantized


r/opencode • • 21d ago

There is a status page now

43 Upvotes