Live data from Hacker News

Anthropic officially bans using subscription auth for third party use

code.claude.com

61–70 of 827 posts

Re: Anthropic officially bans using subscription auth for third party use

#61
post #22

Earlier quoted context omitted.

Opencode as well. Folks have been getting banned for abusing the OAuth login method to get around paying for API tokens or whatever. Anthropic seems to prefer people pay them.

its not that innocent. a 200 dollar a month customer isn't trying to get around paying for tokens, theyre trying to use the tooling they prefer. opencode is better in a lot of ways. tokens get counted and put against usage limits anyway, unless theyre trying to eat analytics that are CC exclusive they should allow paying customers to consume to the usage limits in however way they want to use the models.

A $200/m max subscriber using OpenCode and not wanting to use API keys with pay-per-token pricing is very clearly trying to get around paying for tokens.

Re: Anthropic officially bans using subscription auth for third party use

#63

how can they even enforce this? can't you just spoof all your network requests to appear like it's coming from claude code? in any case Codex is a better SOTA anyways and they let you do this. and if you aren't interested in the best models, Mistral lets you use both Vibe and their API through your vibe subscription api key which is incredible.

They can't catch everything but they can make your product you're building on top of it non viable when it gets popular enough to look for, like they did with opencode.

at least with open code you can just use a third party plugin to authenticate

Re: Anthropic officially bans using subscription auth for third party use

#64
there’s a million small scale AI apps that just aren’t worth building because there’s no way to do the billing that makes sense. If anthropic wanted to own that market, they could introduce a bring-your-own-Claude metaphor, where you login with Claude and token costs get billed to your personal account (after some reasonable monthly freebies from your subscription).

But the big guys don’t seem interested in this, maybe some lesser known model will carve out this space

Re: Anthropic officially bans using subscription auth for third party use

#66

how can they even enforce this? can't you just spoof all your network requests to appear like it's coming from claude code? in any case Codex is a better SOTA anyways and they let you do this. and if you aren't interested in the best models, Mistral lets you use both Vibe and their API through your vibe subscription api key which is incredible.

Pretty easy to enforce it - rather than make raw queries to the LLM Claude Code can proxy through Anthropic's servers. The server can then enforce query patterns, system prompts and other stuff that outside apps cannot override.

Re: Anthropic officially bans using subscription auth for third party use

#68
post #22

Earlier quoted context omitted.

Opencode as well. Folks have been getting banned for abusing the OAuth login method to get around paying for API tokens or whatever. Anthropic seems to prefer people pay them.

its not that innocent. a 200 dollar a month customer isn't trying to get around paying for tokens, theyre trying to use the tooling they prefer. opencode is better in a lot of ways. tokens get counted and put against usage limits anyway, unless theyre trying to eat analytics that are CC exclusive they should allow paying customers to consume to the usage limits in however way they want to use the models.

> they should allow paying customers to consume to the usage limits in however way they want to use the models.

I think I agree, but it's their business to run however they like. They have competition if we don't like it.

Re: Anthropic officially bans using subscription auth for third party use

#69
post #60

how can they even enforce this? can't you just spoof all your network requests to appear like it's coming from claude code? in any case Codex is a better SOTA anyways and they let you do this. and if you aren't interested in the best models, Mistral lets you use both Vibe and their API through your vibe subscription api key which is incredible.

> how can they even enforce this? Many ways, and they’re under no obligation to play fair and tell you which way they’re using at any given time. They’ve said what the rules are, they’ve said they’ll ban you if they catch you. So let’s say they enforce it by adding an extra nonstandard challenge-response handshake at the beginning of the exchange, which generates a token which they’ll expect on all requests going for…

the internet has hundreds of thousands of super smart coders with the most powerful ai models as well, I think it's a bit harder than you're assuming.

you just need to inspect the network traffic with Claude code and mimic that

Re: Anthropic officially bans using subscription auth for third party use

#70

Earlier quoted context omitted.

Maybe I am missing something from the docs of your link, but I unfortunately don't think it actually states anything regarding allowing users to connect and use their Codex quota in third party apps.

From TFA: “OAuth authentication (used with Free, Pro, and Max plans) is intended exclusively for Claude Code and Claude.ai. Using OAuth tokens obtained through Claude Free, Pro, or Max accounts in any other product, tool, or service — including the Agent SDK — is not permitted and constitutes a violation of the Consumer Terms of Service.”

They're not asking if Claude forbids it. They're asking if OpenAI (Codex, specifically) allows it.
Post reply on HN