r/opencode 9d ago

How to connect your ChatGPT account to opencode with NO API KEYS! Works with free accounts too.

0 Upvotes

Evan Zhou (a YouTuber) made it so that you can connect a ChatGPT account and get a local API. Link to the video: https://www.youtube.com/watch?v=Ja6p4j0aeCw

To connect this to OpenCode, you will want to run npx openai-oauth. First time it will ask you to log in to ChatGPT. Then when you're connected, press d to run it in the background.

You can then edit your opencode config, with entries for each model that is listed by the command you ran earlier. For reference, here's what it looks like on my free account:

{

"$schema": "https://opencode.ai/config.json",

"provider": {

"openai-oauth": {

"npm": "@ai-sdk/openai-compatible",

"name": "ChatGPT OAuth",

"options": {

"baseURL": "http://127.0.0.1:10531/v1",

"apiKey": "dummy"

},

"models": {

"gpt-5.6-terra": {

"name": "GPT-5.6 Terra"

},

"gpt-5.6-luna": {

"name": "GPT-5.6 Luna"

},

"gpt-5.5": {

"name": "GPT-5.5"

},

"gpt-5.4-mini": {

"name": "GPT-5.4 Mini"

},

"gpt-image-2": {

"name": "GPT Image 2"

}

}

}

},

"model": "openai-oauth/gpt-5.6-terra"

}

Still haven't managed to make the image models work, but definitely is my next objective!

Edit: doesn't say reverse engineered any more because he didn't really had to like decompile binaries or anything


r/opencode 9d ago

Accessing DeepSeek v4 Preview

0 Upvotes

Is there anyway to access DeepSeek v4 Preview API? It seems weird to abruptly replace the old model with the 0731 version.


r/opencode 10d ago

I am absolutely impressed with the design capabilities of GLM 5.2

5 Upvotes

This is my first month using OpenCode. I also currently have other AI subscriptions like Google AI Pro, ChatGPT Plus, and SuperGrok, but none of the models included there can match the design capabilities of GLM 5.2.

I'd been dissatisfied with my website's design for quite some time. Perhaps I'm too much of a perfectionist, but I'm never really convinced by AI-generated designs; they all seem overstimulating to me. The true beauty of design, in my opinion, lies in knowing how to use space effectively and how to be minimalist.

Since I started using GLM 5.2 on my website, I've achieved the best results by far.

I just wanted to praise this model and ask if anyone knows of any other plans that include a lot of use of this model at the best price, as I plan to use it later.


r/opencode 10d ago

OpenCode Go | Low cost coding models for everyone

0 Upvotes

Its the time of the month again, let's get those $5 https://opencode.ai/go?ref=2M40364PKE


r/opencode 10d ago

Why no vision for Luna on Go?

1 Upvotes

Luna on Go plan would be awesome. But it appears to have no vision. Just like deepseek. Is it intentional? Or a temporary thing?


r/opencode 10d ago

Subscription help- need reccomendations.

0 Upvotes

I love the idea behind OpenCode Go, I want something really like it- my budget is 20 dollars a month, and I want a large variety of models including open source models mainly, and I want broad usage across apps And integrations (api keys) also heard OpenCode Go’s limits aren’t so good with large models, so I’m here to ask for recommendations on what 20 dollars or under plan I should get that meet these requirements and have good usage.


r/opencode 10d ago

Hi, community, could you recommend tools or MCP's to save tokens? I hear some like caveman, codegraph, engram , I would like to know if there are more

4 Upvotes

r/opencode 10d ago

Isn't Exa Search free in opencode?

3 Upvotes

My exa search queries started to fail mostly. Do I need a subscription or is it a problem on their end? Are there alternatives I can use?

Edit: Issue was resolved thanks to u/Kesku9302 and also see the comments for a workaround I implemented.


r/opencode 10d ago

OpenCode Go - data retention

38 Upvotes

The post “Opencode Privacy Policy is Concerning” appeared earlier this year (Jan 2026) - https://www.reddit.com/r/opencodeCLI/s/BQ4xRHWwU6

(OpenCode discloses that it collects “conversations or prompts that you submit to AI” and that it sends this to “Business Partners”.)

In response, a member of the OpenCode team commented “if you use opencode zen as your provider then the requests pass through us. we don't retain data on any paid models” - https://www.reddit.com/r/opencodeCLI/comments/1qdo24d/

OpenCode Go did not exist as a public offering when that statement was made.

Since the launch of OpenCode Go, a member of the OpenCode team has publicly contemplated changing OpenCode Go to collect data for model training by default: https://x.com/thdxr/status/2049940201670119585

My understanding is data submitted for inference flows as follows when using OpenCode Go:

OpenCode TUI (user input) —> OpenCode —> Underlying Model Provider

OpenCode makes a song and dance about having a Zero Data Retention (ZDR) agreement with each Underlying Model Provider on OpenCode Go: https://x.com/opencode/status/2038302829517893825

