Your provider keys
Your sk-… and sk-ant-… keys stay in your IDE, in your Authorization header, untouched. They ride the request to the upstream provider and are dropped from worker memory the moment the response is returned.
One install. Captures Claude Code, Cursor, Codex, the Claude CLI — without touching your auth.
$curl -fsSL https://tokenwisehq.com/connect.sh | bash>iwr -useb tokenwisehq.com/connect.ps1 | iexInspect the script first? connect.sh · connect.ps1
IDE coverage
Connect detects the AI tools installed on your machine and configures each one in turn. If one isn’t in the list, it stays untouched.
Max plan OAuth + API key
Pass-through. Your OAuth bearer rides the request to api.anthropic.com untouched; we observe the round-trip.
Max plan OAuth + API key
Same as Claude Code — ANTHROPIC_BASE_URL is repointed, your auth header is forwarded verbatim.
ChatGPT Plus + API key
Pass-through. We patch ~/.codex/config.toml to route through proxy.tokenwisehq.com; the rest of your config is left alone.
BYO models only
Cursor Pro's bundled models stay on Cursor's own auth — that traffic remains unobserved. We patch the OpenAI base URL setting for your BYO keys.
No public surface yet
No custom-endpoint setting exposed at the moment. We're tracking it and will ship support as soon as one lands.
Local-only
Ollama runs entirely on your machine — there's no cloud hop to observe. A local-loop observer is on the roadmap.
Boundary
Connect is a pure pass-through. It re-points the LLM endpoint your IDE talks to — nothing else.
Your sk-… and sk-ant-… keys stay in your IDE, in your Authorization header, untouched. They ride the request to the upstream provider and are dropped from worker memory the moment the response is returned.
Claude Max plan, ChatGPT Plus, Cursor Pro — the OAuth tokens and session credentials your IDE manages are out of scope. We don't see them, don't store them, don't proxy their refresh flow.
The route token is scoped to /r/{token}/{provider}/… and nothing else. We forward to api.openai.com, api.anthropic.com, and the other LLM hosts — never to your IDE's internal endpoints, telemetry, or update servers.
How it works
The one-liner kicks off a device-code flow: you open a short URL in your browser, sign into Tokenwise, and pick which workspace this device reports to. Takes about ten seconds.
The installer detects every supported IDE on your machine and writes the proxy URL into its config — shell-rc for Claude Code & the Claude CLI, config.toml for Codex, settings.json for Cursor. Each edit is shown to you and asks for [Y/n].
From the moment you reload your shell, your IDEs route through proxy.tokenwisehq.com. The proxy forwards your existing auth verbatim and streams metadata into your dashboard — cost, latency, tokens, prompts (or just metrics if you've turned payload storage off).
Uninstall
disconnect finds the markers Connect left in your shell rc, restores every .tokenwise.bak file, and revokes the device’s route token. Your IDE goes back to talking directly to its provider.
$curl -fsSL https://tokenwisehq.com/disconnect.sh | bash$iwr -useb tokenwisehq.com/disconnect.ps1 | iexFAQ
api.anthropic.comunchanged. We never see, store, or refresh your OAuth credentials — they belong to the IDE.proxy.tokenwisehq.com, but the route token auth-fails — so your IDE will see 401 invalid route until you either re-run connect.sh to pair again or run disconnect.sh to restore the original config.Ready to see every call your AI tools make?
Sign up, then run Connect on the machine you code on.