Skip to content

Direct Claude API support #18

Description

@ctrlbrk42

I would love to see Direct API added so that ccflare could auto-switch when my Max 20x runs out, but I just have a handful more requests that I'm fine paying for via my API account.

Configuration could include:

  • When to switch to API
  • Maximum daily, weekly, monthly API cost limit

I use claude a great deal fully automated via the -p argument, this would enable seamless failover for me without requiring implementing credentials swapping across many projects using my Max OAuth.

Ideally it would intercept the "out of tokens" response, resubmit the request via the API, and the claude client would never know.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions