News for hackers. Stuff that matters.
Re:OpenCode – The open source AI coding agent by ramon156 on Friday March 20, 2026 @05:28PM (#47460841)
The Agent that is blacklisted from Anthropic AI, soon more to come.

I really like how their subagents work, as a bonus I get to choose which model is in which agent. Sadly I have to resort to the mess that Anthropic calls Claude Code

Re:OpenCode – The open source AI coding agent by pczy on Friday March 20, 2026 @05:46PM (#47461079)
They are not blacklisted. You are allowed to use the API at commercial usage pricing. You are just not allowed to use your Claude Code subscription with OpenCode (or any other third‑party harness for the record).
Re:OpenCode – The open source AI coding agent by oldestofsports on Friday March 20, 2026 @06:05PM (#47461303)
I dont understand this, what is the difference, technically!
Re:OpenCode – The open source AI coding agent by miki123211 on Friday March 20, 2026 @06:33PM (#47461625)
Anthropic's model deployments for Claude Code are likely optimized for Claude Code. I wouldn't be surprised if they had optimizations like sharing of system prompt KV-cache across users, or a speculative execution model specifically fine-tuned for the way Claude Code does tool calls.

When setting your token limits, their economics calculations likely assume that those optimizations are going to work. If you're using a different agent, you're basically underpaying for your tokens.

Re:OpenCode – The open source AI coding agent by echelon on Friday March 20, 2026 @06:49PM (#47461802)
- OR - it's about lock-in.

Build the single pane of glass everyone uses. Offer it under cost. Salt the earth and kill everything else that moves.

Nobody can afford to run alternative interfaces, so they die. This game is as old as time. Remember Reddit apps? Alternative Twitter clients?

In a few years, CC will be the only survivor and viable option.

It also kneecaps attempts to distill Opus.

Re:OpenCode – The open source AI coding agent by fnordpiglet on Friday March 20, 2026 @06:54PM (#47461870)
It’s probably a mixture of things including direct control over how the api is called and used as pointed out above and giving a discount for using their ecosystem. They are in fact a business so it should not surprise anyone they act as one.
Re:OpenCode – The open source AI coding agent by esperent on Friday March 20, 2026 @07:03PM (#47461966)
It might well be a mixture, but 95% of that mixture is vendor lock in. Same reason they don't support AGENTS.md, they want to add friction in switching.
Re:OpenCode – The open source AI coding agent by mgambati on Friday March 20, 2026 @07:33PM (#47462297)
They can try add as much as friction they want. A simple rename in the files and directories like .claude makes the thing work to move out of CC.

It’s not like moving from android to iOS.

Re:OpenCode – The open source AI coding agent by esperent on Friday March 20, 2026 @07:56PM (#47462478)
You'd be surprised how effective small bits of friction are.
Re:OpenCode – The open source AI coding agent by xvector on Friday March 20, 2026 @08:50PM (#47462893)
If it was lock in they wouldn't make it absolutely trivial to change inference providers in Claude Code.
Re:OpenCode – The open source AI coding agent by esafak on Saturday March 21, 2026 @01:09PM (#47468916)
The goal is to use Anthropic subscriptions outside of Claude Code!! That is the lock in.
Re:OpenCode – The open source AI coding agent by AlexCoventry on Friday March 20, 2026 @10:48PM (#47463554)
It's very straightforward to instrument CC under tmux with send-keys and capturep. You could easily use that for distillation, IMO. There are also detailed I/O logs.
Re:OpenCode – The open source AI coding agent by hereme888 on Friday March 20, 2026 @06:08PM (#47461335)
Subscription = token that requires refreshing 1-2x/day, and you get the freedom to use your subscription-level usage amount any way you want.

API = way more expensive, allowed to use on your terms without anthropic hindering you.

Re:OpenCode – The open source AI coding agent by NewsaHackO on Friday March 20, 2026 @07:51PM (#47462425)
Also, Subscription: against the TOS of Claude Code, need to spoof a token and possibly get banned due to it.
Re:OpenCode – The open source AI coding agent by hereme888 on Saturday March 21, 2026 @11:52AM (#47468134)
Yup. And right now I'm straight-up breaking Claude's TOS by modifying OpenCode to still accept tokens. But I only have a few days left and don't care if they ban me. I'm using what I paid for.
Re:OpenCode – The open source AI coding agent by KronisLV on Friday March 20, 2026 @06:26PM (#47461533)
With Anthropic, you either pay per token with an API key (expensive), or use their subscription, but only with the tools that they provide you - Claude, Claude Cowork and Claude Code (both GUI and CLI variants). Individuals generally get to use the subscriptions, companies, especially the ones building services on top of their models, are expected to pay per token. Same applies to various third party tools.

The belief is that the subscriptions are subsidized by them (or just heavily cut into profit margins) so for whatever reason they're trying to maintain control over the harness - maybe to gather more usage analytics and gain an edge over competitors and improve their models better to work with it, or perhaps to route certain requests to Haiku or Sonnet instead of using Opus for everything, to cut down on the compute.

Given the ample usage limits, I personally just use Claude Code now with their 100 USD per month subscription because it gives me the best value - kind of sucks that they won't support other harnesses though (especially custom GUIs for managing parallel tasks/projects). OpenCode never worked well for me on Windows though, also used Codex and Gemini CLI.

Re:OpenCode – The open source AI coding agent by anonym29 on Friday March 20, 2026 @06:31PM (#47461594)
>or perhaps to route certain requests to Haiku or Sonnet instead of using Opus for everything, to cut down on the compute

You can point Claude Code at a local inference server (e.g. llama.cpp, vLLM) and see which model names it sends each request to. It's not hard to do a MITM against it either. Claude Code does send some requests to Haiku, but not the ones you're making with whatever model you have it set to - these are tool result processing requests, conversation summary / title generation requests, etc - low complexity background stuff.

Now, Anthropic could simply take requests to their Opus model and internally route them to Sonnet on the server side, but then it wouldn't really matter which harness was used or what the client requests anyway, as this would be happening server-side.

Re:OpenCode – The open source AI coding agent by KronisLV on Saturday March 21, 2026 @05:18AM (#47465436)
Sounds pretty sane, the same way how OpenWebUI and probably other software out there also has a concept of “tool models”, something you use for all the lower priority stuff.

Actually curious to hear what others think about why Anthropic is so set on disallowing 3rd party tools on subscriptions.

Re:OpenCode – The open source AI coding agent by kasey_junk on Saturday March 21, 2026 @07:28AM (#47466072)
The sota models are largely undifferentiated from each other in performance right now. And it’s possible open weight models will get “good enough” relatively soonish. This creates a classic case where inference becomes a commodity. Commodities have very low margins. Training puts them in an economic hole where low margins will kill them.

So they have to move up the stack to higher margin business solutions. Which is why they offer subsidized subscription plans in the first place. It’s a marketing cost. But they want those marketing dollars to drive up the stack not commodity inference use cases.

Re:OpenCode – The open source AI coding agent by hackingonempty on Friday March 20, 2026 @06:27PM (#47461549)
Anthropic has an API, you can use any client but they charge per input/output/cache token.

One-price-per-month subscriptions (Claude Code Pro/MAX @ $20/$100/$200 a month) use a different authentication mechanism, OAUTH. The useful difference is you get a lot more inference than you can for the same cost using the API but they require you to use Claude Code as a client.

Some clients have made it simple to use your subscription key with them and they are getting cease and desist letters.

Re:OpenCode – The open source AI coding agent by jwpapi on Friday March 20, 2026 @06:16PM (#47461430)
about 30 times more cost
Re:OpenCode – The open source AI coding agent by wilg on Friday March 20, 2026 @06:23PM (#47461507)
Sometimes people want to be real pedants about licensing terms when it comes to OSS, assuming such terms are completely bulletproof, other times people don't think the terms of their agreement with a service provider should have any force at all.
Re:OpenCode – The open source AI coding agent by hereme888 on Friday March 20, 2026 @06:05PM (#47461305)
Was it not obvious what the OP meant by blacklisted?
Re:OpenCode – The open source AI coding agent by Maxatar on Friday March 20, 2026 @06:15PM (#47461427)
Blacklisted usually means something is banned. OpenCode is not banned from using Anthropic's API.
Re:OpenCode – The open source AI coding agent by enraged_camel on Friday March 20, 2026 @06:09PM (#47461343)
No, it was not? For those whose native language is English, "blacklisted" implies Claude API will not allow OpenCode.
Re:OpenCode – The open source AI coding agent by theshrike79 on Saturday March 21, 2026 @11:39AM (#47467995)
API will, they just can spoof Claude Code OAUTH credentials
Re:OpenCode – The open source AI coding agent by Robdel12 on Friday March 20, 2026 @06:47PM (#47461786)
Has it occurred to anyone that Anthropic highest in the industry API pricing is a play to drive you into their subscription? For the lock-in?
Re:OpenCode – The open source AI coding agent by Macha on Friday March 20, 2026 @07:15PM (#47462110)
The highest in in the industry for API pricing right now is GPT-5.4-Pro, OpenRouter adding that as an option in their Auto Router was when I had to go customise the routing settings because it was not even close to providing $30/m input tokens and $180/m output tokens of value (for context Opus 4.6 is $5/m input and $25/m output)

(Ok, technically o1-pro is even more expensive, but I'm assuming that's a "please move on" pricing)

Re:OpenCode – The open source AI coding agent by boxedemp on Friday March 20, 2026 @09:23PM (#47463093)
I have my own harness I wrap Claude CLI in, I wonder if I'm breaking the rules...
Re:OpenCode – The open source AI coding agent by arcanemachiner on Friday March 20, 2026 @10:32PM (#47463466)
If you're not paying full-fat API prices, then probably.

From what I've heard, the metrics used by Anthropic to detect unauthorized clients is pretty easy to sidestep if you look at the existing solutions out there. Better than getting your account banned.

Re:OpenCode – The open source AI coding agent by blackqueeriroh on Saturday March 21, 2026 @12:18AM (#47463937)
No, they specifically said it’s only if you’re trying to build a whole other product for public consumption on top of it
Re:OpenCode – The open source AI coding agent by theshrike79 on Saturday March 21, 2026 @11:33AM (#47467943)
If you’re just essentially calling claude -p you’re fine
Re:OpenCode – The open source AI coding agent by hrmtst93837 on Saturday March 21, 2026 @04:16AM (#47465087)
So it's less 'blacklist' and more a licensing gotcha designed to crush price arbitrage, basically rent-seeking by toggling where the tollbooth sits.
Re:OpenCode – The open source AI coding agent by lima on Friday March 20, 2026 @05:33PM (#47460894)
You can still use OpenCode with the Anthropic API.
Re:OpenCode – The open source AI coding agent by pimeys on Friday March 20, 2026 @05:41PM (#47461001)
Yep. That's what I do. Just API keys and you can switch from Opus to GPT especially this week when Opus has been kind of wonky.
Re:OpenCode – The open source AI coding agent by stavros on Friday March 20, 2026 @06:12PM (#47461391)
I pay $100/mo to Anthropic. Yesterday I coded one small feature via an API key by accident and it cost $6. At this rate, it will cost me $1000/mo to develop with Opus. I might as well code by hand, or switch to the $20 Codex plan, which will probably be more than enough.

I'd rather switch to OpenAI than give up my favorite harness.

Re:OpenCode – The open source AI coding agent by xienze on Friday March 20, 2026 @06:21PM (#47461486)
Yeah I had a similar experience one time. Which is why I laugh when people suggest Anthropic is profitable. Sure, maybe if everyone does API pricing. Which they won’t because it’s so damn expensive. Another way to think about it is API pricing is a glimpse into the future when everyone is dependent on these services and the subscription model price increases start.
Re:OpenCode – The open source AI coding agent by mattmanser on Friday March 20, 2026 @06:35PM (#47461662)
I don't get why people talk about ChatGPT as some great saviour though, they're in the same boat but just have more money to burn.
Re:OpenCode – The open source AI coding agent by sailfast on Friday March 20, 2026 @08:22PM (#47462684)
This is the intention. They do not want folks that can’t pay to use their service.
Re:OpenCode – The open source AI coding agent by theshrike79 on Saturday March 21, 2026 @11:41AM (#47468014)
SOTA models cost SOTA prices. Nothing new there
Re:OpenCode – The open source AI coding agent by iAMkenough on Friday March 20, 2026 @08:32PM (#47462761)
Out of curiosity, what's your next monthly subscription in terms of price?
Re:OpenCode – The open source AI coding agent by stavros on Friday March 20, 2026 @08:34PM (#47462780)
Electricity, $95/mo.
Re:OpenCode – The open source AI coding agent by iAMkenough on Friday March 20, 2026 @08:41PM (#47462840)
Now you got me thinking my electric company should start offering subscription tiers in these uncertain energy times...
Re:OpenCode – The open source AI coding agent by stavros on Friday March 20, 2026 @08:43PM (#47462850)
Ours never will, they're a cartel, sadly. If you mean fixed subscription, next one is Netflix, I think, or my server provider at $40 or so.
Re:OpenCode – The open source AI coding agent by nomel on Saturday March 21, 2026 @02:00AM (#47464372)
My monthly "connection fee" is more than that (no solar, just EV). Your cartel needs to step it up!

For me it's $0.8/kWh during peak, $0.47 off peak, and super off peak of $0.15. I accidentally left a little mini 500W heater on all day, while I was out, costing > 5% of your whole month!

Re:OpenCode – The open source AI coding agent by stavros on Saturday March 21, 2026 @04:03AM (#47465013)
Wow, what the hell.
Re:OpenCode – The open source AI coding agent by AlexCoventry on Friday March 20, 2026 @10:51PM (#47463562)
The trouble with openai is that by using them, you're supporting fascism.
Re:OpenCode – The open source AI coding agent by _ache_ on Saturday March 21, 2026 @12:15AM (#47463920)
Yes, you are doing it too with antropic an xAI. I don't get your point. xAI and OpenAI are a little worst? Maybe, still very well fascism.
Re:OpenCode – The open source AI coding agent by AlexCoventry on Saturday March 21, 2026 @02:43AM (#47464566)
IMO, OpenAI have either implicitly committed to becoming the IT service for Trump's secret police, or they've willingly signed up for the harsh retaliation Anthropic's getting, knowing that the Trump administration will inevitably try to push OpenAI around in the same way, if they meaningfully refuse to assist in domestic mass surveillance efforts.
Re:OpenCode – The open source AI coding agent by stavros on Saturday March 21, 2026 @04:03AM (#47465006)
Anthropic was fine doing the same, they just didn't want it done to Americans.
Re:OpenCode – The open source AI coding agent by AlexCoventry on Saturday March 21, 2026 @12:31PM (#47468519)
OpenAI agreeing to operate as Trump's secret police materially impacts your security as a European, though, because it cements Trump's power.
Re:OpenCode – The open source AI coding agent by stavros on Saturday March 21, 2026 @01:05PM (#47468864)
Again, though, both of them agreed to that. Anthropic just didn't want to spy on Americans.
Re:OpenCode – The open source AI coding agent by AlexCoventry on Saturday March 21, 2026 @01:43PM (#47469308)
You can argue a moral equivalence, I guess, but on a practical level, OpenAI's decision is more dangerous for everyone, because it will help to secure Trump as a dictator.
Re:OpenCode – The open source AI coding agent by robbie-c on Saturday March 21, 2026 @07:51AM (#47466189)
Quite a lot worse. Both OpenAI and xAI were among the largest donors of Trump's campaign

Musk was the largest individual political donor of the 2024 election [1] and Greg Brockman was the largest donor to Trump's "MAGA Inc" super PAC [2]

[1] https://www.washingtonpost.com/technology/2024/12/06/elon-mu...

[2] https://www.theverge.com/ai-artificial-intelligence/867947/o...

Re:OpenCode – The open source AI coding agent by Robdel12 on Saturday March 21, 2026 @08:37AM (#47466465)
You’re right, Anthropic is quite a bit worse https://www.washingtonpost.com/technology/2026/03/04/anthrop...
Re:OpenCode – The open source AI coding agent by robbie-c on Saturday March 21, 2026 @08:53AM (#47466579)
Wait - are you missing all the context on this? Anthropic pushed back against this hard, there was a whole back and forth. I'm on mobile and can't look it up for you atm but if you google about this scenario, Anthropic definitely come out of this looking a lot better than OpenAI and xAI
Re:OpenCode – The open source AI coding agent by Robdel12 on Saturday March 21, 2026 @10:54AM (#47467610)
Did you read the article? Or are you just replying?

Anthropic has literally been working with the DoD and Plantair for 2 years now. They were key to the Iran invasion.

If thats “looking better”, keep it.

Re:OpenCode – The open source AI coding agent by theshrike79 on Saturday March 21, 2026 @11:42AM (#47468032)
Key being “worked”, past tense

Now they’re blacklisted from government work (appeal pending) and OpenAI practically jumped to replace them immediately

Re:OpenCode – The open source AI coding agent by Robdel12 on Saturday March 21, 2026 @12:26PM (#47468454)
You’re right it completely doesn’t matter they’ve been instrumental to ICE and the war in Iran. It’s fine now, their previous actions are excused.

Edit: the word you’re also looking for is “working” not “worked”. I have many friends on government contracts still using Claude.

Re:OpenCode – The open source AI coding agent by _ache_ on Saturday March 21, 2026 @09:07AM (#47466672)
If you evaluate fascism in terms of donation, yes.

But it is more about the political opinions, IMHO, and Anthropic doesn't sound more attractive than the competitors. Anthropic is very much to the right of the transhumanism spectrum (even if xAI and OpenAI are even farther).

Re:OpenCode – The open source AI coding agent by gwd on Friday March 20, 2026 @06:01PM (#47461268)
Or have Claude write the code and Gemini review it. (Was using GPT for review until the recent Pentagon thing.)
Re:OpenCode – The open source AI coding agent by blks on Friday March 20, 2026 @07:25PM (#47462221)
You can also review the code you ship yourself.
Re:OpenCode – The open source AI coding agent by gwd on Saturday March 21, 2026 @03:35PM (#47470475)
I certainly do -- but having Gemini review it first saves a lot of time.
Re:OpenCode – The open source AI coding agent by jatora on Friday March 20, 2026 @05:42PM (#47461014)
'just API key' lol. just hundreds of dollars at a minimum
Re:OpenCode – The open source AI coding agent by specproc on Friday March 20, 2026 @05:58PM (#47461239)
This is the problem with this bollocks. Outsourcing our brains at a per token rate. It'd be exciting if I didn't hand to pay Americans for it.
Re:OpenCode – The open source AI coding agent by fr33k3y on Friday March 20, 2026 @06:12PM (#47461395)
I'm testing glm5 on Claude code and opencode just to stop consuming American... Soo good so far!
Re:OpenCode – The open source AI coding agent by jen20 on Friday March 20, 2026 @06:13PM (#47461398)
Qwen works fine and requires paying no-one except a hardware vendor.
Re:OpenCode – The open source AI coding agent by pimeys on Saturday March 21, 2026 @04:02AM (#47465004)
Yes. And many companies pay that.
Re:OpenCode – The open source AI coding agent by cyanydeez on Friday March 20, 2026 @06:26PM (#47461539)
a $3000 AMD395+ will get you pretty close to a open development environment.
Re:OpenCode – The open source AI coding agent by anonym29 on Friday March 20, 2026 @06:56PM (#47461891)
There are boards starting in the $1500-$2000 range, and complete systems in the $2500-$2700 range. I actually don't know of any Strix Halo mini PCs that cost $3000, do you?

EDIT: The system I bought last summer for $1980 and just took delivery of in October, Beelink GTR 9 Pro, is now $2999.... wow...

Re:OpenCode – The open source AI coding agent by free652 on Friday March 20, 2026 @07:14PM (#47462101)
the boards now are pricier, at least the framework one. I got it for 1700, and now its ~$2400.
Re:OpenCode – The open source AI coding agent by Shebanator on Friday March 20, 2026 @07:13PM (#47462083)
not mini PCs, no, but there are laptops that do
Re:OpenCode – The open source AI coding agent by ricardobeat on Friday March 20, 2026 @07:22PM (#47462177)
I bought mine, a mini PC, for $1400 just six months ago. This bubble will pass.
Re:OpenCode – The open source AI coding agent by UncleOxidant on Saturday March 21, 2026 @12:19AM (#47463943)
RAM has gone up a lot since last summer.
Re:OpenCode – The open source AI coding agent by raincole on Friday March 20, 2026 @10:10PM (#47463359)
More what to come?
Re:OpenCode – The open source AI coding agent by heywinit on Saturday March 21, 2026 @03:06AM (#47464682)
probably more agents to be blocked by anthropic. i've seen theo from t3.gg go through a bunch of loopholes to support claude in his t3code app just so anthropic doesn't sue their asses.