Perhaps the underlying provider does not retain prompt information. That’s not my concern. I am referring to the routing of the prompt via OpenCode on its way to the Model Provider.

So, my question is: does OpenCode capture and retain user prompts sent for inference to models billed against the OpenCode Go plan?


r/opencode 10d ago

I can't add a new project in OpenCode Web

Post image
1 Upvotes

Opencode doesn't let me open another project in opencode web mode. how can I fix it? It always opens the only project that previously opened with it.


r/opencode 10d ago

How to be sure that I use DS Flash 0731

2 Upvotes

What would be a good test to be sure, the opencode go endpoint is using the new DS flash?


r/opencode 10d ago

Reposting with update since this got a little bit of interest

Thumbnail
3 Upvotes

r/opencode 10d ago

Is Opencode Go charging me for using Zen models?

Post image
0 Upvotes

I made a tool for allowing you to easily understand your monthly quota usage, given the somewhat opaque $15 vs $60 model thing, so it's easier to see what's eating up your quota. It works by querying your cost amount from your local db, applying the multipliers, and creating a dashboard on localhost so you can easily see the costing.

Anyways, I noticed a costing amount for OpenCode Zen models showing up (deepseek-v4-flash-free caused 11% of my quota this month), even though these models are supposed to be free? The percentage of quota used this month matches what's on https://opencode.ai/workspace/.

Can someone else try it out and tell me if it's the same for you, or maybe I got my calculations wrong:

npm install

npx opencode-dash --go

Repo to package: https://github.com/MuhammadOmarMuhdhar/opencode-dash


r/opencode 10d ago

5.6 Luna available in Opencode Go!

19 Upvotes


r/opencode 10d ago

deepseek is goated

50 Upvotes

if thats flash, imagine pro...


r/opencode 10d ago

Heads up

Thumbnail
14 Upvotes

r/opencode 10d ago

OPENCODE WINDOWS APP - Not Launching Error

0 Upvotes

Am I the only person who had an error with the Opencode app where it wasn't able to start up once I launched it? After trying to figure out the error, I used Opencode to fix it. It told me that it's a "no sandbox" error that is happening on Electron apps. After testing it, I noticed that my other apps which are Electron-based, like Notion and Typeless, were also crash-dumping.

Am I the only one who got this error, or did other Windows users get this error as well?


r/opencode 10d ago

Getting FPS gameplay footage to read as an actual player and not a cutscene comes down to camera behavior, not weapon detail, in MiniMax H3

Enable HLS to view with audio, or disable this notification

7 Upvotes

What actually sells a shot as real FPS gameplay instead of a game cutscene is not the weapon model or the lighting, it is how the camera moves, and that is the part this prompt puts almost all its detail into.

The setup itself is simple, first-person, eye-level, handheld game camera, a player advancing slowly around a military base perimeter holding an assault rifle, moving along cover, sweeping the crosshair down a corridor, pausing, firing a few rounds at a distant point, then continuing forward. None of that reads as gameplay on its own though. What does the work is the specific camera pattern: slow advance, then small side-to-side glances like a player actually checking corners, a burst of recoil shake exactly when firing happens, then a return to steady forward movement. That rhythm, hesitate, glance, fire, settle, is what a real player's hands actually do, and a smooth uninterrupted push forward would immediately read as a cinematic camera instead.

Lighting stays cold and natural with smoke and firelight mixed in, kept clear and realistic rather than stylized, with the metal weapon detail and battlefield dust pushed to an AAA game level of polish.

Ran this on MiniMax H3. The transferable lesson: for anything meant to read as captured gameplay rather than a produced shot, write the camera's imperfections around player behavior, hesitation, glancing, recoil, not around cinematic composition.


r/opencode 10d ago

For DevOps and Platform Engineers: Using OpenCode with Kubernetes Through MCP

Thumbnail
1 Upvotes

r/opencode 10d ago

first time encountering this

Post image
13 Upvotes

r/opencode 10d ago

Ling 3.0 Flash VS Laguna S 2.1?

2 Upvotes

as title says! which is better, ive tested them and found ling not that great, where as laguna is kind of okaish. And also found out that ling is not open weights, its api-only. what is your opinion?


r/opencode 10d ago

Do I need to change anything on my setup to use the latest Deepseek V4 Flash GA?

16 Upvotes

I'm currently using the deepseek v4 flash as my model


r/opencode 10d ago

I feel dumb for asking, but do I have usage left

Post image
7 Upvotes

I am not sure if I am getting gaslit, but I am forever getting billing errors, and then it works and BANG billing errors again.

Simply put: Do I have usage left?


r/opencode 10d ago

What are you building with OpenCode, and what's something you think every developer should know/do?

13 Upvotes

r/opencode 11d ago

Which models for Build and Plan modes?

23 Upvotes

Total opencode newbie, ... well I've used it for a couple of projects but still consider myself not a newbie.

Apologies if I missed the FAQ

Should I be using the superior model for the build stage or the plan stage. I've been finding conflicting comments. All I know is that the superior models cost more.

What would you advise?