I signed up for the Max Plan mainly because of the generous usage of Claude code. However, I'm trying to use Claude in my continuous integration (CI) setup and within a new GitHub app or GitHub action. Am I misunderstanding something, or do I really need to create a separate API key and pay extra fees on top of the $100 per month for this? If that's the case, it feels quite limiting since one of the main advantages of Claude code is its flexibility to be used anywhere a CLI tool is applicable.
3 Answers
Yeah, I get your frustration! Just make sure you turn off Claude Opus; it auto-defaults to it, and honestly, I think it’s not the best choice. A lot of folks feel it's not as efficient and prefer Sonnet instead. But back to your original query, you'll need a separate setup for GitHub actions.
It sounds like you're running into a common issue. To use Claude in GitHub Actions, you definitely need to authenticate with an API key, which means you'll be charged separately beyond your Max plan. It's a bit of a letdown since you might expect that the benefits as advertised would carry over to cloud applications as well.
Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically