Claude Code Custom Model Configuration and Usage Tips
· ☕ 5 min read
References: Claude Code Configuration, Environment Variables, Connecting to an LLM Gateway
Claude Code talks to the Anthropic Messages API. When connecting to a custom gateway, use the env block of settings.json to override the endpoint and the model.
1. Where the Configuration File Lives The user configuration is at ~/.