Claude Code on an Anthropic-compatible gateway: where the key goes, which setting wins, and when it compacts
Disclosure: I run UberLLM; the examples use its API, but the setup works the same with any compatible provider where noted. Claude Code talks to the Anthropic Messages API.