Claude Code API Wrapper
Claude Code with API key?
How can I change the API Key used by Claude Code? I see no way in the config : ClaudeAI
Claude Code via $200 Max Subscription or API? : ClaudeAI
Videos
edit Thanks to all the early users. There are a couple of inherent limitations with the CLI/SDK that make using it with Roocode difficult. I think this will work best in chat like applications - if you want to code and have a Claude Code subscription then just use Claude Code 😅
/edit
In an effort to get EVEN more out of the Claude Max Plan - I present the Claude Code API Wrapper/Server.
The tool transforms your Claude Code instance into a API server that can be used (locally) in place of an OpenAI chat completion key. Literally just substitute in your localhost address and you are off to the races.
As ever, starts, issues and PRs are welcome!
https://github.com/RichardAtCT/claude-code-openai-wrapper
I'm a bit confused about how claude code work for payment. I've been logging in with my personal account and paying for credits but now I have an API key from my employer which I'd like to use. I also have a Claude Desktop subscription from my employer, but when I log in with that for Claude Code I'm still prompted to pay for my own credits and I don't see how to enter my API key.
I must be misunderstanding something - does anyone have any tips?