- The title is misleading if you don’t read the whole text: Anthropic is not blocking OpenCode from the API that they sell.
They’ve blocked OpenCode from accessing the private Claude Code endpoints. These were not advertised or sold as usable with anything else. OpenCode reverse engineered the API and was trying to use it.
The private API isn’t intended for use with other tools. Any tool that used it would get blocked.
- I do admit to feeling some schadenfreude over them reacting to their product being leeched by others.
I get it though, Anthropic has to protect their investment in their work. They are in a position to do that, whereas most of us are not.
- Obviously Anthropic are within their rights to do this, but I don’t think their moat is as big as they think it is. I’ve cancelled my max subscription and have gone over to ChatGPT pro, which is now explicitly supporting this use case.
by shortsunblack
0 subcomment
- OpenCode is doing nothing wrong and adversarial interoperability is the cornerstone of hacker ethos.
As such, the sentiment in this thread is chilling.
by kachapopopow
1 subcomments
- Everyone goes on and on how "anthtropic has the right to do this", sure, we also have the right to work around these blocks and fight against behavior that uses their position to create a walled garden and vendor lock-in using anti-competitive pricing and temporary monopoly on the 'best' model.
- This is definitely Barbara Streisanding right now. I had never heard of OpenCode. But I sure have now! Will have to check it out. Doubt I’ll end up immediately canceling Claude Code Max, but we’ll see.
- i've been on claude code since before they even HAD subscriptions (api only) and since getting max from day 1 - I haven't once have assumed that access was allowed outside of CC. anyone who thinks otherwise is leaning into that cognitive dissonance
by MillionOClock
0 subcomment
- Am I understanding it correctly, based on these tweets [1][2], that both Codex and Copilot teams or at least team members mentioned potentially letting people make use of their quotas in third party tools?
I really would like further clarification on those points as I would be pretty interested for a product I'm building if it was indeed made possible.
[1] https://x.com/jaredpalmer/status/2009844004221833625
[2] https://x.com/thsottiaux/status/2009714843587342393
- Soft plug: the team at nori just announced our own CLI today. Most people build on top of the provider layer, but we build on top of the agent layer. This means that you can use your subscriptions, and you get the benefit of getting the best system prompts and tools that the base models were fine tuned with.
Cliff posted a show hn earlier today here: https://news.ycombinator.com/item?id=46616562
- When using their web UI with Firefox and ublock origin it regularly freezes the tab when the answer is written out. Someone at Anthropic had to create a letter-by-letter typing animation with GIF image and sentry callbacks every five seconds, which ends up in an infinite loop.
I've seen reports about this bug affecting Firefox users since Q3 2025. They were reported over various channels.
Not a fan of them prioritizing the combat against opencode instead of fixing issues that affect paying users.
by chatmasta
1 subcomments
- It’ll be interesting to see how far they take this cat and mouse game. Will “model attestation” become a new mechanism for enforcing tight coupling between client and inference endpoint? It could get weird, with secret shibboleths inserted into model weights…
by Wowfunhappy
2 subcomments
- Given that Claude Code is a scriptable CLI tool with an SDK, why can't OpenCode just call Claude instead of reusing its auth tokens?
- Asked Opus a question on Openrouter. 0.30$
Asked Minimax 2.1 that question. 0.008$
At some point it stops making sense. You cannot use "the good model" just for the hard bits without basically hand writing you own harness. Even then, it will need full, uncached context.
Feels like consulting a premium lawyer to ask how much time is it.
by codesparkle
0 subcomment
- Previous related discussion: https://news.ycombinator.com/item?id=46586766
- I don't understand what's the threat from a CLI which is useless without AI models and Anthropic could be one of them?
by syntaxing
5 subcomments
- While Anthropic can choose whatever tool uses their api or subscription but I never fully understood what they gain from having the subscription explicitly only work for claude code. Is the issue that it disincentivizes the use of their API?
by theshrike79
0 subcomment
- This is exactly like an opensource project called OpenVideo would pretend to be a Netflix/Prime/HBO/AppleTV+ client and allowing access to content that way, skipping the official clients.
Then they get angry when their use is blocked.
Only in this case they can 100% use the service via a paid API.
- Have had max for awhile, funny thing opencode still sorta works with my cc max subscription. That said after awhile open code just hangs. My workflow involves saving state frequently. I cancel open back up and continue then it’s performant for maybe 2-3 token context windows, repeat
- I didn't know, guessing some others don't either:
"The open source AI coding agent
Free models included or connect any model from any provider, including Claude, GPT, Gemini and more."
- > This script demonstrates that Anthropic has specifically blocked
> the phrase "You are OpenCode" in system prompts
by theParadox42
0 subcomment
- This is ironic timing given I was just banned from vibe coding and abusing my own desktop Hinge client relying on their API.
by sreekanth850
0 subcomment
- Circumvent the system, break TOS, and get banned and then cry.
by throwaway314155
0 subcomment
- Didn’t they work around this last week by just putting “You are Claude” in the system prompt?
- you can get around this by making an agent in opencode and that agent should not mention opencode at all, e.g. "You're an agent that uses Claude Opus..." and it will just work.
by ChrisArchitect
1 subcomments
- Related:
Anthropic blocks third-party use of Claude Code subscriptions
https://news.ycombinator.com/item?id=46549823
by renewiltord
0 subcomment
- Yeah, the pro/max access require Claude Code. Should use the API if you want to build a tool on it.
by ashirviskas
0 subcomment
- Well, using Claude Pro/Max Calude Code api without Claude Code, instead of their actual API they monetize goes against their ToS.
I don't like it too, but it is what it is.
If I gave free water refils if you used my brand XYZ water bottle, you should not cry that you don't get free refills to your ABC branded bottle.
It may be scummy, but it does make sense.
- Meh, if you want access to the API then pay for the API. It's as simple as that.
by refulgentis
6 subcomments
- I believe LLM providers should ultimately be utilities from a consumer perspective, like water suppliers. I own the faucet, washer, bathtub, and can switch suppliers at will. I’ve been working on a FOSS client for them for nearly three years.
I hope that why the following is purely a factual distinction, not an excuse or an attempt to empathize.
The difference between the other entities named and OpenCode is this:
OpenCode uses people’s Claude Code subscriptions. The other entities use the API.
Specifically, OpenCode reverse‑engineers Claude Code’s OAuth endpoints and API, then uses them. This is harmful from Anthropic's perspective because Claude Code is subsidized relative to the API.
Edit: I’m getting “You’re posting too fast” when replying to mr_mitm. For clarity, there is no separate API subscription. Anthropic wants you to use one of two funnels for coding with their LLMs:
1. The API (through any frontend), or
2. A subscription through an Anthropic‑owned frontend.
by bopbopbop7
1 subcomments
- [flagged]
- Please stop spreading this nonsense. Anthropic is not blocking Opencode. You can use all their models within Opencode using API. Anthropic simply let Dax and team use unlimited plans for the past year or so. I don’t even know if it was official. I find this a bit comical and immature. You want to use the models, just pay for it. Why are people trying to nickel and dime on tools that they use day in day out?
- I do not understand the stubbornness with wanting to use the auth part. On local, just call the claude code from your harness, or better there is a claude agent sdk, both of which have clear auth and are permitted acc to anthropic. But to say that they want to use this auth as a substitution for API is a different issue altogether.