Live data from Hacker News

Anthropic Explicitly Blocking OpenCode

gist.github.com

51–60 of 164 posts

Re: Anthropic Explicitly Blocking OpenCode

#51
post #45

I don't understand what's the threat from a CLI which is useless without AI models and Anthropic could be one of them?

Switching models is too easy and the models are turning into commodities. They want to own your dev environment, which they can ultimately charge more when compared to access to their model.

They want to be the next JetBrains.

Re: Anthropic Explicitly Blocking OpenCode

#52
post #37

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?

You can't control it to the level of individual LLM requests and orchestration of those. And that is very valuable, practically required, to build a tool like this. Otherwise, you just have a wrapper over another big program and can barely do anything interesting/useful to make it actually work better.

What can't you do exactly? You can send Claude arbitrary user prompts—with arbitrary custom system prompts—and get text back. You can then put those text responses into whatever larger system you want.

Re: Anthropic Explicitly Blocking OpenCode

#53
post #23
post #22

Meh, if you want access to the API then pay for the API. It's as simple as that.

It’s because their models burn tokens like crazy. API use is way too expensive Edit: or should I say, the subscription is artificially cheap

> API use is way too expensive

Cry me a river - I never stop hearing how developers think their time is so valuable that no amount of AI use could possibly not be worth it. Yet suddenly, paying for what you use is "too expensive".

I'm getting sick of costs being distorted. It's resulting in dysfunctional methodologies where people are spinning up ridiculous number agents in the background, burning tokens to grind out solutions where a modicum of oversight or direction from a human would result in 10x less compute. At very least the costs should be realised by the people doing this.

Re: Anthropic Explicitly Blocking OpenCode

#54

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?

The issue is that claude code is cheap because it uses API's unused capacity. These kind of circumventions hurt them both ways, one they dont know how to estimate api demand, and two, the nature of other harnesses is more bursty (eg: parallel calls) compared to claude code, so it screws over other legit users. Claude code very rarely makes parallel calls for context commands etc. but these ones do. re the whole unuse…

Your suggested functionality is server side, not client side.

> it uses API's unused capacity

I see no waiting or scheduling on my usage - it runs, what appears to be, full speed till I hit my 4 hour / 7 day limit and then it stops.

Claude code is cheap (via a subscription) because it is burning piles of investor cash, while making a bit back on API / pay per token users.

Re: Anthropic Explicitly Blocking OpenCode

#55
post #21

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?

You can clearly run the provided gist. Calling “You are OpenCode” in the system prompt fails, but not if you replace the name with another tool name (e.g. “You are Cursor”, “You are Devin”). Pretty blatant difference in behavior based on a blacklisted value.

Re: Anthropic Explicitly Blocking OpenCode

#56
post #53
post #23

Earlier quoted context omitted.

It’s because their models burn tokens like crazy. API use is way too expensive Edit: or should I say, the subscription is artificially cheap

> API use is way too expensive Cry me a river - I never stop hearing how developers think their time is so valuable that no amount of AI use could possibly not be worth it. Yet suddenly, paying for what you use is "too expensive". I'm getting sick of costs being distorted. It's resulting in dysfunctional methodologies where people are spinning up ridiculous number agents in the background, burning tokens to grind out…

> a modicum of oversight or direction from a human would result in 10x less compute.

Yeah, I noticed it. I use Claude, but I use it responsibly. I wonder how many "green" people run these instances in parallel. :D

Re: Anthropic Explicitly Blocking OpenCode

#57
post #37

Earlier quoted context omitted.

You can't control it to the level of individual LLM requests and orchestration of those. And that is very valuable, practically required, to build a tool like this. Otherwise, you just have a wrapper over another big program and can barely do anything interesting/useful to make it actually work better.

What can't you do exactly? You can send Claude arbitrary user prompts—with arbitrary custom system prompts—and get text back. You can then put those text responses into whatever larger system you want.

May as well just use Claude Code then.

Re: Anthropic Explicitly Blocking OpenCode

#58
post #5

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.

They cannot actually do this as long as they keep Claude code open source. It is always going to be trivial to replicate how it sends requests in a third party tool.

Re: Anthropic Explicitly Blocking OpenCode

#59
post #54

Earlier quoted context omitted.

The issue is that claude code is cheap because it uses API's unused capacity. These kind of circumventions hurt them both ways, one they dont know how to estimate api demand, and two, the nature of other harnesses is more bursty (eg: parallel calls) compared to claude code, so it screws over other legit users. Claude code very rarely makes parallel calls for context commands etc. but these ones do. re the whole unuse…

Your suggested functionality is server side, not client side. > it uses API's unused capacity I see no waiting or scheduling on my usage - it runs, what appears to be, full speed till I hit my 4 hour / 7 day limit and then it stops. Claude code is cheap (via a subscription) because it is burning piles of investor cash, while making a bit back on API / pay per token users.

Why would scheduling be a thing in this case? I might be missing something here.

With continuous batching, you don't wait for entire previous batch to finish. The request goes in as one finishes. Hence the wait time is negligible.

Re: Anthropic Explicitly Blocking OpenCode

#60

Earlier quoted context omitted.

What can't you do exactly? You can send Claude arbitrary user prompts—with arbitrary custom system prompts—and get text back. You can then put those text responses into whatever larger system you want.

May as well just use Claude Code then.

Well, I do use Claude Code myself, but I'd thought the point of OpenCode was that it could combine the responses of multiple LLMs.
Post reply on HN