← Reddit

Editing settings.json to Opus 4.5 ok?

Reddit · Wonderful_Aside1335 · April 18, 2026
A user asked whether manually editing settings.json to switch to Opus 4.5 and disable adaptive reasoning complies with terms of service and how to prevent the VS Code Claude plugin or CLI from reverting these changes. The user reported that after switching to Sonnet once, Opus 4.5 disappeared from the model selection menu and can only be accessed through manual configuration of the model or availableModels fields, but using the UI to switch models causes the manual settings to be lost.

Detailed Analysis

A Reddit user in the r/ClaudeAI community raises a practical question about manually configuring Claude Code to use Claude Opus 4.5 by editing the `settings.json` file, specifically asking whether this practice complies with Anthropic's Terms of Service and how to prevent the VS Code Claude Code plugin or CLI from reverting the setting. The user clarifies in an edit that while direct edits to the `model` or `availableModels` fields in the JSON file do successfully activate Opus 4.5, interacting with the UI model-switcher subsequently overwrites or loses those manual configurations — a friction point that reveals a gap between what the settings file supports and what the graphical interface exposes.

According to available documentation and community research, manually setting the model in `settings.json` using a string such as `"model": "claude-opus-4-5-20251101"` or the alias `"model": "opus"` is a supported configuration method, not a terms-of-service violation. Claude Code's official documentation explicitly describes model configuration via `settings.json` as a valid approach. However, a known bug complicates matters: Claude Code has been reported to sometimes ignore the Opus setting on startup, defaulting instead to Sonnet upon launch regardless of what is written in the configuration file. This is a tracked issue in Anthropic's Claude Code GitHub repository, suggesting it is an acknowledged defect rather than intentional behavior.

The user's difficulty with the UI overwriting manual JSON edits reflects a broader architectural tension in developer tooling — namely, the challenge of keeping programmatic configuration files in sync with graphical interfaces that may not fully expose all available options. When a user selects a model through the UI, the interface may rewrite or normalize the settings file according to its own logic, which can clobber non-standard or manually injected values. Workarounds currently available include using the in-session `/model` command to switch models after launch, or avoiding the UI model selector entirely once manual configurations are in place.

The question of which models are accessible by default is also tied to subscription tier. Anthropic structures default model assignments by account type — Max and Team Premium subscribers default to newer Opus variants, while Pro and Team Standard accounts default to Sonnet. Additionally, Claude Code implements automatic fallback behavior: if a user exhausts their usage threshold for Opus, the system will automatically downgrade the active model to Sonnet for the remainder of the session or billing period. This means that even correctly configured Opus sessions may silently switch mid-use, a behavior that has significant implications for users running long agentic coding sessions where model consistency affects output quality and reasoning depth.

The broader trend illustrated by this community discussion is one of increasing user sophistication around model selection in AI-assisted development environments. As Anthropic expands its model lineup and introduces reasoning controls like adaptive thinking, developers are actively seeking granular configuration control that matches the flexibility of the underlying API. The friction between the settings file, the CLI, and the VS Code plugin reflects the early-stage nature of Claude Code as a product — a tool that has matured rapidly in capability but whose configuration surface area has not yet fully caught up with the demands of power users who want deterministic, persistent model and reasoning settings across sessions.

Read original article →