[BUG] Claude includes mistyped models in /model command as new custom model
Environment
- Platform (select one):
- [X] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.102 (Claude Code)
- Operating System: Windows 11
- Terminal: wsl
Bug Description
When user types /model and makes a typo (example: /model soonet), Claude Code creates a new custom model, and doens't know how to undo / exclude.
In Claude:
"> i typed "/model soonet" by mistake, and now Claude shows me this as 5th model when i type /model. It was included automatically by mistake, it shouldn't be there, it's not part of claude and doens't work.
● I understand the issue - you accidentally added "soonet" as a custom model and now it appears in your /model list, but it's not a valid model and doesn't work.
Unfortunately, I don't have access to Claude Code's internal configuration files or the ability to modify the custom model list through the available tools. This is a Claude Code configuration issue that needs to be handled at the application level.
You should:
- Report this issue at https://github.com/anthropics/claude-code/issues
- Include that you accidentally added "soonet" via /model soonet and now it appears in your model list but doesn't work
- Request guidance on how to remove invalid custom models from the configuration
This appears to be a Claude Code feature where it remembers custom model attempts, but there may not be a user-facing way to
remove them from the list."
Steps to Reproduce
- type /model anytypo {enter}
- type /model {enter}
- Now "Anytypo" shows in the model list (shouldn't, it was a typo)
- Ask Claude to rollback or remove this entry, Claude says it doesn't have access to this configuration.
Expected Behavior
When user makes a typo in /model, should receive an error message ("Model not found")
Actual Behavior
Claude created an inexistent, unavailable model, that always appears in the list of available models.
Additional Context
/model soonnet
⎿ Set model to soonnet
/status
⎿ (no content)
/model
⎿ Set model to sonnet (claude-sonnet-4-20250514)
remove soonet from custom model configuration
● I understand you want to remove "soonet" from your custom model configuration, but I don't have access to modify Claude Code's
model configuration settings. The model configuration is managed by Claude Code itself and isn't something I can directly edit
through the available tools.
You would need to:
- Check your Claude Code settings/configuration files
- Remove "soonet" from any custom model configurations you've set up
- Or use Claude Code's built-in commands to manage model configurations
The /model command you used appears to be a Claude Code command that I cannot directly interact with or modify.
i typed "/model soonet" by mistake, and now Claude shows me this as 5th model when i type /model. It was included automatically
by mistake, it shouldn't be there, it's not part of claude and doens't work.
● I understand the issue - you accidentally added "soonet" as a custom model and now it appears in your /model list, but it's not
a valid model and doesn't work.
Unfortunately, I don't have access to Claude Code's internal configuration files or the ability to modify the custom model list
through the available tools. This is a Claude Code configuration issue that needs to be handled at the application level.
You should:
- Report this issue at https://github.com/anthropics/claude-code/issues
- Include that you accidentally added "soonet" via /model soonet and now it appears in your model list but doesn't work
- Request guidance on how to remove invalid custom models from the configuration
This appears to be a Claude Code feature where it remembers custom model attempts, but there may not be a user-facing way to
remove them from the list.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