logoalt Hacker News

strictneinyesterday at 8:39 PM3 repliesview on HN

You can use OpenCode programmatically, thus turning that $200/mo Claude Code account into a very cheap Opus 4.6 API service.

I don't think there's anything really to it past that.


Replies

terhechteyesterday at 8:43 PM

you can also use Claude Code programmatically with the `prompt` parameter in the cli.

show 2 replies
SeanAndersonyesterday at 8:44 PM

> You can use OpenCode programmatically, thus turning that $200/mo Claude Code account into a very cheap Opus 4.6 API service.

Can you explain what you mean by this?

show 2 replies
segmondyyesterday at 9:24 PM

Can you show any service that is selling API because they have turned a $200/mo Claude code account into an API service? Give me a break.