Unverified50% confidenceFactExact time
Claude Code's settings.json file is usually located in the .claude folder under the user directory (on Windows it is C:\Users\<username>\.claude, on macOS/Linux it is ~/.claude), and is used to store parameters such as model providers, API endpoints, API Keys, and various environment variables.
1
Sources
50%
Confidence
Long-term
Relevance
11/9/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedClaude Code settings keys are typically written into JSON files such as .claude/settings.json (project level) or ~/.claude/settings.json (user level), and can also be overridden via environment variables or managed policies.79% similarUnverifiedClaude Code allows users to specify a custom API endpoint (Base URL) and key via environment variables or a configuration file (such as ~/.claude/settings.json).73% similarUnverifiedBy modifying .claude/settings.json in the user directory to configure the base URL, API Key, and model name, and adding a configuration item in claude.json to skip the official login authentication, Claude Code can be made to use third-party model endpoints.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1151451API
curl https://kongchang.com/api/v1/knowledge/claims/1151451MCP
get_claim(id=1151451)