Claude 4 Model Selection Failure: Incorrect Model Generation

Resolved 💬 3 comments Opened Jul 2, 2025 by rajivsinclair Closed Aug 20, 2025

This title captures the key technical issue - that despite settings specifying Claude 4 models, the system is defaulting to Claude 3 models instead of the requested Claude 4 generations.

Bug Description
my anthropic console logs indicate that claude code is never using the Claude 4 generation models! all of its work is with claude-3-7-sonnet-20250219 or claude-3-5-haiku-20241022 but I never see any use of claude 4 sonnet nor the claude 4 opus model that I have specifically requested in my Claude Code settings

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.31
  • Feedback ID: 772f0137-5f6e-4879-bb9d-bc35432b3a03

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at __node_internal_genericNodeError (node:internal/errors:865:15)\n    at checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at NZ (file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n    at file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n    at Q (file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at GX (file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n    at fS (file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n    at R9 (file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)\n    at MH1 (file:///Users/j/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:1959:4984)","timestamp":"2025-06-23T05:20:25.794Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