opcode icon indicating copy to clipboard operation
opcode copied to clipboard

Claude Subscription Support?

Open nekomaido opened this issue 1 year ago • 4 comments

As title , currently claudia cannot auth using the claude subscription plan method , does there any plan for supporting claude plan for claudia?

nekomaido avatar Aug 26 '25 04:08 nekomaido

it is supported, login with the cli then open the app

Yunesss avatar Aug 26 '25 05:08 Yunesss

Are you sure, mine is showing a cost on Execution Complete.

Cost: $0.0154 USD

In claude code the cost command says

With your Claude Pro subscription, no need to monitor cost — your subscription includes Claude Code usage

Although it would be nice to know how much the API costs might be, is the wording here able to say something similar + the cost that it would be if using API rather than subscription?

So that it is more clear that it uses subscription. Website is unclear in the FAQ on this.

LiamKarlMitchell avatar Aug 29 '25 12:08 LiamKarlMitchell

If you don't put in an API key, it is not possible for you to be billed per execution. That would just be showing you a cost estimate if you were using an API key.

Anthropic's OAuth does not expose any API keys.

hkay-dev avatar Sep 01 '25 03:09 hkay-dev

Hey there and thank you so much for working on this! 🙏

On my macOS Sequoia, I installed opcode by copying it in /Applications/ but it wouldn't run, saying Failed to load Claude installations. If I run with from terminal with /Applications/opcode.app/Contents/MacOS/opcode then it could find my system installation of Claude (go figure).

So I started using it this way, and noticed the costs being displayed but thought I was using my Claude subscription and this was just informational since I didn't have to put any API key anywhere.

A few prompts later I got an email saying that my credits for the API were exhausted and opcode stopped with Credit balance is too low.

However I do have the ANTHROPIC_API_KEY environment variable defined, could it be that it picked this up?

How then can I use my Claude subscription and still have my environment variable defined for other projects?

Thanks for reading this far, have a great day!

jerefrer avatar Sep 08 '25 11:09 jerefrer