logoalt Hacker News

HumanOstrichyesterday at 10:36 AM1 replyview on HN

How do you think Claude Code and OpenCode communicate with Anthropic? Through the API. Maybe it's accessed slightly differently for subscription users. Anthropic is saying you can't use the API via a subscription anywhere you want. Only Claude Code can use it that way.


Replies

mapontoseventhsyesterday at 3:15 PM

OpenCode doesnt use the official API. It illegally bypasses it and pretends to be the Claude CLI app, which allows people who dont pay for API access to use it anyhow. That violates Anthropics TOS and robs them of income they rightfully should have had.

If you dont like a service or cant afford it dont use it. If you do and you can, be a paying customer.

show 1 reply