Repository navigation
Description
I would like VS Code to support using Claude Agent (Preview) directly through an Anthropic / Claude subscription or Anthropic API credentials, instead of only consuming the user’s GitHub Copilot subscription.
This feature request comes from a real misunderstanding I had while using the feature. Since Claude Agent is described as using the official Anthropic agent harness / Claude Agent SDK, I initially assumed that the Claude usage would be tied to my existing Claude/Anthropic subscription, or at least that there would be a way to use it directly through Anthropic.
The confusion mainly came from the agent/model selector, where seeing Claude Agent listed made me assume that it could be used through my Claude/Anthropic subscription.
Because I misunderstood this billing model, I ended up spending around $300 extra in requests in a single week. This is not meant as a complaint, but as context for why making the billing/authentication model more explicit, or supporting direct Anthropic usage, would be valuable.
Ideally, Claude Agent could offer a provider/authentication option such as:
- Use via GitHub Copilot subscription
- Use via Anthropic / Claude subscription
- Use via Anthropic API key or Claude Code authentication
This would allow users to choose explicitly how Claude Agent usage is authenticated and billed.
If supporting direct Anthropic authentication inside the existing Claude Agent option is not desirable, I would also see it as a viable alternative to add a separate option to the current agent/model selector, clearly indicating that this version runs through the user’s Anthropic/Claude subscription instead of Copilot.
For example, the selector could include two clearly separated entries:
- Claude Agent — via Copilot subscription
- Claude Agent — via Anthropic subscription
This would make the billing model explicit and avoid confusion, while still preserving the current Copilot-based integration as the default or recommended option.
From a user perspective, this seems potentially feasible, since the existing Claude extension for VS Code already allows users to work with Claude through their own Claude/Anthropic access. I understand there may be product, technical, or legal considerations on the VS Code/Copilot side, but having a similar option in the integrated chat/agent selector would be much more convenient.
The main benefit would be that developers who already use Claude or Claude Code could use the full Claude Agent SDK experience inside VS Code without consuming Copilot quota or premium requests. It would also make the integration more flexible and clearer, especially for users who want to keep Copilot and Anthropic usage separate.
Even if direct Anthropic authentication is not planned, it would be very helpful to make the billing/usage model more explicit in the UI, so users do not mistakenly assume that Claude Agent usage is covered by their Claude subscription.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
DraftProducts commentedon May 23, 2026
+1 on this. I ran into exactly the same confusion.
What makes it especially misleading, in my opinion, is that in the "new session" creation UI, Claude is presented as separate from Copilot CLI. Seeing it listed as its own distinct entry naturally suggests it runs through your own Claude access, not through Copilot quota.
etomeiphone-spec commentedon May 24, 2026
+1 here
wagnerpaz commentedon May 29, 2026
Please!
Javierx1 commentedon Jun 1, 2026
+1 here
RauchenwaldC commentedon Jun 2, 2026
+1 blew through 7,000 AI credits in two prompts today due to that misunderstanding.
yCodeTech commentedon Jun 3, 2026
I would also love to see this too. I have a personal copilot pro subscription but my work has a anthropic/claude subscription. It would be beneficial to allow claude agent to run using anthropic subscription, so I'm not using my personal copilot subscription at work.
p0rsche commentedon Jun 25, 2026
+1 to this. would like to differentiate my claude sub from copilot in Agents window
7 remaining items
vs-code-engineering commentedon Jun 26, 2026
Sharing media and context from merged PR #323037 for verification:
What
Adds native (BYOK) access for the Claude agent host and the transport-branched model source it builds on (roadmap Phases 18 & 19).
When
claudeUseCopilotProxy: false, the Claude Agent SDK uses whatever Claude is configured with directly on the user's own credentials — no Copilot proxy in the request path. Proxy mode (the default) is unchanged.How to use
This is only through the Agent Host, so first apply these VS Code settings:
Then, we need to apply Agent Host Settings so right click on an agent host session in the Agents Window:

Choose "Open Host Settings" and then add
claudeUseCopilotProxy: falseto that.Highlights
query().supportedModels(). Single branch point (_refreshModels→ proxy/native).ANTHROPIC_API_KEY, or a subscription OAuth token inCLAUDE_CODE_OAUTH_TOKEN(fromclaude setup-token). Fixes SDK ≥0.3 env-replace semantics by spreadingprocess.envin native mode so the token +PATHactually reach theclaudesubprocess (previously wiped → "Not logged in").IClaudeAgentSdkServicestays 1:1 with the SDK. Adds aquery()passthrough; the model-enumeration orchestration moved to the caller, whichclose()s the throwaway query (leak guard, covered by a test).claudebuild runs, never the credentials); movedClaudeTransportintoclaudeProxyService.ts; dropped a trivial model-list helper; simplifiedbuildSubprocessEnv.Test plan
./scripts/test.sh --grep "claude|Claude"— all green (incl. native env-inheritance, native model enumeration, and the new close()/leak-guard test).npm run typecheck-client— clean.--agentswithclaudeUseCopilotProxy: false+CLAUDE_CODE_OAUTH_TOKEN; native turns authenticate and the model picker shows native models with no proxy started.Draft — opening for early review.
Source PR: #323037
redfalcon6 commentedon Jul 5, 2026
I don't have that context menu?
TylerLeonhardt commentedon Jul 6, 2026
You gotta apply those settings and then restart VS Code. Then, it'll show up in the context menu of one of the Claude sessions.
vuon9 commentedon Jul 24, 2026
I'm on v1.130.0 (Universal) and can't see those Context menu options when those settings are all enabled.
Da-Teach commentedon Aug 27, 2026
Another victim here, although not $300, only this month's credits... Well positive point, I could resume my (failed) chats with Claude fine, so it's not too bad I guess :)
stavthal commentedon Sep 9, 2026
Still, the agent is buggy as hell . You cannot even choose Claude Opus on a Max subscription through the Agents window.
gabriel-vanca commentedon Sep 23, 2026
+1. I ran into exactly the same confusion. Absolutely unacceptable to not make it clear to people what they are consuming/paying for.