Press F12 → Application tab → Cookies → https://claude.ai
Find the sessionKey cookie and copy its Value
3 — Switch modes
Click the status bar button (Claude: API / Claude: Pro) or run Claude: Switch Mode.
4 — Open the chat
Click the Claude icon in the Activity Bar, or run Claude: Open Chat.
Commands
Command
Description
Claude: Switch Mode
Toggle between API and Pro mode
Claude: Configure
Set / update API key or session token
Claude: Open Chat
Focus the sidebar chat panel
Claude: Clear Credentials
Delete all stored credentials
Settings
Setting
Default
Description
claudeSwitcher.defaultMode
api
Mode used on startup (api or pro)
claudeSwitcher.model
claude-sonnet-4-6
Model for API mode
claudeSwitcher.maxTokens
4096
Max response tokens (API mode only)
Notes on Pro Mode
The Claude.ai Pro mode uses Claude's unofficial internal web API via your browser session cookie. This is not a supported integration — it may break if Anthropic changes their web app. The session token expires when you log out of Claude.ai.