avante.nvim icon indicating copy to clipboard operation
avante.nvim copied to clipboard

feature: Support for Claude Pro/Max Subscriptions

Open nicksrandall opened this issue 5 months ago • 11 comments

Feature request

You can use an oauth flow to authenticate Claude Pro/Max subscriptions and then use that token to access the API. This would allow users to use their pro/max subscriptions with avante.

Motivation

This would allow users to use the subscriptions they already pay for with Avante.

Other

This has already been accomplished by OpenCode (Open source claude code alternative). See https://github.com/sst/opencode/blob/38879dee2ddfe5fa65fb4c274b8b167733d26a27/packages/opencode/src/cli/cmd/auth.ts#L94-L138

nicksrandall avatar Jul 28 '25 15:07 nicksrandall

This would be amazing tbh

geclos avatar Jul 30 '25 19:07 geclos

Yes, what would it take to do this?

Does this require an "auth flow"? Or could this be done with a config (non-interactively).

Here's more detail on how the auth works in opencode: https://github.com/sst/opencode/blob/38879dee2ddfe5fa65fb4c274b8b167733d26a27/packages/opencode/src/auth/anthropic.ts

samholmes avatar Aug 04 '25 18:08 samholmes

This is what's keeping me from ditching the copilot plugin and copilot.

Does this require an "auth flow"? Or could this be done with a config (non-interactively).

I don't think this can be done non-interactively, would require a login/auth/setup step (similar to :Copilot setup)

calebdw avatar Aug 06 '25 18:08 calebdw

check https://github.com/coder/claudecode.nvim - I'm not using Avante because it would make no sense to spend money on API calls when you can just use your pro max subscription. They've reversed engineered the protocol to have vim work with the IDE integration of claude code, I'm sure this could help to make this work on Avante

ludovicbarreca avatar Aug 12 '25 14:08 ludovicbarreca

Yup, same with https://github.com/NickvanDyke/opencode.nvim

geclos avatar Aug 15 '25 09:08 geclos

Maybe even just depend on those plugins and use their APIs, like avante does with copilot.

pjz avatar Aug 25 '25 03:08 pjz

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 26 '25 02:09 github-actions[bot]

Don't let this go stale. This is an amazing feature!

rafaelsmgomes avatar Sep 30 '25 14:09 rafaelsmgomes

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Nov 01 '25 02:11 github-actions[bot]

we still want this feature

danielpmo1371 avatar Nov 06 '25 05:11 danielpmo1371

Yes same. I like other ways like direct integrations into the editor but IMHO this doesn't really feel like integration. I can do the same using tmux. What is missing is actual Integration. Would love to see this working :)

notthefinalform avatar Nov 30 '25 13:11 notthefinalform