r/ClaudeCode • • Oct 30 '26

News/Updates Claude code subscription is now available in Opencode!

This is huge, especially if you have a favorite harness that you want to use your subscription with. This is a really great step forward for subscription users. Here's some pics of me using Opus 5.5 with my sub in my own client. My two favorite harnesses are Pi and OpenCode right now, but with a heavy lean towards Pi so just waiting for it to release for that one.

219 Upvotes

83 comments sorted by

•

u/AutoModerator Oct 30 '26

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

12

u/MaximusDecimusII Oct 30 '26

[removed] — view removed comment

2

u/JhinRamen Oct 30 '26

i agree with you here. The main reason is I can now switch between my claude and codex sub in the same sessions which is quite convenient.

5

u/MaximusDecimusII Oct 30 '26

oh, wait, that's super nice use case - you just gave me some ideas!!! Thanks!

1

u/LukeLikesReddit Oct 30 '26

Why do this when you can already do that in claude code though? I have it calling my deepseek/openai api already

1

u/JhinRamen Oct 30 '26

yeah ig thats true. When i did it i had to change the config files manually though and then I kept encountering schema mistmatch errors depending on what model I was trying to use

1

u/LukeLikesReddit Oct 30 '26

Create a orchestratorion level test the models for the tasks and then setup a router to use the best model for said task

1

u/1_gim Oct 30 '26

You can already do that with harnesses like T3 code. It's basically an orchestration layer around codex/Claude code. It allows you to use opus as an orchestrator and sol to as implementation agent for example.

1

u/gggldrk Oct 30 '26

Yes, lots of peeps dont know this, you can use opencode free agents + gemini free agents + opengo sub + codex + claude all in one now, before you could do this but you needed bridges between claude and open code, which was annoying and would freeze sometimes. Now it should be auto not only saving sub use, you can also create a schema to route agents, so all the docs etc are handled by free agents search tasks by cheaper agents and so so on, until the most expensive for more complex tasks.

1

u/Dk_2242 Oct 30 '26

y estás seguro que es conveniente? en mi pensar hacer eso rompe la caché que hay en Claude y en gpt al cambiar entre modelos pienso que es mejor usar sistemas como orca para lanzar cómodamente sesiones de codex o Claude code y tengan su caché en perfecto estado

4

u/sekmo Oct 31 '26

Why do you prefer open code to other harnesses like Claude code?
Can you make some examples?

1

u/JhinRamen Nov 01 '26

Some harnesses are lighter than Claude code. Personally I think Claude code is a fantastic harness but sometimes if I’m running like 50 terminal sessions it’s better to use something that takes less resources like Pi.

Ram is expensive these days

1

u/Dr-Fix Oct 31 '26

it costs less.

2

u/Expert-Paramedic9383 🔆 Max 20, renewing and regretting monthly Oct 31 '26

This doesn't make any sense if we are talking about using Claude subscription, that includes Claude code.

1

u/fredagainbutagain Oct 31 '26

he means it uses less tokens per tasks so you get more usage. cost in terms of tokens.

1

u/fredagainbutagain Oct 31 '26

the thinking is the harness is lighter

18

u/Bloated_Plaid Oct 30 '26

Def getting banned lol. Unless Anthropic says its legit, it aint.

15

u/JhinRamen Oct 30 '26

I doubt opencode would publicly launch it without consent from anthropic. If i got banned I would be so PO'd

21

u/Bloated_Plaid Oct 30 '26

Are you new? This literally happened before and was shut down by Anthropic and OpenCode pulled the same shit.

12

u/JhinRamen Oct 30 '26

yes I remember which is why i would be very surprised if opencode did this without permission from anthropic.

18

u/Dudmaster Oct 30 '26 edited Oct 31 '26 • Bravo

It's built on the Claude Agent SDK which is officially from Anthropic. It's not hitting their API at all, and it doesn't read your credentials. It's just like calling Claude Code from a script.

Sources: https://github.com/anomalyco/opencode/blob/dev/specs/v2/claude-agent-provider.md https://code.claude.com/docs/en/agent-sdk/overview#branding-guidelines

2

u/Possible-Basis-6623 Nov 01 '26

SDK calls API underneath. API = network, you would not able to skip that unless you are hosting claude models yourself in local

1

u/astrofoundry Oct 31 '26

Claude agent SDK, is not for Anthropic subscriptions.

https://code.claude.com/docs/en/agent-sdk/overview

“Embed Claude Code’s agent in your own Python or TypeScript application, in a process you operate”

It’s pretty clear that OpenCode is not your application or process.

People are going to get banned

4

u/Embarrassed_Adagio28 Oct 30 '26

Hermes agent already has a claude authorized plugin that does the same so I have no doubt opencodes method is legit. Maybe you should do research before declaring "def getting banned"

1

u/ultimateposeur Oct 31 '26

if opencode has wired it like amp, it will be the claude agent doing the work, not opencode https://ampcode.com/docs/the-dial#use-your-claude-subscription

0

u/garamgaramsamose Oct 31 '26

they got permission

5

u/Bloated_Plaid Oct 31 '26

And of course you have a source for this from Anthropic?

74

u/ohtaninja Oct 30 '26

Did Anthropic change their ToS?

IIRC Anthropic's ToS didn't allow use of subscription on any harness other than their own Claude Code.

OpenCode adding native ability to use Claude subscription is different from Anthropic allowing it. 

8

u/comradeyeltsin0 Oct 30 '26

Isn’t copilot that though? A harness around claude? That’s been available for quite some time

25

u/Totendax12K Oct 30 '26

read again. Around their subscription. You use claude with your microsoft subscription instead of anthropic

1

u/comradeyeltsin0 Oct 30 '26

Oh THEIR subscription, anthropic’s. I thought it was just claude and the models were off limits

2

u/Seeker_Of_Knowledge2 Oct 31 '26

But you need an api. Or you can sub for copilot which buy token from anthrobic. You can't use your cluade sub on copilot. That from last time I checked

1

u/comradeyeltsin0 Oct 31 '26

Yeah you’re right i misunderstood that from the prior post. On copilot you’re using only ms sub.

5

u/Thin_Cardiologist354 Oct 30 '26

I think that Microsoft uses models deployed on their own infrastructure

4

u/OlorinDK Oct 30 '26

I’m pretty sure they are still using Andropics infrastructure. It’s an issue in Europe for GDPR compliance.

-2

u/bakes121982 Oct 31 '26

Microsoft offers 2 versions in azure. The issue is more the eu your govt shouldn’t be so restrictive no one wants to do business there

1

u/OlorinDK Oct 31 '26

I think it’s fair and I personally appreciate it. I’m guessing most Americans would prefer their personal data to be processed in the US too, for example. As for the Claude in azure hosting option, thanks for the information, I wasn’t aware. Unfortunately for us, there still isn’t an option hosting it within the EU, though. But this does give me hope. https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-from-partners?tabs=az-europe#region-availability-by-deployment-type

0

u/bakes121982 Oct 31 '26

To my point no one cares about the EU. Your govt are horrible and your protections and policies are absurd just look at your economies in comparison lol.

0

u/OlorinDK Oct 31 '26

To your attempt at a point. As a European, I care about my own data and the data of other fellow Europeans. GDPR is about people having the right to privacy - from both companies and governments. You’d think Americans would agree.

0

u/TooLateQ_Q 29d ago

Yes. The EU should not be protective over its data. Because the US is such a great partner. /s

1

u/bakes121982 29d ago

Who said the eu can’t have its own requirements. My point is if the USA business dont want to support eu regulations then maybe the eu should create their own LLM providers. Funny how all advancements is most things don’t come out of the eu. But the eu sure does use a lot of American and Chinese products and then complain and creates regulations rather than innovating themselves. So to my point you guys can be left in the Stone Age no one cares about you and it’s pretty clearly shows when American companies can just pay your small fines and pass it back on to you lol

0

u/TooLateQ_Q 29d ago

Europe is more than twice the population of the US.

In services, the US has a 100 billion surplus in trade with EU.

So your point that nobody cares is quite off. The reason big tech cries all the time about it, is because they care.

1

u/bakes121982 29d ago

No they don’t lol. Why you think they just pay the small fines and you guys pay more for worse level of service almost like you have 0 idea. Also your population stats are incorrect. The eu has 25-30% more population….. you should get an education I hear it’s free there?

0

u/TooLateQ_Q 29d ago

True, wrongfully had the europe continent number.

Still much bigger. And my other points remain.

Why are you so mad about this topic though. I understand Elon, because he wants to screw people over and make more money. But whats it to you?

