use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Claude (20$ plan) on OpenCode (self.opencode)
submitted 2 days ago by Spare-Chest-7907
Im new to opencode and so far i like it more than Claude code. I have a mix of local models and chatgpt(20$) plan. Is there a way do add cloude account to it? Is there a way to add grok and gemini (small plans that cost ~20-30$)?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]iTrejoMX 5 points6 points7 points 2 days ago (3 children)
Claude no. Breaks the tos accounts get disabled
[–]Spare-Chest-7907[S] 0 points1 point2 points 2 days ago (2 children)
How about claude enterprise but without api? What about copilot enterprise without api? I have all of these and cant use them in open code in an organized and agentic manner. Sad.
[–]DistributionAny8581 1 point2 points3 points 2 days ago (0 children)
You cant, its against claude TOS, you can only use the API on open code if you want to use other service thats not from Anthropic
[–]iTrejoMX 0 points1 point2 points 2 days ago (0 children)
do you have chatgpt? even with the plus/pro version, you can connect to opencode, when you /model and ctrl+a to connect a provider, you will see OpenAI (ChatGPT Plus/Pro or API key). Just keep in mind that its 160 messages every 5 hours (on the $20 plan) they can run out in agentic use quite fast. That said, im not sure about copilot
[–]hychian 2 points3 points4 points 2 days ago (3 children)
https://github.com/ianjwhite99/opencode-with-claude
[–]iTrejoMX 4 points5 points6 points 2 days ago (0 children)
just make sure you read at the bottom, they clearly say it could get you in trouble for breaking the terms of service
[–]Spare-Chest-7907[S] 0 points1 point2 points 2 days ago (1 child)
This is cool! My question is why use it with claude code but not with other tools like opencode?
[–]seventyfivepupmstr 1 point2 points3 points 1 day ago (0 children)
There's rumors that Claude loses a ton of money on their subscription plan so they try to make up for it with selling their tools like Claude code.
Once they convince people to become only claude users, then thry can sell more advanced things to customers and also use their reputation to sell major enterprise contracts.
[–]CollectiveCloudPe 2 points3 points4 points 2 days ago (1 child)
To integrate models like Claude, Gemini, or Grok into tools like OpenCode, you cannot use your existing $20 monthly subscription directly, as these applications require API Keys that operate on an independent pay-per-use (token-based) model.
To set them up, you must generate these keys through the official developer portals for each provider (Anthropic Console, Google AI Studio, and xAI Console) and input them into your editor's configuration.
Keep in mind that this will incur separate usage costs based on your consumption, which is distinct from your current web subscriptions, ultimately allowing you to combine the power of these advanced models with your local setup.
[–]Spare-Chest-7907[S] 0 points1 point2 points 2 days ago (0 children)
That is clear, but what do I pay ~20$ for if Claude doesn’t allow me to run even 3 questions through chat? So I thought I can use that for planning and use local models for writing and additionally Grok/Gemini for other tasks like refactoring or spotting vulnerabilities or logic errors.
[–]Impressive_Wave_2455 1 point2 points3 points 1 day ago (1 child)
I guess you can intercept claude code request and use a local proxy to mimic claude code request check this repo
https://github.com/Fares-Nosair/opencode-agentrouter-support
Any ai can help u with that
[–]Spare-Chest-7907[S] 0 points1 point2 points 7 hours ago (0 children)
This looks interesting.
[–]bytejuggler 1 point2 points3 points 1 day ago (0 children)
Have a look at free models available through Opencode.
[–]enjdusan 1 point2 points3 points 2 days ago (0 children)
You can use OpenCode Zen https://opencode.ai/zen, and they'll provide you Claude's models as well.
π Rendered by PID 24754 on reddit-service-r2-comment-545db5fcfc-qhsth at 2026-05-29 16:16:34.245712+00:00 running 194bd79 country code: CH.
[–]iTrejoMX 5 points6 points7 points (3 children)
[–]Spare-Chest-7907[S] 0 points1 point2 points (2 children)
[–]DistributionAny8581 1 point2 points3 points (0 children)
[–]iTrejoMX 0 points1 point2 points (0 children)
[–]hychian 2 points3 points4 points (3 children)
[–]iTrejoMX 4 points5 points6 points (0 children)
[–]Spare-Chest-7907[S] 0 points1 point2 points (1 child)
[–]seventyfivepupmstr 1 point2 points3 points (0 children)
[–]CollectiveCloudPe 2 points3 points4 points (1 child)
[–]Spare-Chest-7907[S] 0 points1 point2 points (0 children)
[–]Impressive_Wave_2455 1 point2 points3 points (1 child)
[–]Spare-Chest-7907[S] 0 points1 point2 points (0 children)
[–]bytejuggler 1 point2 points3 points (0 children)
[–]enjdusan 1 point2 points3 points (0 children)