{"data":{"id":"80e75a42-f8b6-427e-b232-614b3573cfd7","slug":"claude-code-custom-model-not-loaded","title":"Claude Code custom model is not loaded from settings.json","summary":"Claude Code keeps using the default model even after setting a custom model in settings.json.","symptoms":["Custom model configured but the default model is still used","No error is shown, the configuration is silently ignored"],"error_signatures":["model still defaults","settings.json ignored"],"possible_causes":["settings.json is in the wrong location (project vs user scope)","Model name does not match the provider's expected identifier","An environment variable overrides the settings file"],"tags":["configuration","model","settings"],"environment":null,"affected_versions":[],"status":"published","content_confidence":0,"verification_status":"unverified","created_by_type":"system","language":"en","translation_group_id":"37f6445b-eba5-43dc-b81c-abf5d3b1d7e8","duplicate_of":null,"canonical_url":null,"source_url":null,"extra":{},"created_at":"2026-06-08T08:51:30.105Z","updated_at":"2026-06-08T08:51:30.105Z","tools":[{"slug":"claude-code","name":"Claude Code"}],"solutions":[{"id":"1c007e9d-f1fe-4e7c-956c-0a7ecdf6a799","issue_id":"80e75a42-f8b6-427e-b232-614b3573cfd7","title":"Verify config path, model id, and environment overrides","summary":"Confirm settings.json scope and exact model identifier, then check for env overrides.","steps":["Locate the active settings.json (user-level vs project-level) and confirm which one Claude Code reads.","Set the exact model identifier expected by your provider.","Unset any ANTHROPIC_MODEL or similar environment variable that may override the file.","Restart Claude Code so it reloads the configuration."],"commands":["echo $ANTHROPIC_MODEL","cat ~/.claude/settings.json"],"config_examples":["{\n  \"model\": \"claude-sonnet-4-5\"\n}"],"explanation":null,"risks":[],"risk_level":"low","verification_steps":["Run a prompt and confirm the response metadata shows the custom model."],"verified_count":0,"failed_count":0,"source_type":"agent","status":"pending_review","language":"en","source_url":null,"extra":{},"created_at":"2026-06-08T08:51:31.842Z","updated_at":"2026-06-08T08:51:31.842Z"}]}}