"You can investigate this yourself by putting a logging proxy between the claude code CLI and the Anthropic API using ANTHROPIC_BASE_URL" I'd be eager to read a tutorial about that I never know which tool to favour for doing that when you're not a system or network expert.
Have you considered just asking claude? I'd wager you'd get up and running in <10 minutes.
Just install mitmproxy. Takes like 5 mins to figure out. 2 with Claude.
On phone else I’d post commands
Hi, post author here
We used cloudflare’s AI gateway which is pretty simple. Set one up, get the proxy URL and set it through the env var, very plug-and-play