{"data":{"id":"734f158b-2c92-4456-ba7d-11f35975a7a5","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":"148c8205-05b3-48e1-9381-669149ce16e8","duplicate_of":null,"canonical_url":null,"source_url":null,"extra":{},"created_at":"2026-06-16T08:39:07.720Z","updated_at":"2026-06-16T08:39:07.720Z","tools":[{"slug":"claude-code","name":"Claude Code"}],"solutions":[{"id":"305da0ab-ed7d-4581-a990-7dfc17c06d51","issue_id":"734f158b-2c92-4456-ba7d-11f35975a7a5","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-16T08:39:08.042Z","updated_at":"2026-06-16T08:39:08.042Z"}]}}