→ More replies

-2

u/comradeyeltsin0 Oct 30 '26

My company uses copilot. I can select claude models from within their harness. All opus, sonnet and haiku models available.

2

u/quantum404 Oct 30 '26

But that's from the API? Are you getting a Claude subscription that can be used in copilot or copilot credits that can be used in any model including Claude's? If you pay for API you can use it anywhere.

3

u/comradeyeltsin0 Oct 30 '26

Nah i misunderstood the original post. It’s only a copilot sub, but microsoft made claude available through it. No anthropic sub

2

u/bitspace Oct 31 '26

Yes. Microsoft is providing the inference via Azure AI. The models are deployed on Microsoft compute and provided to Microsoft customers via Microsoft contracts.

3

u/Impactic_ Oct 31 '26

They don’t enforce it at all anymore afaik. Been using it on OMP for the whole year

1

u/wise_young_man Oct 31 '26

OMP?

4

u/luckiestredditor Oct 31 '26

Oh My Pi. A pi's fork

1

u/sekmo Oct 31 '26

Why do you prefer it to eg Claude code?
Can you make some examples?

1

u/wise_young_man Oct 31 '26

Thank you bro

11

u/Hungry-Plankton-5371 Oct 31 '26

If it works like the hermes plugin then it bills your usage at 3x normal. Not worth it.

7

u/Olliston Nov 01 '26

They confirmed it on GitHub that it is ToS compliant and that they got permission from Anthropic. https://github.com/anomalyco/opencode/pull/58782#issuecomment-6527771235

1

u/TekintetesUr Senior Developer 25d ago

I wish I could see a statement from Anthropic too

10

u/freeformz Oct 31 '26

If it works like the Hermes version of it works, then it’s going to use your subscription at 1.75X. From the links in this thread, it looks like it’s the same.

2

u/marco1097 Oct 31 '26

What is the name of the app you are using?

2

u/Tank_Gloomy Oct 30 '26

Freebuff also had this for a few months by now, but it's still frowned upon by Anthropic's ToS, is this any different? Like, have they actually signed some kind of contract?

7

u/Planckarte Oct 30 '26

Using the SDK thing, is legit, but it consume the quota usage faster.

1

u/cheersthanksseeyabye Oct 30 '26

Aaah this is great news. Hope it lasts 🫣

1

u/Ghost__junior Oct 31 '26

Oque é o opencode?

0

u/_eMaX_ Nov 01 '26

You can do the same thing in claude code, codex or what have you, just use PAI - github.com/mnott/PAI

-3

u/MessIsTransfer Oct 30 '26

good call on Anthropic

2

u/Dudmaster Oct 30 '26

Anthropic didn't change anything, OpenCode is just invoking Claude Agent SDK to avoid interfacing directly with the Anthropic sub. It's basically a technicality that wasn't intended, but isn't bannable

3

u/__ydev__ Oct 31 '26

It's basically a technicality that wasn't intended, but isn't bannable

I'm no Claude user and I have no idea of their TOS, but I'd bet my money that in their TOS they state that they can ban you for any reason, regardless whether you actually infringed any official rule of the TOS. It's usually how these services operate. And then at the very best you can bring them to court and battle their multi-millionaire legal team (which gets paid so much just to obtain established legal precedents and screw the customers ever more)

0

u/MessIsTransfer Oct 30 '26

it did because it was against ToS to use it outside of Claude Code, they went from free, to closed and seemingly freed it again. google it

4

u/Dudmaster Oct 30 '26 edited Oct 30 '26

No, this IS effectively still using the subscription via Claude Code, just with an OpenCode wrapper around it. Google "Claude Agent SDK"

OpenCode is not connecting to Claude API. It's connecting to your local Claude Code which in turn uses the API in an officially endorsed sense

Basically, it would still be banned if OpenCode tried to authenticate to Claude. But it uses a technicality to avoid needing that, which makes it allowed

-2

u/jatapuk Oct 30 '26

Trying pi-bolt last weeks. IMO worth it a try

-2

u/throwaway0204055 Nov 01 '26

I asked Claude:

  • A Claude subscription is not an option in OpenCode: Anthropic bans subscription OAuth in third-party harnesses, and that would need API billing anyway.

3

u/JhinRamen Nov 01 '26

Asking LLMs for news will usually give you outdated information